pyacs.lib.faultslip

Various routines relating fault parameters, slip and motion across faults

fault_to_corners

Compute 4 fault corner coordinates from origin, dimensions and orientation.

geo_to_strike

Return strike for a fault segment from start and end coordinates.

rake_from_euler

Predict rake for a fault from Euler pole, position and fault strike/dip.

rake_from_slip_az

Predict rake from horizontal slip direction and motion style.

slip_rake_2_ds_ss

Convert slip magnitude and rake to dip-slip and strike-slip components.

ss_ns_2_ve_vn

Convert strike-slip and normal-slip components to east/north velocity.

strike_dip_rake_to_dir

Return azimuth of horizontal motion for given (strike, dip, rake).

unit_normal

Return unit vector normal to the fault plane in ENU (Up positive upward).

unit_slip

Return unit slip vector in ENU convention (Up positive).

v_to_n_ss

Decompose horizontal velocity into normal and strike-slip components.

v_to_rake

Compute expected rake from relative horizontal velocity and fault geometry.