openquake.hme.model_test_frameworks.gem.gem_testsΒΆ

Functions

L_test(cfg, input_data)

GEM L-Test: joint likelihood test combining spatial and magnitude information to evaluate overall model consistency.

M_test(cfg, input_data)

The M-Test is based on Zechar et al. (2010), though not identical.

N_test(cfg, input_data)

GEM N-Test: compares the total observed earthquake count to the number predicted by the model using a Poisson confidence interval.

S_test(cfg, input_data)

GEM S-Test: evaluates the spatial consistency of the model by comparing per-cell likelihoods of the observed catalog against stochastic catalogs.

catalog_ground_motion_eval(cfg, input_data)

Compares observed ground motions from a flatfile with model-predicted ground motions.

cumulative_occurrence_eval(cfg, input_data)

Evaluates cumulative earthquake occurrence over time for each magnitude bin, comparing the observed temporal pattern to the model rate.

max_mag_check(cfg, input_data)

Checks whether the model can produce earthquakes as large as the largest observed earthquake in each spatial cell.

mfd_likelihood_test(cfg, input_data)

model_mfd_eval(cfg, input_data)

Compares the total model MFD to the observed MFD from the earthquake catalog, producing incremental and cumulative MFD data for reporting.

moment_over_under_eval(cfg, input_data)

Compares observed vs. stochastic seismic moment release per cell and in total, to highlight areas of over- or under-prediction.

rupture_matching_eval(cfg, input_data)

Matches observed earthquakes to modeled ruptures based on proximity, magnitude, and (optionally) focal mechanism similarity.