- 
                Notifications
    You must be signed in to change notification settings 
- Fork 27
Open
Description
The function has two main weaknesses that might be relevant to address:
- 
It does not consider start, usinglambda.z.time.first,lambda.z.time.lastdirectly. That only makes the calculations valid ifstart = 0
- 
It is not interval specific. Unfortunately if we have more than one interval with a half-life calculation for the same concentration group, there is a possbility that the user unconsciously excluded part of the excretion phase for one of them, providing half-lifes calculated with different points. This needs to raise an error or warning somehow. 
Additionally, because this function may have many potential uses in the future would be nice to optimize its speed as much as we can
#TODO
-  get_halflife_points works for intervals with start != 0(test: interval with start != 0)
- get_halflife_points provides a warning/error when two half-lifes from the same group use different points (test: collapsing intervals for the same conc group)
Optional
- improve fun speed
- allow as input the PKNCAdata obj as well
Metadata
Metadata
Assignees
Labels
No labels