← Về thư mục
skills/pkpd-modeling/scripts/exposure_response.py
- fit_emax · function · L52-L107 — def fit_emax(exposure: np.ndarray, response: np.ndarray, sigmoid: bool) -> dict
- unpack · function · L58-L63 — def unpack(theta: np.ndarray) -> tuple[float, float, float, float]
- predict · function · L65-L68 — def predict(theta: np.ndarray, x: np.ndarray) -> np.ndarray
- fit_logistic · function · L110-L141 — def fit_logistic(exposure: np.ndarray, response: np.ndarray) -> dict
- neg_loglik · function · L116-L119 — def neg_loglik(theta: np.ndarray) -> float
- fit_cqtc · function · L144-L190 — def fit_cqtc(conc: np.ndarray, delta_qtc: np.ndarray, cmax: float | None) -> dict
- quartile_summary · function · L193-L213 — def quartile_summary(exposure: np.ndarray, response: np.ndarray, n_bins: int) -> list[dict]
- build_parser · function · L219-L236 — def build_parser() -> argparse.ArgumentParser
- run · function · L239-L324 — def run(argv: Sequence[str] | None = None) -> int