Formatting AIJ Light Curves for Input to EXOFAST

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Formatting AIJ Light Curves for Input to EXOFAST

karenacollins
Administrator
Reply | Threaded
Open this post in threaded view
|

Re: Formatting AIJ Light Curves for Input to EXOFAST

karenacollins
Administrator
Follow these instructions to extract an AIJ light curve from a measurementsTable and format it for input to EXOFAST or EXOFASTv2.

First, make sure there is a BJD_TDB column in the measurements table, and that it has actual numbers (not NaNs). If the table has numeric BJD_TDB data, make sure you trust those values. If you are not sure of the validity of the BJD_TDB timestamps, or if the BJD_TDB column does not exist, or if it exists but has NaN values, you will need to create BJD_TDB values following this post:
http://astroimagej.1065399.n5.nabble.com/Add-new-astronomical-values-such-as-BJD-TDB-AIRMASS-etc-to-an-exisiting-measurements-table-td91.html

Next you need to save the normalized flux and error back to the measurements table. To do so, display the light curve with no fitting and no detrending and normalized using OOT only. You must have "Scale" set to 1 and "Shift" set to 0. The AIJ settings should look like this:


On Multi-Plot Main, set the "Left and "Right" markers at the start of ingress and end of egress, respectively:





Next, click the "New Col" button

which saves the normalized flux and error back to the measurements table in new columns. You will see this panel open.

Make sure the panel is setup as shown above. Leave the "Add new column from X-data" unchecked.

Now use AIJ's Multi-plot->File->"Save data subset to file..." option. The following panel will open:

Set it up as shown above (i.e. only 4 datasets selected - in the order shown - and the rest blank) and all of the options at the bottom disabled. If additional detrend columns are too be included in the EXOFAST fit, add them to Data Columns 5, 6, 7, etc.

A recommended file name is to use the same name as the measurementsTable file, except remove "measurements" and use the extensions ".dat". However, you can use what you prefer.

When the file is created, open it using a text editor and verify that the first column looks like BJD values, the second column has values near 1.0 (i.e. the normalized relative flux), the third column has values near zero (i.e. the photometric uncertainties), and that the fourth column has values somewhere in the range 1 to ~3 (i.e. airmass).

Below is an example of how the .dat file should appear.
Karen


