Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.59 KB

usage.rst

File metadata and controls

59 lines (40 loc) · 1.59 KB

Usage

pyStrata provides classes to programmatically perform site response analysis. It does not provide a default workflow -- instead it is meant to be used to define custom workflows. However, regardless of the process the follows parts need to be used:

  1. Define the :ref:`input motion <input-motion>`
  2. Construct the :ref:`site profile <site-profile>`
  3. Define the site response :ref:`calculator <calculator>`
  4. Select what :ref:`output <outputs>` should be computed

Once these components are assembled the calculations can be performed and the outputs plotted and saved.

Input motion

.. module:: pystrata.motion

pyStrata permits use of both time series and random vibration theory site response. Time series motions are created using a TimeSeriesMotion and one of three methods. Whereas, Random vibration theory motions are created through three classes: RvtMotion for directly specifiying Fourier amplitudes and durations, CompatibleRvtMotion for specifying the motion by the acceleration-response, and SourceTheoryRvtMotion for computing the motion by point-source parameters.

.. autoclass:: TimeSeriesMotion
   :special-members: __init__
   :members: load_at2_file, load_smc_file

.. autoclass:: RvtMotion
   :special-members: __init__

.. autoclass:: CompatibleRvtMotion
   :special-members: __init__

.. autoclass:: SourceTheoryRvtMotion
   :special-members: __init__


Construct the site profile

Site response calcuator

Outputs