The current design produces duplicated copies of _spectrum1D objects in onddspec.wavecal and onedspec.fluxcal. We should design a structure to allow shared _spectrum1D objects so that both wavecal and fluxcal are accessing and modifying the same memory to avoid duplication error.
The current design produces duplicated copies of _spectrum1D objects in onddspec.wavecal and onedspec.fluxcal. We should design a structure to allow shared _spectrum1D objects so that both wavecal and fluxcal are accessing and modifying the same memory to avoid duplication error.