Syntax:
-chi2bin Nbin bintime1...bintimeN Example 1.$ ./vartools -header -l EXAMPLES/lc_list \ -chi2bin 5 5.0 10.0 60.0 1440 14400 #Name Chi2Bin_5.0_0 Weight_Mean_Mag_Bin_5.0_0 Chi2Bin_10.0_0 Weight_Mean_Mag_Bin_10.0_0 Chi2Bin_60.0_0 Weight_Mean_Mag_Bin_60.0_0 \ Chi2Bin_1440.0_0 Weight_Mean_Mag_Bin_1440.0_0 Chi2Bin_14400.0_0 Weight_Mean_Mag_Bin_14400.0_0 EXAMPLES/1 228254.48109 10.23970 405745.83067 10.23903 1619850.72683 10.23607 6446329.92664 10.20336 14569840.53581 10.20009 EXAMPLES/2 10710.26878 10.10721 19525.73651 10.10720 82101.02128 10.10680 172928.13393 10.10747 15967.17229 10.11131 EXAMPLES/3 49.89202 10.16683 65.41749 10.16684 151.04489 10.16681 297.75291 10.16657 395.88712 10.16666 EXAMPLES/4 15.04175 10.35126 23.17347 10.35126 74.10398 10.35130 247.44014 10.35135 164.13887 10.35133 EXAMPLES/5 23.59164 10.43913 37.11690 10.43911 128.16520 10.43912 350.68371 10.43902 402.40959 10.43918 EXAMPLES/6 10.03222 10.52737 15.47193 10.52737 41.62336 10.52735 78.01005 10.52738 75.62758 10.52748 EXAMPLES/7 21.01770 10.56942 28.78196 10.56942 55.11081 10.56944 37.05850 10.56945 10.66248 10.56953 EXAMPLES/8 11.74891 10.61119 19.46837 10.61119 75.72787 10.61118 235.99781 10.61118 89.56209 10.61117 EXAMPLES/9 5.60637 10.73120 7.84047 10.73120 22.83600 10.73119 54.28169 10.73115 42.56913 10.73126 EXAMPLES/10 8.95585 10.87751 13.58515 10.87751 36.27533 10.87748 73.19929 10.87747 82.72547 10.87762
Apply a set of moving-mean filters to the light curves in the list EXAMPLES/lc_list and calculate chi^2 per degree of freedom and the weighted mean magnitude for each filter. We use 5 filters of 5.0, 10.0, 60.0, 1440.0, and 14400.0 minutes. Note that the "filter" here refers to replacing each point in the light curve with the mean of all points that are within the specified number of minutes of that point. The formal errors are decreased by the amount expected for white noise, as a result the chi2 values for the light curves in this example (which have non-negligible red-noise) increase as the filter-size is increased.