Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | benchmark | |
Tool | atmosphere |
function that defines a spectral window, computes absorption and emmision coefficients for this window, using the above atmospheric parameters.
nbands | in | number of bands | |
Allowed: | Int, standing for the number of bands | ||
Default: | 1 | ||
fCenter | in | frequencies | |
Allowed: | Quantum with a vector value and unit of frequency, Hz | ||
Default: | '88.e9Hz' | ||
fWidth | in | frequency width | |
Allowed: | Quantum with a vector value and unit of frequency, Hz | ||
Default: | '5.0e8Hz' | ||
fRes | in | resolution inside band | |
Allowed: | Quantum with a vector value and unit frequency, Hz | ||
Default: | '1.25Hz' |
nbands := 2; for ( i in 1:nbands) { (fCenter.value)[i] := 88.e9; (fWidth.value)[i] := 5.e8; (fRes.value)[i] := (fWidth.value)[1]/4.0; # 4 channels } fCenter.unit := 'Hz'; fWidth.unit := 'Hz'; fRes.unit := 'Hz'; myatm.initWindow(nbands=nbands,fCenter=fCenter,fWidth=fWidth,fRes=fRes )