Skip to content

BUNIT exponent likely wrong in FluxCalibrate.py #199

@BMazzilliCiraulo

Description

@BMazzilliCiraulo

Hi,

The header of the flux-calibrated cubes (i.e. icubes.fits) says:
BUNIT = '1e+16 erg / (Angstrom cm2 s)'

In FluxCalibrate.py:

flam16_u = 1.e16 * u.erg / (u.angstrom * u.cm ** 2 * u.s)
self.action.args.ccddata.unit = flam16_u
self.action.args.ccddata.uncertainty.unit = flam16_u

I think it should be 1e-16 instead of 1e+16. This would make the numerical values physically reasonable.

A pull request can be prepared if desired.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions