kepclip: remove unwanted time ranges from Kepler time series data

pyke.kepclip.kepclip(infile, ranges, outfile=None, datacol='SAP_FLUX', plot=False, overwrite=False, verbose=False, logfile='kepclip.log')[source]

Remove unwanted time ranges from Kepler time series data.


infile: str

The name of a MAST standard format FITS file containing a Kepler light curve within the first data extension.

outfile: str

The name of the output FITS file with unwanted data removed.

ranges: str

Time ranges are supplied as comma-separated pairs of Barycentric Julian Dates (BJDs). Multiple ranges are separated by a semi-colon. An example containing two time ranges is: '2455012.48517,2455014.50072;2455022.63487,2455025.08231'

plot: bool

Plot the output data?

datacol: str

Types of photometry stored in the input file.

overwrite: bool

Overwrite the output file?

verbose: bool

Print informative messages and warnings to the shell and logfile?

logfile: str

Name of the logfile containing error and warning messages.


$ kepclip kplr002436324-2009259160929_llc.fits
  --verbose --plot --overwrite