hypergas.unit_spectrum module
Calculate unit spectrum for matched filter.
- class hypergas.unit_spectrum.Unit_spec(radiance, wvl_sensor, wvl_min, wvl_max, species='ch4', rad_source='model')[source]
Bases:
objectCalculate the unit spectrum.
Initialize unit_spec class.
- Parameters:
radiance (
DataArray) – 3D radiance dataarray (bands, y, x).wvl_sensor (
DataArray) – 1D [‘bands’] or 2D[‘bands’,’x’]. The central wavelengths (nm) of sensor.wvl_min (float) – The lower limit of wavelength (nm) for matched filter.
wvl_max (float) – The upper limit of wavelength (nm) for matched filter.
species (str) – The species to be retrieved: ‘ch4’ or ‘co2’. Default: ‘ch4’.
rad_source (str) – The data (‘model’ or ‘lut’) used for calculating rads or transmissions. Default: ‘model’.
References
rad_source (model): Gloudemans et al. (2008).
rad_source (lut): only supporting ch4 and co2; Foote et al. (2021).
- convolve_rads()[source]
Calculate the convolved sensor-reaching rads or transmissions.
- Returns:
convolved rads (
DataArray) – 2D (conc*wvl) or 3D (bands*conc*wvl) radiances or transmissions forconcdefined in theconfig.yamlfile.