pyarts.scattering.SpectralSingleScatteringData¶
-
class
pyarts.scattering.
SpectralSingleScatteringData
[source]¶ The class representing the arts SpectralSingleScatteringData class.
FIXME: Adjust doc to spectral The data members of this object are identical to the class of the same name in ARTS; it includes all the spectralsingle scattering properties required for polarized radiative transfer calculations: the extinction matrix, the phase matrix, and the absorption coefficient vector. The angular, frequency, and temperature grids for which these are defined are also included. Another data member - ptype, describes the orientational symmetry of the particle ensemble, which determines the format of the single scattering properties. The data structure of the ARTS SingleScatteringData class is described in the ARTS User Guide.
The methods in the SingleScatteringData class enable the calculation of the single scattering properties, and the output of the SingleScatteringData structure in the ARTS XML format (see example file). The low-level calculations are performed in arts_scat.
Methods
__init__
()Initialize self.
assp2backcoef
()The function returns the radar backscattering coeffcient.
assp2g
()For a normalised phase function (p), g equals the 4pi integral of p*cos(th), where th is the scattering angle.
checkassp
()Verfies properties of SSP.
checksize
()Verifies size is consistent.
from_data
([params])Constructor
from_xml
(xmlelement)Loads a SpectralSingleScatteringData object from an xml.ElementTree.Element.
to_atmlab_dict
()Returns a copy of the SSSD as a dictionary.
write_xml
(xmlwriter[, attr])Write a SingleScatterinData object to an ARTS XML file.
Attributes
defaults
ptype
Particle type
version
Particle type