pymgipsim.InputGeneration.signal¶
- class Events(magnitude: ~numpy.ndarray = <factory>, start_time: ~numpy.ndarray = <factory>, duration: ~numpy.ndarray = <factory>)[source]¶
Bases:
object
Stores a series of (duration, magnitude, start time) triplets that uniquely define events which can either be measurement or input.
Events from a scenario file are cast into Events dataclass and vice-versa.
Note
For measurements, duration field is empty array as it is uninterpretable.
- magnitude¶
Defines the magnitudes of the events.
- Type:
Iterable
- start_time¶
Defines the start times of the events in Unix timestamps [min].
- Type:
Iterable
- duration¶
Defines the duration of the events [min].
- Type:
Iterable