scopesim_templates.calibration.flat_field¶
- scopesim_templates.calibration.flat_field(temperature=5000, amplitude=<Magnitude 0. mag(AB)>, filter_curve='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: float
[Kelvin] Temperature of the lamp
- amplitude: u.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: Source