TIC307210830-03_20181129_LCO-CTIO-1m_rp.dat
2458451.703580	1.004579	0.0040	1.527173
2458451.704413	1.004286	0.0040	1.524040
2458451.705247	0.999026	0.0040	1.520934
2458451.706080	1.002904	0.0040	1.517877
2458451.706925	0.999362	0.0040	1.514765
2458451.707758	1.001606	0.0040	1.511730
2458451.708592	1.000078	0.0040	1.508709
2458451.709425	1.001872	0.0040	1.505724
2458451.710258	0.998540	0.0040	1.502774
2458451.711092	1.003167	0.0040	1.499826
2458451.711925	1.003072	0.0040	1.496909
2458451.712758	1.000731	0.0040	1.494033
2458451.713592	0.999767	0.0040	1.491165
2458451.714425	0.997559	0.0039	1.488318
2458451.715247	1.003427	0.0040	1.485522
2458451.716080	1.000925	0.0040	1.482728
2458451.716913	1.001676	0.0040	1.479956
2458451.717747	1.003251	0.0040	1.477207
2458451.718580	1.005444	0.0040	1.474483
2458451.719413	1.002899	0.0040	1.471779
2458451.720247	0.997819	0.0039	1.469100
2458451.721080	0.999109	0.0040	1.466440
2458451.721914	1.000634	0.0039	1.463779
2458451.722747	1.002378	0.0040	1.461165
2458451.723580	1.005293	0.0040	1.458575
2458451.724414	0.999361	0.0039	1.456006
2458451.725247	0.999872	0.0039	1.453450
2458451.726080	0.997623	0.0039	1.450928
2458451.726914	1.003409	0.0040	1.448416
2458451.727747	1.000366	0.0039	1.445919
2458451.728580	1.005416	0.0040	1.443442
2458451.729414	1.003061	0.0040	1.441003
2458451.730247	1.003531	0.0040	1.438577
2458451.731092	1.005363	0.0040	1.436160
2458451.731925	1.002385	0.0040	1.433782
2458451.732759	1.001533	0.0040	1.431418
2458451.733592	1.002717	0.0040	1.429064
2458451.734425	1.002029	0.0040	1.426752
2458451.735259	1.003392	0.0040	1.424458
2458451.736092	1.001414	0.0040	1.422177
2458451.736925	1.004863	0.0040	1.419917
2458451.737759	1.000946	0.0040	1.417677
2458451.738592	1.003669	0.0040	1.415458
2458451.739425	0.998945	0.0039	1.413268
2458451.740247	1.003906	0.0040	1.411098
2458451.741081	0.999662	0.0039	1.408939
2458451.741925	1.000405	0.0040	1.406773
2458451.742759	0.999097	0.0039	1.404664
2458451.743592	1.002431	0.0040	1.402563
2458451.744425	1.001272	0.0040	1.400484
2458451.745259	0.997020	0.0039	1.398424
2458451.746092	1.001026	0.0040	1.396384
2458451.746926	0.999905	0.0039	1.394355
2458451.747759	0.997718	0.0039	1.392352
2458451.748592	1.001672	0.0040	1.390361
2458451.749426	0.998008	0.0039	1.388404
2458451.750282	1.004845	0.0040	1.386399
2458451.751115	0.997569	0.0039	1.384474
2458451.751960	0.998629	0.0039	1.382552
2458451.752794	1.002688	0.0040	1.380666
2458451.753615	1.004379	0.0040	1.378806
2458451.754449	0.999164	0.0039	1.376956
2458451.755282	1.002317	0.0040	1.375125
2458451.756115	1.002092	0.0040	1.373305
2458451.756949	0.998085	0.0039	1.371511
2458451.757782	0.998999	0.0039	1.369735
2458451.758627	0.997935	0.0039	1.367954
2458451.759460	1.002859	0.0039	1.366208
2458451.760294	0.999424	0.0039	1.364487
2458451.761127	1.000899	0.0039	1.362784
2458451.761960	0.997522	0.0039	1.361085
2458451.762794	1.000081	0.0039	1.359410
2458451.763627	1.000609	0.0039	1.357752
2458451.764461	0.999261	0.0040	1.356120
2458451.765305	1.000677	0.0039	1.354499
2458451.766139	0.999813	0.0039	1.352881
2458451.766972	0.999009	0.0039	1.351303
2458451.767805	1.003600	0.0039	1.349728
2458451.768639	0.999956	0.0039	1.348178
2458451.769472	0.998141	0.0039	1.346657
2458451.770306	1.001368	0.0039	1.345140
2458451.771139	1.000489	0.0039	1.343648
2458451.771972	0.997058	0.0039	1.342164
2458451.772806	0.998432	0.0039	1.340705
2458451.773627	0.999837	0.0039	1.339263
2458451.774461	0.993821	0.0039	1.337838
2458451.775294	0.995779	0.0039	1.336424
2458451.776127	1.004809	0.0039	1.335026
2458451.776972	1.001558	0.0039	1.333640
2458451.777806	1.000103	0.0039	1.332271
2458451.778639	1.000723	0.0039	1.330935
2458451.779472	1.001618	0.0039	1.329594
2458451.780306	0.998332	0.0039	1.328281
2458451.781127	0.999199	0.0039	1.326984
2458451.781961	0.996689	0.0039	1.325705
2458451.782806	1.000245	0.0039	1.324440
2458451.783627	0.995163	0.0039	1.323193
2458451.784461	0.998136	0.0039	1.321965
2458451.785294	1.000375	0.0039	1.320749
2458451.786128	0.999629	0.0039	1.319550
2458451.786961	1.001329	0.0039	1.318363
2458451.787794	1.000426	0.0039	1.317202
2458451.788628	0.998172	0.0039	1.316051
2458451.789461	0.998242	0.0039	1.314911
2458451.790294	1.004705	0.0039	1.313792
2458451.791128	0.996816	0.0039	1.312688
2458451.791961	0.998808	0.0039	1.311596
2458451.793628	1.000930	0.0039	1.309465
2458451.794461	0.998464	0.0039	1.308420
2458451.795306	0.998378	0.0039	1.307392
2458451.796128	0.994566	0.0039	1.306384
2458451.796961	0.999513	0.0039	1.305390
2458451.797794	1.000220	0.0039	1.304413
2458451.798628	0.995755	0.0039	1.303451
2458451.799461	1.000602	0.0039	1.302505
2458451.800294	0.999878	0.0039	1.301573
2458451.801116	1.000548	0.0039	1.300657
2458451.801950	0.994994	0.0039	1.299756
2458451.802783	0.998882	0.0039	1.298868
2458451.803616	0.998299	0.0039	1.297994
2458451.804461	0.997563	0.0039	1.297131
2458451.805294	0.999013	0.0039	1.296291
2458451.806128	1.001306	0.0039	1.295467
2458451.806961	0.999914	0.0039	1.294651
2458451.807795	1.001872	0.0039	1.293857
2458451.808628	0.998825	0.0039	1.293071
2458451.809461	0.996044	0.0038	1.292301
2458451.810295	0.997192	0.0039	1.291551
2458451.811128	0.999569	0.0039	1.290816
2458451.811961	0.997206	0.0039	1.290091
2458451.812795	0.999023	0.0039	1.289386
2458451.813616	1.001456	0.0039	1.288697
2458451.814450	0.999656	0.0039	1.288019
2458451.815283	0.996809	0.0039	1.287356
2458451.816128	0.998070	0.0039	1.286705
2458451.816961	1.002190	0.0039	1.286069
2458451.817795	1.001673	0.0039	1.285453
2458451.818616	0.997819	0.0039	1.284847
2458451.819450	0.995420	0.0039	1.284260
2458451.820283	0.997338	0.0039	1.283686
2458451.821128	0.997958	0.0039	1.283121
2458451.821961	0.998528	0.0039	1.282574
2458451.822795	0.998947	0.0039	1.282045
2458451.823628	1.001930	0.0039	1.281527
2458451.824461	0.999261	0.0039	1.281023
2458451.825295	1.001524	0.0039	1.280536
2458451.826128	1.000300	0.0039	1.280064
2458451.826962	0.998401	0.0039	1.279606
2458451.827795	0.998807	0.0039	1.279163
2458451.828628	1.003321	0.0039	1.278733
2458451.829450	0.999869	0.0039	1.278320
2458451.830283	1.001656	0.0039	1.277918
2458451.831128	0.998450	0.0039	1.277530
2458451.831950	1.000438	0.0039	1.277160
2458451.832783	0.998305	0.0039	1.276803
2458451.833617	1.003255	0.0039	1.276460
2458451.834450	0.995893	0.0039	1.276130
2458451.835283	0.995650	0.0039	1.275815
2458451.836117	0.995923	0.0039	1.275515
2458451.836950	0.999602	0.0039	1.275230
2458451.837772	0.998704	0.0039	1.274957
2458451.838617	0.998025	0.0039	1.274698
2458451.839450	0.999289	0.0039	1.274454
2458451.840272	1.000379	0.0039	1.274226
2458451.841105	0.999044	0.0039	1.274010
2458451.841939	0.997621	0.0039	1.273810
2458451.842772	1.001959	0.0039	1.273623
2458451.843605	0.996287	0.0039	1.273451
2458451.844439	1.000739	0.0039	1.273293
2458451.845272	0.995134	0.0039	1.273149
2458451.846105	1.000798	0.0040	1.273018
2458451.846939	0.999947	0.0039	1.272902
2458451.847772	1.000494	0.0040	1.272801
2458451.848594	0.998902	0.0040	1.272713
2458451.849427	1.000384	0.0040	1.272639
2458451.850260	0.998564	0.0040	1.272580
2458451.851094	1.001958	0.0040	1.272535
2458451.851927	0.997686	0.0040	1.272504
2458451.852761	0.996789	0.0040	1.272487
2458451.853594	1.000490	0.0040	1.272484
2458451.854427	1.000280	0.0040	1.272495
2458451.855261	1.000756	0.0041	1.272521
2458451.856094	0.994355	0.0041	1.272561
2458451.856939	0.997344	0.0041	1.272615