cylammarco / ASPIRED

Automated SpectroPhotometric Image REDuction (ASPIRED)
https://aspired.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
30 stars 4 forks source link

OneDSpec save fits/csv does not accept 'wavelength' as an output option. #39

Closed P-R-McWhirter closed 3 years ago

P-R-McWhirter commented 3 years ago

When calling the save_fits or save_csv routines of a OneDSpec object, requesting a wavelength output is not fulfilled. Additionally, this blocks the return of any other output option (flux, count, trace, etc.).

cylammarco commented 3 years ago

@P-R-McWhirter Did you get the warning: wavelength ImageHDU cannot be created. ? What is the error message, or does it just go through returning None?

cylammarco commented 3 years ago

Managed to replicate the results, will be fixed in the dev branch in the next commit. The main branch is planned to be patched in the second week of December.