GroundMotion
GroundMotion(accel, dt, name='None')Ground Motion Record.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| accel | np.ndarray or list | Ground motion acceleration record in g. | required |
| dt | float | Time step of the record (s). | required |
| name | str | Name of the record (default is ‘None’). | 'None' |
Attributes
| Name | Type | Description |
|---|---|---|
| accel | np.ndarray | Ground motion acceleration record in g. |
| dt | float | Time step of the record (s). |
| name | str | Name of the record. |
| pga | float | Peak ground acceleration in g. |
| mean_period | float | Mean period of the ground motion. |