Skip to content

Interpolate threshold crossings in pk.calc.aucabove() - #753

Open
SAUMYARSH wants to merge 1 commit into
humanpred:mainfrom
SAUMYARSH:fix-aucabove-crossings
Open

SAUMYARSH wants to merge 1 commit into
humanpred:mainfrom
SAUMYARSH:fix-aucabove-crossings

Conversation

@SAUMYARSH

Copy link
Copy Markdown

Fixes #696. pk.calc.aucabove() now interpolates threshold crossings on the original concentrations, and its crossing times agree with pk.calc.time_above(). It also no longer drops measured values below the threshold as BLQ, so a trough between two peaks is kept.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pk.calc.aucabove() (and so aucabove.predose.all and aucabove.trough.all) is biased at threshold crossings and with lin-up/log-down

1 participant