Skip to content

Have QuantityModel support spectral-equivalent inputs #350

@eteq

Description

@eteq

Right now the QuantityModel (as output by the fitting machinery) only accepts inputs with the same units as the spectrum.spectral_axis that was used to create it. It would be nice if it also recognized spectral equivalencies - i.e., if you give a continuum model, say, a GHz quantity, it should know to convert it if the input to the model is angstrom, using the spectral equivalencies provided by astropy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort-highfittingIssues dealing with fitting of lines (or other spectral features)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions