What are your go-to resources (templates, notebooks, plugins) for multi-element QA/QC and cutoff grade sensitivity when rolling a maiden resource? I’m evaluating a Cu–Au skarn with about 2,300 1 m composites, using pyrolite+pandas, pXRF screening, and CRMs, and I’d love pointers to open dashboards or scripts that speed bias plots, outlier handling, and cutoff scenario curves.
I’ve had cleaner pXRF bias estimates by fitting a Deming (orthogonal) regression to lab vs pXRF using “CRMs” to set the variance ratio, then bias-correcting before the cutoff sensitivity; with 2,300 1 m comps it’s quick in scipy.odr: https://docs.scipy.org/doc/scipy/reference/odr.html… Small caveat: for low-grade Cu in skarns the slope can drift, so I bound the fit above the pXRF LOQ to keep the cutoff curves stable.
Quick win: run bias and outlier checks in clr space (pyrolite makes it easy: https://pyrolite.readthedocs.io/) and use a robust Mahalanobis/MCD pass to tag oddballs before you build cutoff curves — it makes the spider plots less twitchy. Building on @clarkson_j57’s calibration idea, a tiny Streamlit+Plotly panel can live‑update tonnage–grade–metal vs cutoff from your cleaned composites — want a minimal template?