Skip to content

dfm/kepcal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Start by installing the dependencies:

  1. numpy
  2. pandas (+ PyTables)
  3. matplotlib
  4. astropy
  5. fitsio
  6. tqdm

Get the data

To download the Kepler full frame images, run:

wget -r -nH -nd -np -R index.html -e robots=off https://archive.stsci.edu/pub/kepler/ffi/

in the $KEPCAL_DATA/ffi directory. This will take a long time and use about 44Gb of space. Then, execute:

scripts/kepcal-index-ffis $KEPCAL_DATA

to build an index of the FFI files.

You should also download and extract the Kepler Input Catalog into the $KEPCAL_DATA/kic directory. Then run:

scripts/kepcal-format-kic $KEPCAL_DATA

to save the KIC into a binary format that will be way faster to read.

Estimate the PSF

To choose apertures, we use a rough PSF model for each channel. You compute this using a single FFI and I haven't found big differences when you use different FFIs. To estimate the PSFs, run something like:

scripts/kepcal-compute-psf $KEPCAL_DATA $KEPCAL_DATA/ffi/kplr2013038133130_ffi-cal.fits

This will save two files $KEPCAL_DATA/psf.fits and $KEPCAL_DATA/psf.pdf. The FITS file has an estimate of the PSF for each channel and the PDF file has a plot of these images.

About

Self calibration using the Kepler FFIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published