Syntax:
-findblends matchrad ["radec"] <"fix" period | "spec" | "fixcolumn" <colname | colnum>> ["starlist" starlistfile] ["zeromag" zeromagval] ["nofluxconvert"] ["Nharm" Nharm] ["omatches" outputmatchfile] Example 1.$ ./vartools -l EXAMPLES/lc_list_testblend -header \ -LS 0.1 10. 0.1 1 0 \ -findblends 2.0 fixcolumn LS_Period_1_0 #Name LS_Period_1_0 Log10_LS_Prob_1_0 LS_SNR_1_0 FindBlends_Period_1 FindBlends_LCname_1 FindBlends_FluxAmp_1 EXAMPLES/2 1.23440877 -704.49194 58.45119 1.23440877 EXAMPLES/2 82314 EXAMPLES/2.testblend 1.23440877 -620.96424 57.77260 1.23440877 EXAMPLES/2 82314
This example illustrates a basic usage of the -findblends command. The list EXAMPLES/lc_list_testblend contains two light curves as well as the x and y coordinates of each light curve. These light curves are searched for a sinusoidal variation using the -LS command. We then check for variability blends using the -findblends command. Here we consider any stars within 2 pixels of each other as potential blends. We use the period determined by -LS as the variability period for the -findblends command. We do this by giving the "fixcolumn" keyword, and then giving the name of the output column which stores the period. Running this example gives "EXAMPLES/2" as the source of the variability for both light curves since that light curve has a higher variability amplitude (in flux) than EXAMPLES/2.testblend.