gem/oq-hazardlib — pull request #264 by g-weatherill (2014-12-05 15:12:28+00:00)
Title: Implements the Magnitude Scaling Relation of Bonilla et al., (1984)

This PR implements a magnitude scaling relation (MSR) defined by Bonilla et al., 1984. This MSR is useful for older PSHA calculations, and can be found in models such as that of the Philippines (Tenhaus et al., 1990).

The MSR is a magnitude-length scaling relation, rather than the area scaling currently supported by OpenQuake. Currently this is not directly compatible, so we opt to define multiple implementations, each assuming a different rupture aspect ratio. This is a temporary solution to enable implementation of this particular MSR. An overhaul of the scaling relations to support the possibility of defining length, width and displacement scaling will be needed in the future.