Example #1
0
 def __init__(self,KeplerID):
     self.KID = KeplerID
     self.inSource = iodb.inSource(KeplerID)
     self.inKEPPC = iodb.inKEPPC(KeplerID)
     self.inKEPFP = iodb.inKEPFP(KeplerID)
     self.eData = iodb.getEclipseData(KeplerID)
     self.BJDREFI = iodb.getBJDREFI(KeplerID)
Example #2
0
 def __init__(self, KeplerID):
     self.KID = KeplerID
     self.inSource = iodb.inSource(KeplerID)
     self.inKEPPC = iodb.inKEPPC(KeplerID)
     self.inKEPFP = iodb.inKEPFP(KeplerID)
     self.eData = iodb.getEclipseData(KeplerID)
     self.BJDREFI = iodb.getBJDREFI(KeplerID)
Example #3
0
def returnKIDsInKEPFP(KIDlist):
    """ Iterates through KIDs in list
        and returns a list of KIDs in KEPFP.
    """

    KIDFP = []
    for kid in KIDlist:
        result = inKEPFP(kid)
        if result == True:
            KIDFP.append(kid)
    return KIDFP
Example #4
0
def returnKIDsNonKOI(KIDlist):
    """ Iterates through KIDs in list
        and returns list of KIDs not in KEPPF and KEPPC.
    """
    
    filteredList = []
    for kid in KIDlist:
        FPflag = inKEPFP(kid)
        PCflag = inKEPPC(kid)
        if (FPflag == False) & (PCflag == False):
            filteredList.append(kid)

    return filteredList