def moments(self): """The first two time delay weighted statistical moments of the MA coefficients.""" moment1 = statstools.calc_mean_time(self.delays, self.coefs) moment2 = statstools.calc_mean_time_deviation(self.delays, self.coefs, moment1) return numpy.array([moment1, moment2])
def moments(self) -> Tuple[float, float]: """The first two time delay weighted statistical moments of the MA coefficients.""" moment1 = statstools.calc_mean_time(self.delays, self.coefs) moment2 = statstools.calc_mean_time_deviation(self.delays, self.coefs, moment1) return moment1, moment2
def moments(self): """The first two time delay weighted statistical moments of the instantaneous unit hydrograph.""" delays, response = self.delay_response_series moment1 = statstools.calc_mean_time(delays, response) moment2 = statstools.calc_mean_time_deviation(delays, response, moment1) return numpy.array([moment1, moment2])
def moments(self): """The first two time delay weighted statistical moments of the ARMA response.""" timepoints = self.ma.delays response = self.response moment1 = statstools.calc_mean_time(timepoints, response) moment2 = statstools.calc_mean_time_deviation(timepoints, response, moment1) return numpy.array([moment1, moment2])
def moments(self) -> Tuple[float, float]: """The first two time delay weighted statistical moments of the ARMA response.""" timepoints = self.ma.delays response = self.response moment1 = statstools.calc_mean_time(timepoints, response) moment2 = statstools.calc_mean_time_deviation(timepoints, response, moment1) return moment1, moment2
def moment2(self) -> float: """The second time delay weighted statistical momens of the instantaneous unit hydrograph.""" moment1 = self.moment1 delays, response = self.delay_response_series return statstools.calc_mean_time_deviation(delays, response, moment1)