pyacs.lib.faultslip.v_to_n_ss.v_to_n_ss
- pyacs.lib.faultslip.v_to_n_ss.v_to_n_ss(ve, vn, strike)[source]
Decompose horizontal velocity into normal and strike-slip components.
Point is in the left-domain with respect to the fault. Shortening and right-lateral are positive; extension and left-lateral are negative.
- Parameters:
ve (float or array-like) – East component of motion (any unit).
vn (float or array-like) – North component of motion (any unit).
strike (float or array-like) – Fault strike in decimal degrees.
- Returns:
normal (float or numpy.ndarray) – Normal component, same units as ve, vn.
strike_slip (float or numpy.ndarray) – Strike-slip component, same units as ve, vn.