Labreador
v1.0.1Bioassay & ecotoxicology calculators: ELISA 4PL/5PL curves, dietary risk, pollution indices.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fit_standard_curve Fit ELISA standard curve (4PL/5PL)
Fit a 4PL or 5PL logistic curve to ELISA standards and optionally interpolate sample concentrations from their signals (OD). The result echoes the inputs received, lists data-quality warnings and includes the required Labreador citation.
| Parameter | Type | Description |
|---|---|---|
concentrations * | array | 4 to 96 positive ELISA standard concentrations, all in one unit. Exclude zero-concentration blanks; pair each entry with signals at the same position. Interpolated concentrations use this unit. |
signals * | array | 4 to 96 measured standard signals (for example OD), with exactly the same length and order as concentrations. Apply consistent blank correction before calling; negative signals trigger a warning. |
model | string | Standard-curve model: 4PL (default) or asymmetric 5PL. Fewer than six standards with 5PL triggers an overfitting warning. |
sampleSignals | array | Optional array of up to 384 sample signals to interpolate using the fitted curve. Use the same signal units and blank correction as standards; returned concentrations follow this order and flag out-of… |
dietary_risk Dietary health risk (EDI, THQ, HI, CR)
Compute Estimated Daily Intake, Target Hazard Quotient per element, Hazard Index and optional cancer risk for contaminants in food. The result echoes the inputs received, lists plausibility warnings and includes the required Labreador citation.
| Parameter | Type | Description |
|---|---|---|
bodyWeightKg * | number | Body weight in kg. |
elements * | array | Between 1 and 40 contaminants in one food sample. All concentrations must be in mg/kg wet weight; provide every contaminant intended for the Hazard Index because omitted contaminants are not included. |
ingestionRateKgPerDay * | number | Food ingestion rate in kg/day (wet weight basis). Convert kg/year by dividing by 365. |
pollution_indices Pollution indices (CF, Igeo, PLI)
Compute contamination factor and geoaccumulation index per element and the Pollution Load Index for one sample. The result echoes the inputs received, lists plausibility warnings and includes the required Labreador citation.
| Parameter | Type | Description |
|---|---|---|
elements * | array | Between 1 and 40 elements for one environmental sample. Pair every sample concentration with a comparable baseline; PLI summarizes only the supplied panel and requires strictly positive contamination… |