FAILURE MAP
← Case archive

FA-71557 / Seismic magnitude estimation / Member archive

Wood-Anderson amplitude simulation: trapezoid integration · case 02

Displacement amplitudes shift by half a sample of velocity.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Velocity-sensor counts, sensitivity counts per m/s, sample interval s. Remove the mean, convert to m/s, integrate with the trapezoid rule from 0, take the maximum absolute displacement, multiply by the Wood-Anderson gain 2080 and convert to mm. Return mm rounded to 1e-4, None for an empty trace.

Why this case matters

Wood-Anderson amplitudes are the input to local magnitude.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
trace 30.20450.1598Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