Skip to content

Commit

Permalink
local magnitude: adding central california model
Browse files Browse the repository at this point in the history
  • Loading branch information
miili committed Dec 9, 2024
1 parent d7b36f2 commit a2802b7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/qseek/magnitudes/local_magnitude_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,17 @@ def get_amp_attenuation(dist_hypo_km: float, dist_epi_km: float) -> float:
return 1.11 * np.log10(dist_hypo_km / 100) + 0.00189 * (dist_hypo_km - 100) + 3


class CentralCalifornia(WoodAnderson, LocalMagnitudeModel):
author = "Bakun and Joyner (1984)"

epicentral_range = Range(0.0 * KM, 400.0 * KM)
component = "north-east-separate"

@staticmethod
def get_amp_attenuation(dist_hypo_km: float, dist_epi_km: float) -> float:
return np.log10(dist_epi_km / 100) + 0.00301 * (dist_epi_km - 100) + 3.0


class IaspeiSouthernCalifornia(WoodAnderson, LocalMagnitudeModel):
author = "Hutton and Boore (1987)"

Expand Down

0 comments on commit a2802b7

Please sign in to comment.