Skip to content

Using Spectra.jl instead of wavelengths + flux #32

@lucasvalenzuela

Description

@lucasvalenzuela

I noticed there is a (currently unmaintained?) Spectra.jl package that provides a Spectrum type. When we apply a photometric filter to a spectrum, we currently always have to pass in the wavelengths and fluxes as two separate arrays, where I think it would be more elegant and it could come with additional benefits to use Spectrum instead. Also, the Vega type could simply contain a Spectrum, too.

I am not sure if there is any disadvantage of using Spectra.jl with it being unmaintained, though it does not seem like the general API of Spectrum would change much in the future.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions