sigma0 package

Submodules

sigma0.oh_model module

sigma0.oh_model.gammah(eps, theta)[source]

Incoherent reflectivity for H-pol.

Parameters:
  • eps (complex number) – Complex dielectric constant.
  • theta (float) – Angle in degrees.
Returns:

gammah – Incoherent reflectivity for H-pol.

Return type:

float

sigma0.oh_model.gammav(eps, theta)[source]

Incoherent reflectivity for V-pol.

Parameters:
  • eps (complex number) – Complex dielectric constant.
  • theta (float) – Angle in degrees.
Returns:

gammav – Incoherent reflectivity for V-pol.

Return type:

float

sigma0.oh_model.sigma0_bare(theta, eps_low, f_rms, f, eps_top=1)[source]

Oh et.al. (1992) surface backscatter calculations

This functions calculations surface backscatter using the Oh et al. (1992) surface model.

References Oh et al., 1992, An empirical model and an inversion technique for rader scattering from bare soil surfaces. IEEE Trans. Geos. Rem., 30, pp. 370-380

Parameters:
  • theta (float) – incidence angle in degrees
  • eps_low (complex number) – complex permittivity of lower medium
  • f (float) – frequency in hertz
  • f_rms (float) – fractional rms height. rms_height in meters divided by wavelength
  • eps_top (complex number, optional) – complex permittivity of upper(incoming) medium
Returns:

sigma0 – Surface backscatter.

Return type:

float

sigma0.skeleton module

This is a skeleton file that can serve as a starting point for a Python console script. To run this script uncomment the following line in the entry_points section in setup.py:

[console_scripts] fibonacci = sigma0.skeleton:run

Then run python setup.py install which will install the command fibonacci inside your current environment. Besides console scripts, the header (i.e. until _logger...) of this file can also be used as template for Python modules.

Note: This skeleton file can be safely removed if not needed!

sigma0.skeleton.fib(n)[source]

Fibonacci example function

Parameters:n (int) – integer
Returns:n-th Fibonacci number
Return type:int
sigma0.skeleton.main(args)[source]

Main entry point allowing external calls

Parameters:args ([str]) – command line parameter list
sigma0.skeleton.parse_args(args)[source]

Parse command line parameters

Parameters:args ([str]) – command line parameters as list of strings
Returns:command line parameters namespace
Return type:argparse.Namespace
sigma0.skeleton.run()[source]

Entry point for console_scripts

sigma0.skeleton.setup_logging(loglevel)[source]

Setup basic logging

Parameters:loglevel (int) – minimum loglevel for emitting messages

Module contents