How minlong1/neo works
NEO is a scientific fitting framework: users provide spectra or measurement data and fit settings, a physics module prepares a domain-specific optimization problem, and an optimization algorithm produces fit results. The shared solver framework serves EXAFS, NanoIndentation, and Raman; EXAFS also documents a direct DE-step route, while XPS maintains its own optimization loop. The graph retains documented fitting capabilities and GUIs. Several application internals were not sampled, so uncertain implementation links are omitted; dashed links mark documented but not source-traced integration.
Main entry points: __init__.py Solver registry · base_solver.py Solver lifecycle · problem.py Cash-statistic fit · exafs_pop.py EXAFS generation fit
Components 25
Solver framework
- Solver registry
Solvers/__init__.py - Solver lifecycle
Solvers/core/base_solver.py - Population scoring
Solvers/core/population.py - Parameter space
Solvers/core/parameter_space.py - Optimization methods
Solvers - DE-BNN sampling
Solvers/demcmc/demcmc_solver.py - Posterior prediction
Solvers/demcmc/posterior.py
EXAFS fitting
- EXAFS input
PhysicsModules/EXAFS/exafs_neo/parser.py - EXAFS generation fit
PhysicsModules/EXAFS/exafs_neo/exafs_pop.py - EXAFS analysis
PhysicsModules/EXAFS/exafs_neo/analysis/EXAFS_Analysis.py - EXAFS GUI
PhysicsModules/EXAFS/exafs_neo/gui/XAFS_GUI.py
Other shared fits
- Nano input
PhysicsModules/NanoIndentation/nanoindentation_neo/parser.py - Oliver-Pharr fit
PhysicsModules/NanoIndentation/nanoindentation_neo/nano_indent.py - Nano GUI analysis
PhysicsModules/NanoIndentation/nanoindentation_neo/gui/NanoIndent_Analysis.py - Raman input
PhysicsModules/Raman/raman_neo/parser.py - Raman band fitting
PhysicsModules/Raman/raman_neo/problem.py - Raman analysis
PhysicsModules/Raman/raman_neo/analysis/raman_analysis.py
XPS fitting
- XPS configuration
PhysicsModules/XPS/xps_neo/ini_parser.py - XPS fit loop
PhysicsModules/XPS/xps_neo/xps.py - Peak and background models
PhysicsModules/XPS/xps_neo/xps_fit.py - XPS GUI
PhysicsModules/XPS/xps_neo/gui/xps_neo_gui.py
Astro fitting
- Astro input
PhysicsModules/AstroNeo/astro_neo/parser.py - X-ray spectral model
PhysicsModules/AstroNeo/astro_neo/model.py - Cash-statistic fit
PhysicsModules/AstroNeo/astro_neo/problem.py
Other components
- Research user
Connections 27
- Research user → EXAFS input: supplies settings
README.md - Research user → Nano input: supplies settings
README.md - Research user → Raman input: supplies settings
README.md - Research user → XPS configuration: supplies settings
README.md - Research user → Astro input: supplies settings
README.md - Solver registry → Solver lifecycle: creates solver
- Solver lifecycle → Population scoring: runs generations
Solvers/core/base_solver.py - Population scoring → Parameter space: samples parameters
- Optimization methods → Solver lifecycle: extends lifecycle
Solvers/de/de_solver.py - DE-BNN sampling → Solver lifecycle: extends lifecycle
Solvers/demcmc/demcmc_solver.py - DE-BNN sampling → Posterior prediction: collects samples
Solvers/demcmc/demcmc_solver.py - EXAFS input → EXAFS generation fit: configures fit
- EXAFS generation fit → Optimization methods: uses DE step
README.md - EXAFS analysis → EXAFS generation fit: analyzes fit
- EXAFS GUI → EXAFS analysis: opens analysis
- Nano input → Oliver-Pharr fit: configures fit
- Oliver-Pharr fit → Solver registry: uses shared solvers
- Nano GUI analysis → Oliver-Pharr fit: supports fitting
- Raman input → Raman band fitting: configures fit
- Raman band fitting → Solver registry: uses shared solvers
- Raman analysis → Raman band fitting: scores spectra
PhysicsModules/Raman/raman_neo/analysis/raman_analysis.py - XPS configuration → XPS fit loop: configures fit
- XPS fit loop → Peak and background models: fits peaks
- XPS GUI → XPS fit loop: launches workflow
- Astro input → Cash-statistic fit: configures fit
- Cash-statistic fit → X-ray spectral model: evaluates model
- Cash-statistic fit → Solver registry: uses shared solvers