Implements rayleigh scattering / optical depth in the atmosphere computation:
References
[1] | Bodhaine, B. A., Wood, N. B., Dutton, E. G., & Slusser, J. R. (1999). On Rayleigh optical depth calculations. Journal of Atmospheric …, 16(11 PART 2), 1854–1861. doi:10.1175/1520-0426(1999)016%3C1854:ORODC%3E2.0.CO;2 |
[2] | Wikipedia. (n.d.). Rayleigh scattering. Retrieved September 23, 2014, from http://en.wikipedia.org/wiki/Rayleigh_scattering |
Standard air temperature T[K] in kelvin degrees (15∘C).
STANDARD_AIR_TEMPERATURE : numeric
Standard air CO2 concentration in parts per million (ppm).
STANDARD_CO2_CONCENTRATION : numeric
Standard air average pressure Hg at mean sea-level in pascal (Pa).
AVERAGE_PRESSURE_MEAN_SEA_LEVEL : numeric
Default latitude in degrees (equator).
DEFAULT_LATITUDE : numeric
Default altitude in meters (sea level).
DEFAULT_ALTITUDE : numeric
Returns the air refraction index ns from given wavelength λ in micrometers (μm) using Penndorf (1957) method.
Parameters: |
|
---|---|
Returns: | Air refraction index ns. |
Return type: | numeric or ndarray |
See also
air_refraction_index_Edlen1966(), air_refraction_index_Peck1972(), air_refraction_index_Bodhaine1999()
Examples
>>> air_refraction_index_Penndorf1957(0.555)
1.0002777...
Returns the air refraction index ns from given wavelength λ in micrometers (μm) using Edlen (1966) method.
Parameters: |
|
---|---|
Returns: | Air refraction index ns. |
Return type: | numeric or ndarray |
See also
air_refraction_index_Penndorf1957(), air_refraction_index_Peck1972(), air_refraction_index_Bodhaine1999()
Examples
>>> air_refraction_index_Edlen1966(0.555)
1.0002777...
Returns the air refraction index ns from given wavelength λ in micrometers (μm) using Peck and Reeder (1972) method.
Parameters: |
|
---|---|
Returns: | Air refraction index ns. |
Return type: | numeric or ndarray |
See also
air_refraction_index_Penndorf1957(), air_refraction_index_Edlen1966(), air_refraction_index_Bodhaine1999()
Examples
>>> air_refraction_index_Peck1972(0.555)
1.0002777...
Returns the air refraction index ns from given wavelength λ in micrometers (μm) using Bodhaine, Wood, Dutton and Slusser (1999) method.
Parameters: |
|
---|---|
Returns: | Air refraction index ns. |
Return type: | numeric or ndarray |
See also
air_refraction_index_Penndorf1957(), air_refraction_index_Edlen1966(), air_refraction_index_Peck1972()
Examples
>>> air_refraction_index_Bodhaine1999(0.555)
1.0002777...
Returns the depolarisation of nitrogen N2 as function of wavelength λ in micrometers (μm).
Parameters: | wavelength (numeric or array_like) – Wavelength λ in micrometers (μm). |
---|---|
Returns: | Nitrogen N2 depolarisation. |
Return type: | numeric or ndarray |
Examples
>>> N2_depolarisation(0.555)
1.0350291...
Returns the depolarisation of oxygen O2 as function of wavelength λ in micrometers (μm).
Parameters: | wavelength (numeric or array_like) – Wavelength λ in micrometers (μm). |
---|---|
Returns: | Oxygen O2 depolarisation. |
Return type: | numeric or ndarray |
Examples
>>> O2_depolarisation(0.555)
1.1020225...
Returns (6+3p)/(6−7p), the depolarisation term F(air) or King Factor using Penndorf (1957) method.
Parameters: |
|
---|---|
Returns: | Air depolarisation. |
Return type: | numeric or ndarray |
Notes
Examples
>>> F_air_Penndorf1957(0.555)
array(1.0608)
Returns (6+3p)/(6−7p), the depolarisation term F(air) or King Factor using Young (1981) method.
Parameters: |
|
---|---|
Returns: | Air depolarisation. |
Return type: | numeric or ndarray |
Notes
Examples
>>> F_air_Young1981(0.555)
array(1.048)
Returns (6+3p)/(6−7p), the depolarisation term F(air) or King Factor as function of wavelength λ in micrometers (μm) using Bates (1984) method.
Parameters: | wavelength (numeric or array_like) – Wavelength λ in micrometers (μm). |
---|---|
Returns: | Air depolarisation. |
Return type: | numeric or ndarray |
Examples
>>> F_air_Bates1984(0.555)
1.0481535...
Returns (6+3p)/(6−7p), the depolarisation term F(air) or King Factor as function of wavelength λ in micrometers (μm) and CO2 concentration in parts per million (ppm) using Bodhaine, Wood, Dutton and Slusser (1999) method.
Parameters: |
|
---|---|
Returns: | Air depolarisation. |
Return type: | numeric or ndarray |
Examples
>>> F_air_Bodhaine1999(0.555)
1.1246916...
Returns the molecular density Ns (molecules cm−3) as function of air temperature T[K] in kelvin degrees.
Parameters: |
|
---|---|
Returns: | Molecular density Ns (molecules cm−3). |
Return type: | numeric or ndarray |
Notes
Examples
>>> molecular_density(288.15)
2.5469021...e+19
>>> molecular_density(288.15, 6.0221367e23)
2.5468999...e+19
Returns the mean molecular weights ma for dry air as function of CO2 concentration in parts per million (ppm).
Parameters: | CO2_concentration (numeric or array_like, optional) – CO2 concentration in parts per million (ppm). |
---|---|
Returns: | Mean molecular weights ma for dry air. |
Return type: | numeric or ndarray |
Examples
>>> mean_molecular_weights()
28.9640166...
Returns the gravity g in cm/s2 (gal) representative of the mass-weighted column of air molecules above the site of given latitude and altitude using List (1968) method.
Parameters: |
|
---|---|
Returns: | Gravity g in cm/s2 (gal). |
Return type: | numeric or ndarray |
Examples
>>> gravity_List1968()
978.0356070...
>>> gravity_List1968(0, 1500)
977.5726106...
Gravity g for Paris:
>>> gravity_List1968(48.8567, 35)
980.9524178...
Returns the scattering cross section per molecule σ of dry air as function of wavelength λ in centimeters (cm) using given CO2 concentration in parts per million (ppm) and temperature T[K] in kelvin degrees following Van de Hulst (1957) method.
Parameters: |
|
---|---|
Returns: | Scattering cross section per molecule σ of dry air. |
Return type: | numeric or ndarray |
Warning
Unlike most objects of colour.phenomenons.rayleigh module, colour.phenomenons.rayleigh.scattering_cross_section() expects wavelength λ to be expressed in centimeters (cm).
Examples
>>> scattering_cross_section(555 * 10e-8)
4.6613309...e-27
Returns the rayleigh optical depth Tr(λ) as function of wavelength λ in centimeters (cm).
Parameters: |
|
---|---|
Returns: | Rayleigh optical depth Tr(λ). |
Return type: | numeric or ndarray |
Warning
Unlike most objects of colour.phenomenons.rayleigh module, colour.phenomenons.rayleigh.rayleigh_optical_depth() expects wavelength λ to be expressed in centimeters (cm).
Examples
>>> rayleigh_optical_depth(555 * 10e-8)
0.1004070...
Returns the rayleigh optical depth Tr(λ) as function of wavelength λ in centimeters (cm).
Parameters: |
|
---|---|
Returns: | Rayleigh optical depth Tr(λ). |
Return type: | numeric or ndarray |
Warning
Unlike most objects of colour.phenomenons.rayleigh module, colour.phenomenons.rayleigh.rayleigh_optical_depth() expects wavelength λ to be expressed in centimeters (cm).
Examples
>>> rayleigh_optical_depth(555 * 10e-8)
0.1004070...