SpectroscoPyx
SpectroscoPyx copied to clipboard
2D spectra analysis tools
It would be useful to have some generalized tools for working with 2D spectra (streaked or spatially resolved). The most pertinent tool is a consistent way of integrating sections of a 2D image to produce lineouts and to save the metadata on how that lineout was taken (i.e. which pixels were integrated over, and whether the integration is a simple sum or an average).
Once a 1D lineout is generated, we might be able to integrate it into the Spectrum 1D Object proposed for astropy. One way to do this is to create a 1D lineout object which inherits from the Spectrum 1D object, but also includes data about how the lineout was acquired from the 2D image.