WLS Refactoring Notes
bjfultn opened this issue · 0 comments
bjfultn commented
-
Jake's L1 class:
- Spectrum
- order
- peak
- order
- each orderlet is represented as separate Spectrum class
- would like to create orderlet class under Spectrum
- Spectrum
-
Proposals
- Method to put orders together into a 2D array in Spectrum object (done already?)
- Method of Spectrum that takes flux array, error array, and function reference and turns that into a WLS array
- Make orderlet an attribute of each order
- read and write methods for the WLS JSON files -- lets transition to HD5
- will need a script to convert existing FITS+JSON files to HD5, but lets worry about this once we have a semi-well-established class