Syntax:
-Phase <"aov" | "ls" | "bls" | "fixcolumn" <colname | colnum> | "spec" | "fix" period> ["T0" <"bls" phaseTc | "fixcolumn" <colname | colnum> | "spec" | "fix" T0>] Example 1.$ ./vartools -i EXAMPLES/2 -header \ -Phase fix 1.2354 \ -o EXAMPLES/OUTDIR1/2.phase.txt #Name EXAMPLES/2
Phase the light curve EXAMPLES/2 with a period 1.2354 d and output the result to EXAMPLES/OUTDIR1/2.phase.txt.
Fig 1. Phased light curve from Example 1.
$ ./vartools -i EXAMPLES/3.transit -oneline \ -BLS q 0.01 0.1 0.5 5.0 20000 200 7 1 0 0 0 \ -Phase bls T0 bls 0.5 \ -o EXAMPLES/OUTDIR1/3.phase.txt \ -binlc 1 nbins 200 0 \ -o EXAMPLES/OUTDIR1/3.phasebin.txt Name = EXAMPLES/3.transit BLS_Period_1_0 = 2.12312625 BLS_Tc_1_0 = 53727.297046247397 BLS_SN_1_0 = 38.39425 BLS_SR_1_0 = 0.00237 BLS_SDE_1_0 = 4.77204 BLS_Depth_1_0 = 0.01136 BLS_Qtran_1_0 = 0.03000 BLS_i1_1_0 = 0.98500 BLS_i2_1_0 = 1.01000 BLS_deltaChi2_1_0 = -24130.93833 BLS_fraconenight_1_0 = 0.42662 BLS_Npointsintransit_1_0 = 146 BLS_Ntransits_1_0 = 4 BLS_Npointsbeforetransit_1_0 = 106 BLS_Npointsaftertransit_1_0 = 120 BLS_Rednoise_1_0 = 0.00156 BLS_Whitenoise_1_0 = 0.00490 BLS_SignaltoPinknoise_1_0 = 12.89679 BLS_Period_invtransit_0 = 1.14599569 BLS_deltaChi2_invtransit_0 = -3289.67397 BLS_MeanMag_0 = 10.16740
Example illustrating the use of the -Phase command. We apply -BLS to identify a transit signal in the light curve EXAMPLES/3.transit. We then phase the light curve taking the period from bls, and the time of zero phase from bls. We set the phase of mid-transit to 0.5. We output the result to EXAMPLES/OUTDIR1/3.phase.txt. We then median-bin the phased light curve using 200 phase bins, and output the result to EXAMPLES/OUTDIR1/3.phasebin.txt.
Fig 2. Phased, and phase-binned light curves from Example 2.