Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: atmosphere.getNdata - Function Up: atmosphere - Tool Previous: atmosphere.getProfile - Function


atmosphere.initWindow - Function



Package utility
Module benchmark
Tool atmosphere


initialize window


Synopsis
initWindow(nbands, fCenter, fWidth, fRes)


Description

function that defines a spectral window, computes absorption and emmision coefficients for this window, using the above atmospheric parameters.



Arguments

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'



Example
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 )





next up previous contents index
Next: atmosphere.getNdata - Function Up: atmosphere - Tool Previous: atmosphere.getProfile - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15