scopesim_templates.calibration.calibration.flat_field

Contents

scopesim_templates.calibration.calibration.flat_field#

scopesim_templates.calibration.calibration.flat_field(temperature: ~astropy.units.quantity.Annotated[~astropy.units.quantity.Quantity, Unit("K")] = <Quantity 5000. K>, amplitude: ~astropy.units.quantity.Annotated[~astropy.units.quantity.Quantity, Unit("mag(AB)")] = <Magnitude 0. mag(AB)>, filter_curve: str | ~spextra.spextra.Passband = 'V', extend=60) Source#

Create a flat-field source to be used in ScopeSim.

The spectral shape is given by a Black Body Spectrum with a temperature set by the user, so it can also be used in spectroscopy with enough realism.

Flats-fields usually also contain an illumination pattern. They might be implemented in ScopeSim.effects. TODO: Investigate if that belongs eventually here.

Default values are just a wild guess. We need to find more realistic ones.

Parameters:
  • temperature (astropy.Quantity) – [Kelvin] Temperature of the lamp

  • amplitude (astropy.Quantity) – [u.Quantity] amplitude of the lamp in u.ABmag, u.mag (vega) or u. STmag

  • filter_curve (str) – any filter curve available for spextra, used for scaling

Returns:

src

Return type:

Source