{
  "abstract": "Nonlinear least-squares fitting of parametric line shapes is routine in the analysis of spectra, and the analyst often knows relationships between the parameters before the fit starts, such as a shared width or a fixed intensity ratio. SpectraFit-Core is an open-source curve-fitting library in which this knowledge is part of the model. A model is a graph of named components, and each relationship is an expression edge on that graph, within one spectrum or across several spectra fitted jointly in one call. On a measured Fe L2,3 energy-loss spectrum, four such relationships leave the fitted values unchanged and make the edge-step amplitude 28 times more precise. Because the model is a description rather than code, the same graph can be fitted by other implementations and their parameters compared name by name. The parameters and standard errors of the library are checked against certified values: on 22 of the 27 nonlinear-regression problems of the NIST Statistical Reference Datasets, the least accurately recovered parameter agrees to more than six significant figures, and the standard errors agree nearly as well except on Lanczos1. Kernels, analytic Jacobians, and solver iteration run in compiled Rust behind a typed Python interface, which also makes the library faster than lmfit, SciPy, and JAX on its benchmark. A companion repository regenerates the results from the published release. SpectraFit-Core is released under the MIT license, distributed on PyPI and archived on Zenodo.",
  "abstract_shown": true,
  "affiliations": [
    "Max Planck Institute for Chemical Energy Conversion, Stiftstraße 34–36, Mülheim an der Ruhr, Germany, 45470"
  ],
  "article_type": null,
  "arxiv": null,
  "author_total": 1,
  "authors": [
    {
      "affs": [
        0
      ],
      "name": "Anselm W. Hahn",
      "orcid": "0000-0003-4543-4833"
    }
  ],
  "bibtex": "https://research.draconitic.com/paper/enmh8tpgtc6de.bib",
  "cited_by": 0,
  "doi": "10.26434/chemrxiv.15010416/v1",
  "fulltext_url": null,
  "id": "enmh8tpgtc6de",
  "issns": [],
  "landing_url": "https://chemrxiv.org/doi/full/10.26434/chemrxiv.15010416/v1",
  "language": null,
  "licence": "CC-BY",
  "licence_label": "CC BY",
  "licence_source": "journal",
  "licence_url": "https://creativecommons.org/licenses/by/4.0/",
  "metadata_licence": null,
  "native_subjects": [
    [
      "openalex",
      "1702|Computational Physics and Python Applications"
    ]
  ],
  "openalex": "W7221816016",
  "pdf_url": "https://chemrxiv.org/doi/pdf/10.26434/chemrxiv.15010416/v1",
  "pmcid": null,
  "pmid": null,
  "published": "2026-10-13",
  "publisher": "American Chemical Society (ACS)",
  "ris": "https://research.draconitic.com/paper/enmh8tpgtc6de.ris",
  "sources": [
    {
      "first_seen": "2026-10-30T12:17:24Z",
      "native_id": "10.26434/chemrxiv.15010416",
      "source": "chemrxiv",
      "url": "https://chemrxiv.org/doi/full/10.26434/chemrxiv.15010416/v2"
    }
  ],
  "subjects": [
    {
      "field": "chemistry",
      "origin": "source:chemrxiv",
      "subfield": "general"
    }
  ],
  "title": "SpectraFit-Core: a Rust-cored nonlinear curve-fitting library validated against the NIST Statistical Reference Datasets",
  "title_text": "SpectraFit-Core: a Rust-cored nonlinear curve-fitting library validated against the NIST Statistical Reference Datasets",
  "type": "preprint",
  "updated_at": "2026-10-30T12:17:24Z",
  "url": "https://research.draconitic.com/paper/enmh8tpgtc6de",
  "venue": "ChemRxiv",
  "versions": []
}