csep.core.regions.nz_csep_region

csep.core.regions.nz_csep_region(dh_scale=1, magnitudes=None, name='csep-nz', use_midpoint=True)[source]

Return collection region for the New Zealand CSEP testing region

Parameters:
  • dh_scale (int) – factor of two multiple to change the grid size

  • mangitudes (array-like) – array representing the lower bin edges of the magnitude bins

  • name (str) – human readable identifer

  • use_midpoints (bool) – if true, treat values in file as midpoints. default = true.

Returns:

csep.core.spatial.CartesianGrid2D

Raises:

ValueError – dh_scale must be a factor of two