Exemple #1
0
 def __init__(self, times, units):
     NumericWithUnits.__init__(self, np.ones(len(times)), "")
     self.signal_base = NumericWithUnits(times, units)
     self._signal_base_amount = self.signal_base._amount
     self._signal_base_units = self.signal_base._units
Exemple #2
0
 def init_on_load(self):
     NumericWithUnits.__init__(
             self, np.ones(len(self._signal_base_amount)), "")
     self.signal_base = NumericWithUnits(
         self._signal_base_amount, self._signal_base_units)
Exemple #3
0
 def __init__(self, times, units):
     NumericWithUnits.__init__(self, np.ones(len(times)), "")
     self.signal_base = NumericWithUnits(
         times, signal_base_units)