Skip to content

Use astropy.units to do flux--magnitude conversions in euclid CMD #94

@bsipocz

Description

@bsipocz

I was trying to swap out the manual conversions in favour of relying on astropy, but unfortunately I run into multiple issues with the magnitude errors as well as the plotting.

Spending some time with debugging I sense that it's a mixture of missing features (e.g. handling masked data with nothing masked, to potential ufunc issues around magnitude units and errorbar plotting).

Workaround I tried: converting the TAP results to QTable instead of Table (see astropy/astropy#17996 for details); using .unmasked for the arrays for plotting, trying to manually override the units, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    content: euclidContent related issues/PRs for notebooks with Euclid relevanceupstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions