You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
High-level concept
Currently sbpy.spectroscopy.SpectralSource has the spectrum in a synphot.spectrum.SourceSpectrum instance as a class attribute. By subclassing synphot.spectrum.SourceSpectrum, sbpy SpectralSource would allow for various operations defined for synphot.spectrum.SourceSpectrum, such as addition, subtraction, and multiplications of two spectra, etc. This would simplify some operations such as spectral reddening.
Explain the relevance to sbpy
An enhancement to sbpy class SpectralSourcer.
Proposal details SpectralSource class subclasses synphot SourceSpectrum, and various adjustments to the implementation of class methods.
Example (pseudo-)code
The text was updated successfully, but these errors were encountered:
This is a request for
The requested changes will be implemented by
High-level concept
Currently
sbpy.spectroscopy.SpectralSource
has the spectrum in asynphot.spectrum.SourceSpectrum
instance as a class attribute. By subclassingsynphot.spectrum.SourceSpectrum
, sbpySpectralSource
would allow for various operations defined forsynphot.spectrum.SourceSpectrum
, such as addition, subtraction, and multiplications of two spectra, etc. This would simplify some operations such as spectral reddening.Explain the relevance to sbpy
An enhancement to sbpy class
SpectralSourcer
.Proposal details
SpectralSource
class subclasses synphotSourceSpectrum
, and various adjustments to the implementation of class methods.Example (pseudo-)code
The text was updated successfully, but these errors were encountered: