pyacs.lib.faultslip.rake_from_slip_az.rake_from_slip_az
- pyacs.lib.faultslip.rake_from_slip_az.rake_from_slip_az(strike, dip, slipdir, motion_type)[source]
Predict rake from horizontal slip direction and motion style.
Input parameters can be single float or 1D numpy array.
- Parameters:
strike (float or numpy.ndarray) – Fault strike from north in decimal degrees.
dip (float or numpy.ndarray) – Fault dip from north in decimal degrees.
slipdir (float or numpy.ndarray) – Slip direction (azimuth) in decimal degrees.
motion_type (str) – Motion style (e.g. ‘inverse’, ‘normal’, ‘leftlateral’, ‘rightlateral’).
- Returns:
Rake in decimal degrees.
- Return type:
float or numpy.ndarray
Notes
Style needs to be provided to ensure the correct sense of slip.