pyacs.lib.faultslip.geo_to_strike.geo_to_strike
- pyacs.lib.faultslip.geo_to_strike.geo_to_strike(ilon, ilat, elon, elat)[source]
Return strike for a fault segment from start and end coordinates.
- Parameters:
ilon (float) – Longitude of fault segment start in decimal degrees.
ilat (float) – Latitude of fault segment start in decimal degrees.
elon (float) – Longitude of fault segment end in decimal degrees.
elat (float) – Latitude of fault segment end in decimal degrees.
- Returns:
Strike in decimal degrees clockwise from north.
- Return type:
float
Notes
Strike is the initial bearing; be cautious with long segments.