MW_F99

class grizli.utils.MW_F99(a_v, r_v=3.1)[source]

Bases: object

Wrapper around the specutils.extinction / extinction modules, which are called differently

Initialize the ExtinctionCorrection object.

Parameters
a_vfloat

The V-band extinction value.

r_vfloat, optional

The ratio of total to selective extinction (default is 3.1).

Attributes
a_vfloat

The V-band extinction value.

r_vfloat

The ratio of total to selective extinction.

IS_SPECUTILSbool

Flag indicating if the specutils.extinction module is available.

IS_EXTINCTIONbool

Flag indicating if the extinction.Fitzpatrick99 module is available.

F99ExtinctionF99

or Fitzpatrick99 The extinction model object.

statusbool

Flag indicating if either the specutils.extinction or extinction. Fitzpatrick99 module is available.

Methods Summary

__call__(wave_input)

Apply the extinction correction to the input wavelength array.

Methods Documentation

__call__(wave_input)[source]

Apply the extinction correction to the input wavelength array.

Parameters
wave_inputarray-like

Input wavelength array.

Returns
array-like

Extinction correction.