<jupyter_start><jupyter_text>*This notebook contains an excerpt instructional material from [gully](https://twitter.com/gully_) and the [K2 Guest Observer Office](https://keplerscience.arc.nasa.gov/); the content is available [on GitHub](https://github.com/gully/goldenrod).*   Spot-check Everest Validation Summaries for KEGS This notebook does more spot-checking of KEGS target lightcurves with the "data validation summary" (DVS) feature in EVEREST.<jupyter_code>import matplotlib.pyplot as plt
import numpy as np
from astropy.io import fits
import astropy
import os
import pandas as pd
import seaborn as sns
from astropy.utils.console import ProgressBar
import everest
%matplotlib inline
%config InlineBackend.figure_format = 'retina'
everest_path = '../../everest/everest/missions/k2/tables/'
df_kegs = pd.read_csv('../metadata/KEGS_TPF_metadata.csv')
c05_everest = pd.read_csv(everest_path + 'c05.stars', names=['EPIC_ID', 'KepMag', 'Channel', 'col4'])
kegs_everest_c05 = pd.merge(df_kegs, c05_everest, how='inner', left_on='KEPLERID', right_on='EPIC_ID')
ke_list = kegs_everest_c05['KEPLERID'].values
i = 0
i<jupyter_output><empty_output><jupyter_text>Decent examples to try to replicate: 12<jupyter_code>i+=1
star = everest.Everest(ke_list[i])
star.dvs()
for i in range(len(ke_list)):
    star = everest.Everest(ke_list[i])
    star.dvs()<jupyter_output>INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.load_fits()]: Loading FITS file for 211305171.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.load_fits()]: Loading FITS file for 211311876.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.load_fits()]: Loading FITS file for 211312434.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.load_fits()]: Loading FITS file for 211316816.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.load_fits()]: Loading FITS file for 211317575.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.DownloadFile()]: Found cached file.
INFO  [everest.user.load_fits()]: Loading FITS fi[...]
StarcoderdataJupyterStructuredCleanDedup