You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The legacy Examples/ directory (~43 files) was removed in the v2 migration. Notebooks in docs/examples/ still fetch data from https://raw.githubusercontent.com/Anselmoo/spectrafit/main/Examples/data.csv (a URL that no longer resolves). Several docs pages still reference the deleted tree. spectrafit/generators/synthetic.py (SyntheticSpectrum + PeakDefinition) is the v2-safe foundation for reproducible examples.
Tasks
TASK-009 — Create a curated root-level examples/ directory with v2-safe assets: README.md, JSON/TOML/YAML input files, small reference data, expected outputs; keep it clearly distinct from the deleted legacy Examples/ tree
TASK-010 — Replace stale Examples/data.txt and Examples/data.csv references in README.md, docs/interface/usage.md, docs/interface/features.md, and docs/examples/example9_1.ipynb, example9_2.ipynb, example9_3.ipynb, example9_6.ipynb with supported v2 assets or generator-based examples
TASK-011 — Remove or rewrite unsupported docs/example surfaces in docs/examples/index.md and mkdocs.yml tied to removed Mössbauer models (example10_1.ipynb), removed RIXS plugins (example9_4.ipynb), or removed autopeak configuration (example7.md)
TASK-012 — Promote spectrafit/generators/synthetic.py and existing tests/conftest.py fixtures into the maintained example story
Acceptance Criteria
Users can find at least one supported local-fit example and one supported multi-component/global-fit example from the repository root
README.md and docs no longer point at deleted Examples/ assets
Example navigation advertises only supported v2 workflows
Goal
Ship a supported, discoverable v2 example/input story for CLI, API, and notebook users.
Depends On
Background
The legacy
Examples/directory (~43 files) was removed in the v2 migration. Notebooks indocs/examples/still fetch data fromhttps://raw.githubusercontent.com/Anselmoo/spectrafit/main/Examples/data.csv(a URL that no longer resolves). Several docs pages still reference the deleted tree.spectrafit/generators/synthetic.py(SyntheticSpectrum+PeakDefinition) is the v2-safe foundation for reproducible examples.Tasks
examples/directory with v2-safe assets:README.md, JSON/TOML/YAML input files, small reference data, expected outputs; keep it clearly distinct from the deleted legacyExamples/treeExamples/data.txtandExamples/data.csvreferences inREADME.md,docs/interface/usage.md,docs/interface/features.md, anddocs/examples/example9_1.ipynb,example9_2.ipynb,example9_3.ipynb,example9_6.ipynbwith supported v2 assets or generator-based examplesdocs/examples/index.mdandmkdocs.ymltied to removed Mössbauer models (example10_1.ipynb), removed RIXS plugins (example9_4.ipynb), or removed autopeak configuration (example7.md)spectrafit/generators/synthetic.pyand existingtests/conftest.pyfixtures into the maintained example storyAcceptance Criteria
README.mdand docs no longer point at deletedExamples/assetsExample Directory Structure (proposed)
Constraints
SyntheticSpectrum/PeakDefinitionfromspectrafit/generators/synthetic.pyfor reproducible data generation