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)
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)
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
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