Usage: amdlibComputeOiData [-h] [-f] [-s] [-v level] [-b <num>] [-p PHASOR] [-e STATISTIC|THEORIC] [-c FLUX|FRG|OPD] [-r <ratio>] [-B J|H|K] <badPixelMap> <flatFieldMap> <p2vm> <dark> <input> <output>
Options:
-h help
-v verbosity level [0..4]
-f force the use of another P2VM
-s split OI-FITS; one file per band
-b <num> of frames to average (bin) over <num> frames
-p PHASOR (default) for piston algorithm
-e THEORIC (default) or STATISTIC for error bars estimation
-c FRG, FLUX or OPD criterion for frame selection
-r <ratio> for frame selection
if 0<ratio<=1, its a ratio, else it is a threshold.
flux are in (e), OPD in microns.
-B J, H or K to select a spectral band
Options (new Options are in
bold face):
- -J to tag Pistons with Jitter/Error gt. value (in microns)
- -X to tag visibilities with chi2 gt. value. This removes P2VM fits of complex coherent fluxes that did not behave well, that is, above some chi2. The default is
-X0
, that is: tag data whose chi2 is above the mean chi2 by 3 times the chi2 rms. -X -1
or any negative value tages nothing. Normally AMBER data gives a mean chi2 between 0.9 and 1.8. Thus, -X 1.8
would select "normal" frames.
- -C to enhance piston precision using piston closure info. To be used with caution: The idea is to compute the piston on the baseliens with the smallest S/N as minus the sum of the two others. useful sometimes in Low Res.
- -P to retain photometries gt. value (in e). Default is 0, and default should not normally cause problems.
- -F to avoid using the continuum correction factor. This linearisation factor is part of the new way to reduce AMEBR data. Wizard only.
- -D to drop the first frames. Absolutely MANDATORY until the bias effects on the camera have been mastered. Drop at least the first 20 or 30 frames if possible. For FINITO-assisted data when the number of frames is too small, just pray .
- -n to avoid applying global bias estimate and correction. This should be used along with the -D option. If you drop frames, you do not need the global bias estimate.
- -A to avoid updating the badPixel info with bad pixels found in the dark file (Such On-The-Fly Bad Pixels are computed only if the number of frames is >500 anyway).
- -S to normalize star's spectrum by the spectrum of the P2VM (not exactly a transmission, the optical path being different: mostly useful in LowRes.). Wizard only.*
The default command should be something like that:
amdlibComputeOiData -D30 -n -b 99999 -p PHASOR -e THEORIC -s <badPixelMap> <flatFieldMap> <p2vm> <dark> <input> <output>
Note that it is recommendend to
avoid selection (option
-b 9999
) unless you are in Low Res, where selection on PISTON (
-c OPD -r 15
) would be a good idea if you are interested in differential visibilities.