| |
- numpy.ndarray(builtins.object)
-
- riArray
class riArray(numpy.ndarray) |
|
A subclassed numpy array of radiance intensity with xLimits, z, ... attributes added.
Furthermore, some convenience functions are implemented:
* dx: return wavenumber grid point spacing
* grid: return a numpy array with the uniform wavenumber grid
* regrid: return a riArray with the ri data interpolated to a new grid (same xLimits!)
# truncate: return a riArray with the wavenumber range (xLimits) truncated
# convolve: return a riArray of radiance convolved with a spectral response function
# kelvin: return a numpy array of equivalent brightness temperatures
|
|
Methods defined here:
- __array_finalize__(self, obj)
- None.
- __eq__(self, other)
- Compare radiance/intensity including its attributes.
(For p and od relative differences < 0.1% are seen as 'equal')
- __str__(self)
- Return str(self).
- convolve(self, hwhm=1.0, srf='Box')
- Return a radiance / intensity convolved with a spectral response function of half width @ half maximum.
- dx(self)
- Return wavenumber grid point spacing.
- kelvin(self, grid=False)
- Return equivalent brightness temperature ndarray (optionally with wavenumber grid).
- grid(self)
- Setup a uniform, equidistant wavenumber grid of len(self).
- info(self)
- Return basic information (z, p, T, wavenumber and radiance range).
- regrid(self, new, method='l', yOnly=False)
- Interpolate absorption coefficients to (usually denser) uniform, equidistant wavenumber grid.
- truncate(self, xLimits)
- Return a radiance / intensity in a truncated (smaller) wavenumber interval.
| |