Syntax:
-clip sigclip iter Example 1.
$ ./vartools -oneline -i EXAMPLES/5 \
-rms \
-clip 3. 1 \
-rms \
-o EXAMPLES/OUTDIR1/5.clip.txt
Name = EXAMPLES/5
Mean_Mag_0 = 10.43962
RMS_0 = 0.00288
Expected_RMS_0 = 0.00114
Npoints_0 = 3903
Nclip_1 = 51
Mean_Mag_2 = 10.43961
RMS_2 = 0.00267
Expected_RMS_2 = 0.00114
Npoints_2 = 3852
Calculate the RMS of the light curve EXAMPLES/5, apply iterative 3 sigma clipping, calculate the RMS of the clipped light curve, and output the clipped light curve to EXAMPLES/OUTDIR1/5.clip.txt.

Fig 1. Comparison of the pre- and post-clipped light curve from Example 1.