def __init__(self, bid, bstart, blength, energies=None, photons=None, events = None, filename=None, instrument="gbm", fnyquist = 4096.0, norm='leahy', fluence = None, epeak = None, ttrig = None): ### set burst ID self.bid = bid ### if photons and filename aren't given, then data comes from procdata file if photons is None and not filename: filename = "tte_bn" + str(bid) + "_procdata.dat" Burst.__init__(self, bstart, blength, energies, photons, events, filename, instrument, fnyquist, norm, fluence = fluence, epeak = epeak, ttrig = ttrig) return