scopesim.source.source_fields.BackgroundSourceField#

class scopesim.source.source_fields.BackgroundSourceField(field: ~typing.Any, spectra: dict, header: ~astropy.io.fits.header.Header, *, meta: dict = <factory>)#

Bases: SpectrumSourceField

Source field with spectrum only, for TER curve emissions.

Added in version 0.10.0.

__init__(field: ~typing.Any, spectra: dict, header: ~astropy.io.fits.header.Header, *, meta: dict = <factory>) None#

Methods

__init__(field, spectra, header, *[, meta])

get_corners([unit])

Return imaginary corner from + to - infinity.

Attributes

name

Name of the object (if set).

spectrum

Return single spectrum and ref if only one spectrum in spectra.

header

spectra

field

meta

get_corners(unit: Unit | str = 'arcsec') ndarray#

Return imaginary corner from + to - infinity.

property name: str#

Name of the object (if set).

property spectrum: SourceSpectrum#

Return single spectrum and ref if only one spectrum in spectra.