示例#1
0
 def fall_flush_timings_durations(self):
     summer_timings = calc_start_of_summer(self.flow_matrix)
     fall_timings, fall_magnitudes, fall_wet_timings, fall_durations = calc_fall_flush_timings_durations(self.flow_matrix, summer_timings)
     self.fall_timings = np.array(fall_timings, dtype=np.float)
     self.fall_magnitudes = np.array(fall_magnitudes, dtype=np.float)
     self.fall_wet_timings = np.array(fall_wet_timings, dtype=np.float)
     self.fall_durations = np.array(fall_durations, dtype=np.float)
示例#2
0
 def start_of_summer(self):
     summer_timings = calc_start_of_summer(self.flow_matrix)
     self.summer_timings = np.array(summer_timings, dtype=np.float)
示例#3
0
    def start_of_summer(self):

        params = self.params['summer_params'] if self.params else summer_params
        summer_timings = calc_start_of_summer(self.flow_matrix,
                                              self.flow_class, params)
        self.summer_timings = summer_timings