Sasktran HR¶
-
class
radtran.sasktran.
SasktranHR
(atmosphere, options=None)¶ Methods
add_line_of_sight
calculate_polarized_radiance
calculate_radiance
set_num_orders_of_scatter
set_wavelengths
-
calculate_polarized_radiance
(polarizationtype=None)¶ Parameters: polarizationtype : scalar
- 0 - No polarization
- 1 - Exact to scatter order 1
- 2 - Exact to scatter order 2
- 3 - Exact to scatter order 3
- 4 - Exact to scatter order 3, assumes higher orders are strongly polarized
- 5 - Exact to scatter order 4, assumes higher orders are strongly polarized
- 6 - Exact to scatter order 4, assumed higher orders are weakly polarized
Returns: radiance : numpy array shape (num_los, num_wavel)
wf : numpy array shape(wavelength, line_of_sight, perturbation)
stokes_vector : numpy array shape (num_line_of_sight, num_wavelength) of type StokesVector
-
calculate_radiance
()¶ Runs the engine and returns back the radiance and weighting functions Weighting functions are only calculated if calcwf is set to something other than 0
Returns: tuple
(radiance, weighting_function) radiance is of shape (line of sight, wavelength) and weighting_function is of shape (wavelength, line of sight, perturbation) the number and nature of the perturbations is given by the options used to set up the engine
-