Beispiel #1
0
 def one_to_nine_dates(self):
     ts = (np.arange(9, dtype=float) + 1) * 30 * 60
     return utils.datetime_from_timestamp(ts)
Beispiel #2
0
 def late_dates(self):
     ts = (np.arange(48 * 365, dtype=float) + 100) * 30 * 60
     return utils.datetime_from_timestamp(ts)
Beispiel #3
0
 def trim_both_dates(self):
     ts = (np.arange(48 * 365, dtype=float) + 1) * 30 * 60
     ts = ts + (26 * pyEMIS.WEEKLY)
     ts[0] = ts[0] - (pyEMIS.WEEKLY * 2)
     ts[-1] = ts[-1] + (pyEMIS.WEEKLY * 2)
     return utils.datetime_from_timestamp(ts)
Beispiel #4
0
 def dates(self):
     date = ((np.arange(self.n, dtype = float) + 1) * self.date_mu) + np.round(np.random.normal(0, self.date_sigma, self.n))        
     return utils.datetime_from_timestamp(date)