<jupyter_start><jupyter_text>Full Light Curve<jupyter_code>import lightkurve as lk
data = lk.search_targetpixelfile('G 227-22', mission='TESS').download_all()
#data
data.plot();<jupyter_output><empty_output><jupyter_text>Periodogram<jupyter_code>import matplotlib.pyplot as plt
from lightkurve import search_lightcurvefile
lc = search_lightcurvefile('G 227-22', mission = "TESS").download_all().PDCSAP_FLUX.stitch();
# Starname
#starname='G 227-22'
# Download all lightcurves
#lc = search_lightcurvefile(starname, mission="TESS").download_all()
lc.remove_outliers().plot(); #; removes output
pg = lc.remove_outliers().remove_nans().to_periodogram(oversample_factor=1)
pg.plot(view='period', scale='log');
pg.period_at_max_power
lc.remove_outliers().fold(pg.period_at_max_power, t0=1).scatter();<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14441747572815533, 'fraction_numerical': 0.021844660194174758, 'mean_word_length': 10.301369863013699, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '79040', 'license': 'MIT', 'n_tokens_mistral': 323, 'n_tokens_neox': 301, 'n_words': 43, 'path': 'notebooks/G 227-22.ipynb', 'repo_name': 'sejones22/usrp20', 'size': '824'}