Syntax:
-savelc -restorelc savenumber Example 1.$ ./vartools -l EXAMPLES/lc_list -header -numbercolumns \ -nobuffer -parallel 4 \ -savelc \ -clip 5.0 1 \ -savelc \ -LS 0.1 100. 0.1 3 0 clip 5. 1 \ -aov 0.1 100. 0.1 0.01 1 0 clip 5. 1 \ -restorelc 1 \ -clip 10.0 1 \ -BLS q 0.01 0.1 0.1 20. 10000 200 7 2 0 0 0 \ -restorelc 2 \ -changeerror \ -autocorrelation 0. 30. 0.1 EXAMPLES/OUTDIR1/ \ > EXAMPLES/OUTDIR1/vartools.out
An example of running a battery of variability selection algorithms on a number of light curves in parallel. We first save the initial state of the light curve using the -savelc command, then apply iterative 5-sigma clipping to the light curve. We save the 5-sigma clipped light curve. We then run the -LS and -aov period finding algorithms. We then restore the light curve to its state before the 5-sigma clipping and apply 10-sigma clipping and run BLS (BLS would be sensitive to eclipses. To search for eclipses we would want to use a less aggressive sigma-clipping). After BLS we restore the light curve to its state after the 5-sigma clipping was applied and replace the errors in the light curve with the RMS. Finally we run the -autocorrelation command on the light curve which will output the autocorrelation function to the EXAMPLES/OUTDIR1 directory (see for example EXAMPLES/OUTDIR1/2.autocorr which is periodic and has a first peak at 1.23 days).