blimpy/file_wrapper.py
def populate_timestamps(self,update_header=False):
        """  Populate time axis.
            IF update_header then only return tstart
        """

        #Check to see how many integrations requested
        ii_start, ii_stop = 0, self.n_ints_in_file
        if self.t_start:
            ii_start = self.t_start
        if self.t_stop:
            ii_stop = self.t_stop

        ## Setup time axis
        t0 = self.header[b'tstart']
        t_delt = self.header[b'tsamp']

        if update_header:
            timestamps = ii_start * t_delt / 24./60./60. + t0
        else:
            timestamps = np.arange(ii_start, ii_stop) * t_delt / 24./60./60. + t0

        return timestamps
def populate_timestamps(self,update_header=False):
        """  Populate time axis.
            IF update_header then only return tstart
        """

        #Check to see how many integrations requested
        ii_start, ii_stop = 0, self.n_ints_in_file
        if self.t_start:
            ii_start = self.t_start
        if self.t_stop:
            ii_stop = self.t_stop

        ## Setup time axis
        t0 = self.header[b'tstart']
        t_delt = self.header[b'tsamp']

        if update_header:
            timestamps = ii_start * t_delt / 24./60./60. + t0
        else:
            timestamps = np.arange(ii_start, ii_stop) * t_delt / 24./60./60. + t0

        return timestamps
def populate_timestamps ( self , update_header = False ) : #Check to see how many integrations requested ii_start , ii_stop = 0 , self . n_ints_in_file if self . t_start : ii_start = self . t_start if self . t_stop : ii_stop = self . t_stop ## Setup time axis t0 = self . header [ b'tstart' ] t_delt = self . header [ b'tsamp' ] if update_header : timestamps = ii_start * t_delt / 24. / 60. / 60. + t0 else : timestamps = np . arange ( ii_start , ii_stop ) * t_delt / 24. / 60. / 60. + t0 return timestamps
Populate time axis.
            IF update_header then only return tstart
Populate time axis . IF update_header then only return tstart