pipeline.domain.fluxmeasurement.FluxMeasurement
- class FluxMeasurement(spw_id: int | str, I: int | float | FluxDensity, Q: int | float | FluxDensity = FluxDensity(0, FluxDensityUnits.JANSKY), U: int | float | FluxDensity = FluxDensity(0, FluxDensityUnits.JANSKY), V: int | float | FluxDensity = FluxDensity(0, FluxDensityUnits.JANSKY), spix: Decimal = Decimal('0.0'), uvmin: Decimal = Decimal('0.0'), uvmax: Decimal = Decimal('0.0'), origin: str | None = None, age: str | None = None, queried_at: str | None = None)[source]
Bases:
objectFluxMeasurement is a logical representation of a flux measurement.
- spw_id
ID of spectral window associated with flux measurement.
- I
Stokes I flux density as FluxDensity object.
- Q
Stokes Q flux density as FluxDensity object.
- U
Stokes U flux density as FluxDensity object.
- V
Stokes V flux density as FluxDensity object.
- spix
Spectral index of the flux measurement.
- uvmin
Scale (in klambda) of the measured (large scale) extent of the flux source (if greater than zero).
- uvmax
Scale (in klambda) where (small scale) structure has been measured within the flux source, or a limit on the resolved structure.
- origin
Origin of the flux measurement.
- age
Age of the flux measurement.
- queried_at
Date-timestamp when flux measurement was queried (e.g. from catalog service).
Methods
Attributes
Return list of Stokes I, Q, U, and V flux densities in Jansky.
- __init__(spw_id: int | str, I: int | float | FluxDensity, Q: int | float | FluxDensity = FluxDensity(0, FluxDensityUnits.JANSKY), U: int | float | FluxDensity = FluxDensity(0, FluxDensityUnits.JANSKY), V: int | float | FluxDensity = FluxDensity(0, FluxDensityUnits.JANSKY), spix: Decimal = Decimal('0.0'), uvmin: Decimal = Decimal('0.0'), uvmax: Decimal = Decimal('0.0'), origin: str | None = None, age: str | None = None, queried_at: str | None = None) None[source]
Initialize a FluxMeasurement object.
uvminanduvmaxare properties in the calibrator source catalog, see e.g. https://almascience.nrao.edu/alma-data/calibrator-catalogue.- Parameters:
spw_id -- ID of spectral window associated with flux measurement, as integer or string representation of integer.
I -- Stokes I flux density, either as int/float (assumed to be flux density in Jansky) or a FluxDensity object.
Q -- Stokes Q flux density, either as int/float (assumed to be flux density in Jansky) or a FluxDensity object; optional, defaults to 0 Jansky.
U -- Stokes U flux density, either as int/float (assumed to be flux density in Jansky) or a FluxDensity object; optional, defaults to 0 Jansky.
V -- Stokes V flux density, either as int/float (assumed to be flux density in Jansky) or a FluxDensity object; optional, defaults to 0 Jansky.
spix -- Spectral index of the flux measurement; optional, defaults to 0.
uvmin -- Scale (in klambda) of the measured (large scale) extent of the flux source (if greater than zero); optional, defaults to 0.
uvmax -- Scale (in klambda) where (small scale) structure has been measured within the flux source, or a limit on the resolved structure; optional, defaults to 0.
origin -- Origin of the flux measurement; optional, defaults to None.
age -- Age of the flux measurement; optional, defaults to None.
queried_at -- Date-timestamp when flux measurement was queried (e.g. from catalog service); optional, defaults to None.
- property casa_flux_density: list[float]
Return list of Stokes I, Q, U, and V flux densities in Jansky.