eleanor.crossmatch
index
/home/dinilbose/github/eleanor/eleanor/crossmatch.py

 
Modules
       
astropy.io.fits
numpy
os
pandas
socket
urllib

 
Classes
       
builtins.object
Crossmatch

 
class Crossmatch(builtins.object)
    This class can be used to find the same light curve from different
pipelines. The current available light curves are from the 
TESS Asteroseismic Science Consortium (TASC) and Oelkers & Stassun (2019).
Oelkers & Stassun light curves are only available through Sector 5.
 
Parameters
----------
obj :
    Object must be an eleanor.TargetData object.
 
  Methods defined here:
__init__(self, object)
Initialize self.  See help(type(self)) for accurate signature.
oelkers_lc(self)
Grabs the Oelkers & Stassun (2019) associated light curve.
 
Parameters
----------
 
Attributes
----------
time : np.array
mag  : np.array
mag_err : np.array
tasoc_lc(self)
Grabs the T'DA available light curves for your target.
For more information, see the TASOC light curve documentation: https://tasoc.dk/code/.
 
Parameters
----------
 
Attributes
----------
tasoc_header : 
tasoc_tpf : np.2darray
tasoc_aperture : np.2darray
tasoc_time : np.array
tasoc_quality : np.array
tasoc_timecorr : np.array
tasoc_cadenceno : np.array
tasoc_flux_raw : np.array
tasoc_flux_raw_err : np.array
tasoc_flux_corr : np.array
tasoc_flux_corr_err : np.array
tasoc_flux_bkg : np.array
tasoc_pixel_quality : np.array
     Quality flags for the data; use these not `tasoc_quality`.
tasoc_pos_corr1 : np.array
tasoc_pos_corr2 : np.array
tasoc_mom_centr1 : np.array
tasoc_mom_centr2 : np.array
two_minute(self, download=False, sectors=None)
Checks to see if short cadence data is available for your target.
 
Parameters
---------- 
download : str, optional
     Allows the user to download the short cadence target pixel files.
     By default, downloads all sectors that are available.
Returns
---------- 
sc : np.ndarray
     If download == True : Returns a list of lightkurve.lightcurve.TessLightCurve object(s).
     If download == False : Returns a lightkurve.search.SearchResult object.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        __all__ = ['Crossmatch']