This is a prime python code for conducting centroid test for K2/Kepler target. This code origins from pipeline desctription from Kepler Data Processing Handbook
- numpy
- scipy
- matplotlib
- astropy
- Clone or download this code from github
- Main function is in PRFfunc.py.
- Modify the stellar parameters as model.ini shows
- Input the light curve file and pixel fits file, here I use light curve from EVEREST pipeline and pixel fits from K2 archive from MAST
- When running this code, you can derive two figures about out-of-transit image and difference image and one figure about dignosis indicating whether the transiting is caused by planet or not.
kplr2011265_prf folder contains 84 PRF files for each channel (details in the readme.txt in this folder)