standalone.py
- Standalone de-trending¶
Provides the DetrendFITS()
function for
manual de-trending of user-provided K2 FITS files.
-
class
everest.standalone.
ApertureSelector
(time, images, title='Aperture')¶ -
PadWithZeros
(vector, pad_width, iaxis, kwargs)¶
-
bkgstd
¶
-
colbkg
¶
-
flux
¶
-
lcbkg
¶
-
lcstd
¶
-
mouse_click
(event)¶
-
mouse_drag
(event)¶
-
replot
(val)¶
-
update
()¶
-
update_bkg
()¶
-
update_lc
()¶
-
update_lcbkg
()¶
-
-
everest.standalone.
DetrendFITS
(fitsfile, raw=False, season=None, clobber=False, **kwargs)¶ De-trend a K2 FITS file using
everest.detrender.rPLD
.Parameters: - fitsfile (str) – The full path to the FITS file
- aperture (ndarray) – A 2D integer array corresponding to the desired photometric aperture (1 = in aperture, 0 = outside aperture). Default is to interactively select an aperture.
- kwargs – Any kwargs accepted by
everest.detrender.rPLD
.
Returns: An
everest.Everest
instance.
-
everest.standalone.
GetData
(fitsfile, EPIC, campaign, clobber=False, saturation_tolerance=-0.1, bad_bits=[1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17], get_hires=True, get_nearby=True, aperture=None, **kwargs)¶ Returns a
DataContainer
instance with the raw data for the target.Parameters: - fitsfile (str) – The full raw target pixel file path
- clobber (bool) – Overwrite existing files? Default
False
- saturation_tolerance (float) – Target is considered saturated if flux is within this fraction of the pixel well depth. Default -0.1
- bad_bits (array_like) – Flagged :py:obj`QUALITY` bits to consider outliers when computing the model. Default [1,2,3,4,5,6,7,8,9,11,12,13,14,16,17]
- get_hires (bool) – Download a high resolution image of the target? Default
True
- get_nearby (bool) – Retrieve location of nearby sources? Default
True