- Consolidate surrogates module to processors/surrogates/ - Move ensemble_surrogate.py to proper location - Add deprecation shim for old import path - Create tests/ directory with pytest structure - Move test files from archive/test_scripts/ - Add conftest.py with shared fixtures 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Atomizer Archive
This directory contains deprecated/replaced code that is kept for reference and potential rollback.
Structure
archive/
├── extractors/ # Deprecated physics extractors
│ └── zernike_legacy/ # Pre-OPD Zernike extractors
└── README.md
Archive Policy
When replacing functionality:
- Move the old file to the appropriate archive subdirectory
- Add a header comment noting the archive date and replacement
- Update this README with the change
Archived Items
extractors/zernike_legacy/ (2024-12-28)
Replaced by: extract_zernike_opd.py (ZernikeOPDExtractor)
Reason: The OPD method provides more accurate wavefront error calculations by:
- Using optical path difference (OPD) directly instead of surface displacement
- Proper handling of relative subcase comparisons
- Better numerical stability for high-order Zernike modes
Archived files:
| File | Original Class | Description |
|---|---|---|
extract_zernike.py |
ZernikeExtractor |
Original displacement-based Zernike |
extract_zernike_surface.py |
ZernikeSurfaceExtractor |
Surface-normal projection variant |
extract_zernike_figure.py |
ZernikeFigureExtractor |
Figure error variant |
To restore: Copy files back to optimization_engine/extractors/ and update __init__.py