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 returnKIDsInKEPPC(KIDlist):
    """ Iterates through KIDs in list
        and returns a list of KIDs in KEPPC.
    """

    KIDPC = []
    for kid in KIDlist:
        result = inKEPPC(kid)
        if result == True:
            KIDPC.append(kid)
    return KIDPC
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