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