def calc_times(self):
    log = L.getLogger('furby_manager')
    if (not hasattr(self, 'header')):
        self.read_fheader()
    chw = ((self.header.FTOP - self.header.FBOTTOM) / self.header.NCHAN)
    f_chtop = (self.header.FTOP - (chw / 2))
    f_chmid = (f_chtop - ((self.header.NCHAN / 2) * chw))
    f_chbottom = (self.header.FBOTTOM + (chw / 2))
    delay_to_top = ((((4.14881 * 1000000.0) * self.header.DM) * ((f_chtop ** (- 2)) - (f_chmid ** (- 2)))) * 0.001)
    delay_to_bottom = ((((4.14881 * 1000000.0) * self.header.DM) * ((f_chbottom ** (- 2)) - (f_chmid ** (- 2)))) * 0.001)
    self.s_time = (self.i_tstamp + delay_to_top)
    self.e_time = (self.i_tstamp + delay_to_bottom)
    self.c_time = self.i_tstamp
    self.length = ((self.header.NSAMPS * self.header.TSAMP) * 1e-06)
def calc_times(self):
    log = L.getLogger('furby_manager')
    if (not hasattr(self, 'header')):
        self.read_fheader()
    chw = ((self.header.FTOP - self.header.FBOTTOM) / self.header.NCHAN)
    f_chtop = (self.header.FTOP - (chw / 2))
    f_chmid = (f_chtop - ((self.header.NCHAN / 2) * chw))
    f_chbottom = (self.header.FBOTTOM + (chw / 2))
    delay_to_top = ((((4.14881 * 1000000.0) * self.header.DM) * ((f_chtop ** (- 2)) - (f_chmid ** (- 2)))) * 0.001)
    delay_to_bottom = ((((4.14881 * 1000000.0) * self.header.DM) * ((f_chbottom ** (- 2)) - (f_chmid ** (- 2)))) * 0.001)
    self.s_time = (self.i_tstamp + delay_to_top)
    self.e_time = (self.i_tstamp + delay_to_bottom)
    self.c_time = self.i_tstamp
    self.length = ((self.header.NSAMPS * self.header.TSAMP) * 1e-06)