scopeinpython.spectral

SCOPE spectral-region/wavelength-grid definitions. Direct port of SCOPEinR/R/define_bands.R (get.spectra.SCOPE).

Quick example

from scopeinpython import get_spectra_scope

spectral = get_spectra_scope()
print(spectral.wlO.shape)   # optical wavelength grid, 400-2400nm
print(spectral.wlT.shape)   # thermal wavelength grid, 2500-50000nm
Input                              get_spectra_scope()       Output
---------------------------        ----------------------    ---------------------------
(no arguments -- fixed SCOPE                                  spectral : SpectralConfig
 wavelength-grid definitions)      -------------------->       wlS, wlO, wlT, wlP, wlPAR,
                                                                wlE, wlF, IwlP, IwlT -- fed
                                                                into run_rtmo()/get_scope()

SCOPE spectral region definitions.

Direct port of SCOPEinR::get.spectra.SCOPE (SCOPEinR/R/define_bands.R).

class scopeinpython.spectral.SpectralConfig(reg1: 'np.ndarray', reg2: 'np.ndarray', reg3: 'np.ndarray', wlS: 'np.ndarray', wlP: 'np.ndarray', wlO: 'np.ndarray', wlT: 'np.ndarray', wlPAR: 'np.ndarray', IwlP: 'np.ndarray', IwlT: 'np.ndarray', wlIrrad: 'np.ndarray', wlE: 'np.ndarray' = <factory>, wlF: 'np.ndarray' = <factory>)[source]

Bases: object

Parameters:
reg1: ndarray
reg2: ndarray
reg3: ndarray
wlS: ndarray
wlP: ndarray
wlO: ndarray
wlT: ndarray
wlPAR: ndarray
IwlP: ndarray
IwlT: ndarray
wlIrrad: ndarray
wlE: ndarray
wlF: ndarray
scopeinpython.spectral.get_spectra_scope()[source]

Return the SCOPE spectral region definitions (wavelength grids and band indices) used throughout the RTMo pipeline.

Direct port of SCOPEinR::get.spectra.SCOPE(getSpectral = TRUE).

Return type:

SpectralConfig