This repository contains the statistical analysis modules, and scripts to produce the figures and tables in the two following works:
- Ilin, E. and Poppenhäger K., (2022). Searching for flaring star-planet interactions in AU Mic TESS observations.
- Ilin, E. et al. (2024) Planetary perturbers: Flaring star-planet interactions in Kepler and TESS
The first introduces the statistical method used in the second, and demonstrates it on the popular case of AU Mic.
Nomenclature:
- File names that contain
AU_Mic
are from project 1. - File names that begin with
_
belong to project 2.
Folders:
notebooks/
contains all the notebooks and scripts- also contains the modules used in both, stored in
funcs/
- also contains the modules used in both, stored in
data/
contains ancillary data, such as the TESS transmission curveresults/
contain the flare table, the results of the A-D tests
Notebooks that produce the figures and tables in the paper found in notebooks/
:
AU_Mic_flare_catalog_with_phases_TABLE1.ipynb
- example script of how to use the de-trending and flare finding described in Methods:
notebooks/findflares.py
- flaring finding method described in 2.1:
notebooks/funs/detrend.py
- electronic table of all flares:
results/2021_12_AU_Mic_2021_12_AU_Mic_final_flare_table.csv
- example script of how to use the de-trending and flare finding described in Methods:
AU_Mic_AD_test_analysis_TABLE2.ipynb
- all A-D tests:
results/adtests.csv
(time stamped within the table)
- all A-D tests:
AU_Mic_illustrate_flares_FIGURE1.ipynb
AU_Mic_FFD_FIGURE2.ipynb
AU_Mic_cumdist_plot_FIGURE3.ipynb
AU_Mic_illustrate_observability_FIGURE4.ipynb
Look into A-D tests with doubled and tripled sample: AU_Mic_AD_test_doubled_sample_DISCUSSION.ipynb
Calculation of quiescent flux in the TESS band: AU_Mic_quiescent_flux_in_TESS_band_RESULTS.ipynb
Find tables and light curves for this project on Zenodo.
notebooks/
01a and 01b -- sample selection 02 -- flare finding 02b -- take a closer look at Kepler-411 that actually is two flaring stars 03 -- vetting notebook, validating the completeness of the vetted table (did I look at all the flares and assigned false positives?) 04 -- write out the flare table to csv, paper-ready 05 -- notebook to make some nice flare plots 06 -- Anderson-Darling tests in various sub-samples 07 -- stellar and planetary parameters 08 -- coherence time scales of obrit and rotation 09 -- compiling the results in one giant table, incl. calculation of power of magnetic star-planet interaction 10 -- estimating tidal star-planet interaction 11 -- estimating the size of the Alfven radius 12 -- calculate the error on orbital phase of the flares as per reviewer request
- numpy
- scipy
- astropy
- matplotlib
- lightkurve
- altaipony
- emcee
- corner`