srf | index /users/schrei_f/src/py4CAtS/aux/srf.py |
srf --- spectral response functions
a.k.a.
ils --- instrument line shape
Evaluate normalized srf/ils on a wavenumber grid
integral srf(v) dv = 1
usage:
srf [options] srfValue
* Gaussian etc response function:
srfValue = width = HWHM = half width @ half maximum
* FTS (Fourier transform spectrometer):
srfValue is interpreted as MOPD
L = MOPD = maximum optical path difference
the first zero is at 1/2L
===> hwhm = 1/4L approximately
-h help
-c char comment character(s) used in output file (default '#')
-o string output file for saving of vGrid and srfValues
-t string type of spectral response function:
Gauss (default), Lorentz, Hyperbolic, Triangle, FTS
-a char apodization (for FTS only)
default no apodization, i.e. sinc
c cosine
g gaussian
q quartic (Connes)
t|b triangular / Bartlett
w|m|s weak|medium|strong Norton-Beer
H Hamming
h Hanning
-s int sampling rate: grid point spacing = delta = width/sample
default 5
-x float wavenumber grid extension in units of half widths
default 10.0
Modules | ||||||
|
Functions | ||
|
Data | ||
cm0 = 0.152442 cm1 = -0.136176 cm2 = 0.983734 cos = <ufunc 'cos'> cs0 = 0.045335 cs2 = 0.554883 cs4 = 0.399782 cw0 = 0.384093 cw1 = -0.087577 cw2 = 0.703484 ln2 = 0.6931471805599453 pi = 3.141592653589793 recGammaQuarter = 0.2758156628302093 recGammaSixth = 0.17965203550789732 recPi = 0.3183098861837907 sqrt2 = 1.4142135623730951 sqrtLn2 = 0.8325546111576977 sqrtPi = 1.7724538509055159 sqrtSqrtLn2 = 0.9124443057840285 |