openquake.hazardlib package#
Subpackages#
- openquake.hazardlib.calc package
- Hazardlib calculators
- Disaggregation (disagg)
- Filters (filters)
- Ground Motion Fields (gmf)
- Hazard Curves (hazard_curve)
- Stochastic Event Set (stochastic)
- openquake.hazardlib.geo package
- Surface classes
- openquake.hazardlib.geo.surface package
- Submodules
- openquake.hazardlib.geo.surface.base module
BaseSurface
BaseSurface.get_area()
BaseSurface.get_azimuth()
BaseSurface.get_azimuth_of_closest_point()
BaseSurface.get_bounding_box()
BaseSurface.get_closest_points()
BaseSurface.get_hypo_location()
BaseSurface.get_joyner_boore_distance()
BaseSurface.get_middle_point()
BaseSurface.get_min_distance()
BaseSurface.get_resampled_top_edge()
BaseSurface.get_rx_distance()
BaseSurface.get_ry0_distance()
BaseSurface.get_surface_boundaries()
BaseSurface.get_surface_boundaries_3d()
BaseSurface.get_top_edge_centroid()
BaseSurface.get_top_edge_depth()
downsample_mesh()
downsample_trace()
- openquake.hazardlib.geo.surface.complex_fault module
ComplexFaultSurface
ComplexFaultSurface.check_aki_richards_convention()
ComplexFaultSurface.check_fault_data()
ComplexFaultSurface.check_proj_polygon()
ComplexFaultSurface.check_surface_validity()
ComplexFaultSurface.from_fault_data()
ComplexFaultSurface.get_dip()
ComplexFaultSurface.get_strike()
ComplexFaultSurface.get_width()
ComplexFaultSurface.surface_projection_from_fault_data()
ComplexFaultSurface.tor
complex_fault_node()
edge_node()
- openquake.hazardlib.geo.surface.gridded module
GriddedSurface
GriddedSurface.from_points_list()
GriddedSurface.get_area()
GriddedSurface.get_bounding_box()
GriddedSurface.get_dip()
GriddedSurface.get_joyner_boore_distance()
GriddedSurface.get_middle_point()
GriddedSurface.get_rx_distance()
GriddedSurface.get_ry0_distance()
GriddedSurface.get_strike()
GriddedSurface.get_surface_boundaries()
GriddedSurface.get_surface_boundaries_3d()
GriddedSurface.get_top_edge_depth()
GriddedSurface.get_width()
GriddedSurface.surface_nodes
- openquake.hazardlib.geo.surface.multi module
MultiSurface
MultiSurface.from_csv()
MultiSurface.get_area()
MultiSurface.get_bounding_box()
MultiSurface.get_dip()
MultiSurface.get_joyner_boore_distance()
MultiSurface.get_middle_point()
MultiSurface.get_min_distance()
MultiSurface.get_rx_distance()
MultiSurface.get_ry0_distance()
MultiSurface.get_strike()
MultiSurface.get_surface_boundaries()
MultiSurface.get_surface_boundaries_3d()
MultiSurface.get_top_edge_depth()
MultiSurface.get_width()
MultiSurface.mesh
MultiSurface.surface_nodes
build_msparams()
build_secparams()
- openquake.hazardlib.geo.surface.planar module
PlanarSurface
PlanarSurface.bottom_left
PlanarSurface.bottom_right
PlanarSurface.corner_depths
PlanarSurface.corner_lats
PlanarSurface.corner_lons
PlanarSurface.from_()
PlanarSurface.from_array()
PlanarSurface.from_corner_points()
PlanarSurface.from_hypocenter()
PlanarSurface.from_ucerf()
PlanarSurface.get_area()
PlanarSurface.get_bounding_box()
PlanarSurface.get_closest_points()
PlanarSurface.get_dip()
PlanarSurface.get_joyner_boore_distance()
PlanarSurface.get_middle_point()
PlanarSurface.get_min_distance()
PlanarSurface.get_rx_distance()
PlanarSurface.get_ry0_distance()
PlanarSurface.get_strike()
PlanarSurface.get_surface_boundaries()
PlanarSurface.get_surface_boundaries_3d()
PlanarSurface.get_top_edge_centroid()
PlanarSurface.get_top_edge_depth()
PlanarSurface.get_width()
PlanarSurface.length
PlanarSurface.mesh
PlanarSurface.surface_nodes
PlanarSurface.top_left
PlanarSurface.top_right
PlanarSurface.tor
PlanarSurface.translate()
PlanarSurface.width
build_corners()
build_planar()
build_planar_array()
dot()
get_azimuth()
get_distances_planar()
get_repi()
get_rhypo()
get_rjb()
get_rvolc()
get_rx()
get_ry0()
project()
project_back()
- openquake.hazardlib.geo.surface.simple_fault module
SimpleFaultSurface
SimpleFaultSurface.check_fault_data()
SimpleFaultSurface.from_fault_data()
SimpleFaultSurface.get_dip()
SimpleFaultSurface.get_fault_patch_vertices()
SimpleFaultSurface.get_strike()
SimpleFaultSurface.get_surface_vertexes()
SimpleFaultSurface.get_width()
SimpleFaultSurface.hypocentre_patch_index()
SimpleFaultSurface.surface_projection_from_fault_data()
SimpleFaultSurface.tor
simple_fault_node()
- Module contents
- openquake.hazardlib.geo.surface package
- Geographic primitives and utilities
- geodetic
EARTH_ELEVATION
EARTH_RADIUS
azimuth()
azimuths()
distance()
distance_matrix()
distance_to_arc()
distance_to_semi_arc()
distances()
distances_to_arc()
fast_azimuth()
fast_distance()
fast_point_at()
fast_spherical_to_cartesian()
geodetic_distance()
intervals_between()
min_distance_to_segment()
min_geodetic_distance()
npoints_between()
npoints_towards()
point_at()
spherical_to_cartesian()
- line
- mesh
- nodalplane
- point
- polygon
- utils
BBoxError
OrthographicProjection
PolygonPlotter
SiteAssociationError
angular_distance()
angular_mean()
angular_mean_weighted()
assoc()
assoc_to_polygons()
bbox2poly()
cartesian_to_spherical()
check_extent()
clean_points()
cross_idl()
fix_lon()
geohash()
geohash3()
geohash5()
geolocate()
geolocate_geometries()
get_bbox()
get_bounding_box()
get_dist()
get_middle_point()
get_spherical_bounding_box()
line_intersects_itself()
min_distance()
normalized()
plane_fit()
point_to_polygon_distance()
project_direct()
project_reverse()
triangle_area()
- Module contents
- Surface classes
- openquake.hazardlib.gsim package
- Ground-shaking intensity models
- abrahamson_2014
AbrahamsonEtAl2014
AbrahamsonEtAl2014.COEFFS
AbrahamsonEtAl2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AbrahamsonEtAl2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AbrahamsonEtAl2014.DEFINED_FOR_REFERENCE_VELOCITY
AbrahamsonEtAl2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AbrahamsonEtAl2014.DEFINED_FOR_TECTONIC_REGION_TYPE
AbrahamsonEtAl2014.REQUIRES_DISTANCES
AbrahamsonEtAl2014.REQUIRES_RUPTURE_PARAMETERS
AbrahamsonEtAl2014.REQUIRES_SITES_PARAMETERS
AbrahamsonEtAl2014.compute()
CONSTS
get_epistemic_sigma()
- abrahamson_2015
AbrahamsonEtAl2015SInter
AbrahamsonEtAl2015SInter.COEFFS
AbrahamsonEtAl2015SInter.COEFFS_MAG_SCALE
AbrahamsonEtAl2015SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AbrahamsonEtAl2015SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AbrahamsonEtAl2015SInter.DEFINED_FOR_REFERENCE_VELOCITY
AbrahamsonEtAl2015SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AbrahamsonEtAl2015SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
AbrahamsonEtAl2015SInter.FABA_ALL_MODELS
AbrahamsonEtAl2015SInter.REQUIRES_DISTANCES
AbrahamsonEtAl2015SInter.REQUIRES_RUPTURE_PARAMETERS
AbrahamsonEtAl2015SInter.REQUIRES_SITES_PARAMETERS
AbrahamsonEtAl2015SInter.compute()
AbrahamsonEtAl2015SInter.delta_c1
AbrahamsonEtAl2015SInter.kind
AbrahamsonEtAl2015SInter.trt
AbrahamsonEtAl2015SInterHigh
AbrahamsonEtAl2015SInterLow
AbrahamsonEtAl2015SInter_scaled
AbrahamsonEtAl2015SSlab
AbrahamsonEtAl2015SSlabHigh
AbrahamsonEtAl2015SSlabLow
AbrahamsonEtAl2015SSlab_scaled
get_stress_factor()
- abrahamson_2018
AbrahamsonEtAl2018SInter
AbrahamsonEtAl2018SInter.CASCADIA_ADJUSTMENT
AbrahamsonEtAl2018SInter.COEFFS
AbrahamsonEtAl2018SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AbrahamsonEtAl2018SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AbrahamsonEtAl2018SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AbrahamsonEtAl2018SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
AbrahamsonEtAl2018SInter.EPISTEMIC_ADJUSTMENT
AbrahamsonEtAl2018SInter.REQUIRES_DISTANCES
AbrahamsonEtAl2018SInter.REQUIRES_RUPTURE_PARAMETERS
AbrahamsonEtAl2018SInter.REQUIRES_SITES_PARAMETERS
AbrahamsonEtAl2018SInter.compute()
AbrahamsonEtAl2018SInterHigh
AbrahamsonEtAl2018SInterLow
AbrahamsonEtAl2018SSlab
AbrahamsonEtAl2018SSlabHigh
AbrahamsonEtAl2018SSlabLow
compute_base_term()
compute_depth_term()
compute_distance_term()
compute_magnitude_term()
compute_site_term()
get_inter_event_stddev()
get_stddevs()
get_within_event_stddev()
- abrahamson_gulerce_2020
AbrahamsonGulerce2020SInter
AbrahamsonGulerce2020SInter.COEFFS
AbrahamsonGulerce2020SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AbrahamsonGulerce2020SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AbrahamsonGulerce2020SInter.DEFINED_FOR_REFERENCE_VELOCITY
AbrahamsonGulerce2020SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AbrahamsonGulerce2020SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
AbrahamsonGulerce2020SInter.REQUIRES_ATTRIBUTES
AbrahamsonGulerce2020SInter.REQUIRES_DISTANCES
AbrahamsonGulerce2020SInter.REQUIRES_RUPTURE_PARAMETERS
AbrahamsonGulerce2020SInter.REQUIRES_SITES_PARAMETERS
AbrahamsonGulerce2020SInter.compute()
AbrahamsonGulerce2020SSlab
get_acceleration_on_reference_rock()
get_anelastic_attenuation_term()
get_base_term()
get_epistemic_adjustment()
get_geometric_spreading_term()
get_inslab_scaling_term()
get_magnitude_scaling_term()
get_mean_acceleration()
get_partial_derivative_site_pga()
get_phi_lin_model()
get_reference_basin_depth()
get_rupture_depth_scaling_term()
get_site_amplification_term()
get_tau_phi()
- abrahamson_silva_1997
AbrahamsonSilva1997
AbrahamsonSilva1997.COEFFS
AbrahamsonSilva1997.COEFFS_STD
AbrahamsonSilva1997.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AbrahamsonSilva1997.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AbrahamsonSilva1997.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AbrahamsonSilva1997.DEFINED_FOR_TECTONIC_REGION_TYPE
AbrahamsonSilva1997.REQUIRES_DISTANCES
AbrahamsonSilva1997.REQUIRES_RUPTURE_PARAMETERS
AbrahamsonSilva1997.REQUIRES_SITES_PARAMETERS
AbrahamsonSilva1997.compute()
AbrahamsonSilva1997Vertical
- abrahamson_silva_2008
AbrahamsonSilva2008
AbrahamsonSilva2008.COEFFS
AbrahamsonSilva2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AbrahamsonSilva2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AbrahamsonSilva2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AbrahamsonSilva2008.DEFINED_FOR_TECTONIC_REGION_TYPE
AbrahamsonSilva2008.REQUIRES_DISTANCES
AbrahamsonSilva2008.REQUIRES_RUPTURE_PARAMETERS
AbrahamsonSilva2008.REQUIRES_SITES_PARAMETERS
AbrahamsonSilva2008.compute()
CONSTS
- afshari_stewart_2016
AfshariStewart2016
AfshariStewart2016.COEFFS
AfshariStewart2016.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AfshariStewart2016.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AfshariStewart2016.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AfshariStewart2016.DEFINED_FOR_TECTONIC_REGION_TYPE
AfshariStewart2016.REQUIRES_DISTANCES
AfshariStewart2016.REQUIRES_RUPTURE_PARAMETERS
AfshariStewart2016.REQUIRES_SITES_PARAMETERS
AfshariStewart2016.compute()
AfshariStewart2016.region
AfshariStewart2016Japan
get_distance_term()
get_magnitude_term()
get_site_amplification()
get_stddevs()
- akkar_2013
- akkar_2014
AkkarEtAlRepi2014
AkkarEtAlRhyp2014
AkkarEtAlRjb2014
AkkarEtAlRjb2014.COEFFS
AkkarEtAlRjb2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AkkarEtAlRjb2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AkkarEtAlRjb2014.DEFINED_FOR_REFERENCE_VELOCITY
AkkarEtAlRjb2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AkkarEtAlRjb2014.DEFINED_FOR_TECTONIC_REGION_TYPE
AkkarEtAlRjb2014.REQUIRES_DISTANCES
AkkarEtAlRjb2014.REQUIRES_RUPTURE_PARAMETERS
AkkarEtAlRjb2014.REQUIRES_SITES_PARAMETERS
AkkarEtAlRjb2014.c1
AkkarEtAlRjb2014.compute()
- akkar_bommer_2010
AkkarBommer2010
AkkarBommer2010.COEFFS
AkkarBommer2010.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AkkarBommer2010.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AkkarBommer2010.DEFINED_FOR_REFERENCE_VELOCITY
AkkarBommer2010.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AkkarBommer2010.DEFINED_FOR_TECTONIC_REGION_TYPE
AkkarBommer2010.REQUIRES_DISTANCES
AkkarBommer2010.REQUIRES_RUPTURE_PARAMETERS
AkkarBommer2010.REQUIRES_SITES_PARAMETERS
AkkarBommer2010.compute()
AkkarBommer2010SWISS01
AkkarBommer2010SWISS04
AkkarBommer2010SWISS08
- akkar_bommer_2010_swiss_coeffs
- akkar_cagnan_2010
AkkarCagnan2010
AkkarCagnan2010.COEFFS_AC10
AkkarCagnan2010.COEFFS_SOIL_RESPONSE
AkkarCagnan2010.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AkkarCagnan2010.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AkkarCagnan2010.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AkkarCagnan2010.DEFINED_FOR_TECTONIC_REGION_TYPE
AkkarCagnan2010.REQUIRES_DISTANCES
AkkarCagnan2010.REQUIRES_RUPTURE_PARAMETERS
AkkarCagnan2010.REQUIRES_SITES_PARAMETERS
AkkarCagnan2010.compute()
- allen_2012
Allen2012
Allen2012.COEFFS_DEEP
Allen2012.COEFFS_SHALLOW
Allen2012.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Allen2012.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Allen2012.DEFINED_FOR_REFERENCE_VELOCITY
Allen2012.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Allen2012.DEFINED_FOR_TECTONIC_REGION_TYPE
Allen2012.REQUIRES_DISTANCES
Allen2012.REQUIRES_RUPTURE_PARAMETERS
Allen2012.REQUIRES_SITES_PARAMETERS
Allen2012.compute()
Allen2012_SS14
- allen_2012_ipe
AllenEtAl2012
AllenEtAl2012.COEFFS
AllenEtAl2012.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AllenEtAl2012.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AllenEtAl2012.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AllenEtAl2012.DEFINED_FOR_TECTONIC_REGION_TYPE
AllenEtAl2012.REQUIRES_DISTANCES
AllenEtAl2012.REQUIRES_RUPTURE_PARAMETERS
AllenEtAl2012.REQUIRES_SITES_PARAMETERS
AllenEtAl2012.compute()
AllenEtAl2012Rhypo
- allen_2022
Allen2022
Allen2022.COEFFS
Allen2022.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Allen2022.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Allen2022.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Allen2022.DEFINED_FOR_TECTONIC_REGION_TYPE
Allen2022.REQUIRES_DISTANCES
Allen2022.REQUIRES_RUPTURE_PARAMETERS
Allen2022.REQUIRES_SITES_PARAMETERS
Allen2022.compute()
- ambraseys_2005
AmbraseysEtAl2005
AmbraseysEtAl2005.COEFFS
AmbraseysEtAl2005.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AmbraseysEtAl2005.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AmbraseysEtAl2005.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AmbraseysEtAl2005.DEFINED_FOR_TECTONIC_REGION_TYPE
AmbraseysEtAl2005.REQUIRES_DISTANCES
AmbraseysEtAl2005.REQUIRES_RUPTURE_PARAMETERS
AmbraseysEtAl2005.REQUIRES_SITES_PARAMETERS
AmbraseysEtAl2005.compute()
AmbraseysEtAl2005Vertical
- ameri_2017
Ameri2014Rjb
AmeriEtAl2017Repi
AmeriEtAl2017RepiStressDrop
AmeriEtAl2017Rjb
AmeriEtAl2017Rjb.COEFFS
AmeriEtAl2017Rjb.COEFFS_SIGMA
AmeriEtAl2017Rjb.COEFFS_STRESS
AmeriEtAl2017Rjb.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AmeriEtAl2017Rjb.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AmeriEtAl2017Rjb.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AmeriEtAl2017Rjb.DEFINED_FOR_TECTONIC_REGION_TYPE
AmeriEtAl2017Rjb.REQUIRES_DISTANCES
AmeriEtAl2017Rjb.REQUIRES_RUPTURE_PARAMETERS
AmeriEtAl2017Rjb.REQUIRES_SITES_PARAMETERS
AmeriEtAl2017Rjb.compute()
AmeriEtAl2017Rjb.kind
AmeriEtAl2017RjbStressDrop
- aristeidou_2023
AristeidouEtAl2023
AristeidouEtAl2023.COEFFS
AristeidouEtAl2023.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AristeidouEtAl2023.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AristeidouEtAl2023.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AristeidouEtAl2023.DEFINED_FOR_TECTONIC_REGION_TYPE
AristeidouEtAl2023.REQUIRES_DISTANCES
AristeidouEtAl2023.REQUIRES_RUPTURE_PARAMETERS
AristeidouEtAl2023.REQUIRES_SITES_PARAMETERS
AristeidouEtAl2023.compute()
AristeidouEtAl2023.hor_comp_def
AristeidouEtAl2023RotD100
check_bounds()
- armenia_2016
- arroyo_2010
ArroyoEtAl2010SInter
ArroyoEtAl2010SInter.COEFFS
ArroyoEtAl2010SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ArroyoEtAl2010SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ArroyoEtAl2010SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ArroyoEtAl2010SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
ArroyoEtAl2010SInter.REQUIRES_DISTANCES
ArroyoEtAl2010SInter.REQUIRES_RUPTURE_PARAMETERS
ArroyoEtAl2010SInter.REQUIRES_SITES_PARAMETERS
ArroyoEtAl2010SInter.compute()
- arteta_2021
ArtetaEtAl2021Inter
ArtetaEtAl2021Inter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ArtetaEtAl2021Inter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ArtetaEtAl2021Inter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ArtetaEtAl2021Inter.DEFINED_FOR_TECTONIC_REGION_TYPE
ArtetaEtAl2021Inter.REQUIRES_DISTANCES
ArtetaEtAl2021Inter.REQUIRES_RUPTURE_PARAMETERS
ArtetaEtAl2021Inter.REQUIRES_SITES_PARAMETERS
ArtetaEtAl2021Inter.compute()
ArtetaEtAl2021InterVs30
ArtetaEtAl2021InterVs30.COEFFS
ArtetaEtAl2021InterVs30.COEFFS_SITE
ArtetaEtAl2021InterVs30.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ArtetaEtAl2021InterVs30.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ArtetaEtAl2021InterVs30.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ArtetaEtAl2021InterVs30.DEFINED_FOR_TECTONIC_REGION_TYPE
ArtetaEtAl2021InterVs30.REQUIRES_DISTANCES
ArtetaEtAl2021InterVs30.REQUIRES_RUPTURE_PARAMETERS
ArtetaEtAl2021InterVs30.REQUIRES_SITES_PARAMETERS
ArtetaEtAl2021InterVs30.compute()
ArtetaEtAl2021Slab
ArtetaEtAl2021SlabVs30
- arteta_2023
ArtetaEtAl2023
ArtetaEtAl2023.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ArtetaEtAl2023.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ArtetaEtAl2023.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ArtetaEtAl2023.DEFINED_FOR_TECTONIC_REGION_TYPE
ArtetaEtAl2023.REQUIRES_DISTANCES
ArtetaEtAl2023.REQUIRES_RUPTURE_PARAMETERS
ArtetaEtAl2023.REQUIRES_SITES_PARAMETERS
ArtetaEtAl2023.compute()
ArtetaEtAl2023_Vs30
ArtetaEtAl2023_Vs30.COEFFS
ArtetaEtAl2023_Vs30.COEFFS_SITE
ArtetaEtAl2023_Vs30.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ArtetaEtAl2023_Vs30.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ArtetaEtAl2023_Vs30.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ArtetaEtAl2023_Vs30.DEFINED_FOR_TECTONIC_REGION_TYPE
ArtetaEtAl2023_Vs30.REQUIRES_DISTANCES
ArtetaEtAl2023_Vs30.REQUIRES_RUPTURE_PARAMETERS
ArtetaEtAl2023_Vs30.REQUIRES_SITES_PARAMETERS
ArtetaEtAl2023_Vs30.compute()
- atkinson_2015
Atkinson2015
Atkinson2015.COEFFS
Atkinson2015.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Atkinson2015.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Atkinson2015.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Atkinson2015.DEFINED_FOR_TECTONIC_REGION_TYPE
Atkinson2015.REQUIRES_DISTANCES
Atkinson2015.REQUIRES_RUPTURE_PARAMETERS
Atkinson2015.REQUIRES_SITES_PARAMETERS
Atkinson2015.compute()
Atkinson2015.rsat
Atkinson2015AltDistSat
- atkinson_boore_1995
AtkinsonBoore1995GSCBest
AtkinsonBoore1995GSCBest.COEFFS
AtkinsonBoore1995GSCBest.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AtkinsonBoore1995GSCBest.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AtkinsonBoore1995GSCBest.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AtkinsonBoore1995GSCBest.DEFINED_FOR_TECTONIC_REGION_TYPE
AtkinsonBoore1995GSCBest.REQUIRES_DISTANCES
AtkinsonBoore1995GSCBest.REQUIRES_RUPTURE_PARAMETERS
AtkinsonBoore1995GSCBest.REQUIRES_SITES_PARAMETERS
AtkinsonBoore1995GSCBest.compute()
AtkinsonBoore1995GSCLowerLimit
AtkinsonBoore1995GSCUpperLimit
- atkinson_boore_2003
AtkinsonBoore2003SInter
AtkinsonBoore2003SInter.COEFFS_SINTER
AtkinsonBoore2003SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AtkinsonBoore2003SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AtkinsonBoore2003SInter.DEFINED_FOR_REFERENCE_VELOCITY
AtkinsonBoore2003SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AtkinsonBoore2003SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
AtkinsonBoore2003SInter.REQUIRES_DISTANCES
AtkinsonBoore2003SInter.REQUIRES_RUPTURE_PARAMETERS
AtkinsonBoore2003SInter.REQUIRES_SITES_PARAMETERS
AtkinsonBoore2003SInter.compute()
AtkinsonBoore2003SInter.kind
AtkinsonBoore2003SInterNSHMP2008
AtkinsonBoore2003SSlab
AtkinsonBoore2003SSlabCascadia
AtkinsonBoore2003SSlabCascadiaNSHMP2008
AtkinsonBoore2003SSlabJapan
AtkinsonBoore2003SSlabJapanNSHMP2008
AtkinsonBoore2003SSlabNSHMP2008
- atkinson_boore_2006
AtkinsonBoore2006
AtkinsonBoore2006.COEFFS_BC
AtkinsonBoore2006.COEFFS_HARD_ROCK
AtkinsonBoore2006.COEFFS_SOIL_RESPONSE
AtkinsonBoore2006.COEFFS_STRESS
AtkinsonBoore2006.CUTOFF_RRUP
AtkinsonBoore2006.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AtkinsonBoore2006.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AtkinsonBoore2006.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AtkinsonBoore2006.DEFINED_FOR_TECTONIC_REGION_TYPE
AtkinsonBoore2006.REQUIRES_ATTRIBUTES
AtkinsonBoore2006.REQUIRES_DISTANCES
AtkinsonBoore2006.REQUIRES_RUPTURE_PARAMETERS
AtkinsonBoore2006.REQUIRES_SITES_PARAMETERS
AtkinsonBoore2006.compute()
AtkinsonBoore2006.kind
AtkinsonBoore2006Modified2011
AtkinsonBoore2006SGS
set_sig()
- atkinson_macias_2009
AtkinsonMacias2009
AtkinsonMacias2009.COEFFS
AtkinsonMacias2009.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
AtkinsonMacias2009.DEFINED_FOR_INTENSITY_MEASURE_TYPES
AtkinsonMacias2009.DEFINED_FOR_STANDARD_DEVIATION_TYPES
AtkinsonMacias2009.DEFINED_FOR_TECTONIC_REGION_TYPE
AtkinsonMacias2009.REQUIRES_DISTANCES
AtkinsonMacias2009.REQUIRES_RUPTURE_PARAMETERS
AtkinsonMacias2009.REQUIRES_SITES_PARAMETERS
AtkinsonMacias2009.compute()
- bahrampouri_2021_Arias_Intensity
BahrampouriEtAl2021Asc
BahrampouriEtAl2021Asc.COEFFS
BahrampouriEtAl2021Asc.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BahrampouriEtAl2021Asc.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BahrampouriEtAl2021Asc.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BahrampouriEtAl2021Asc.DEFINED_FOR_TECTONIC_REGION_TYPE
BahrampouriEtAl2021Asc.REQUIRES_DISTANCES
BahrampouriEtAl2021Asc.REQUIRES_RUPTURE_PARAMETERS
BahrampouriEtAl2021Asc.REQUIRES_SITES_PARAMETERS
BahrampouriEtAl2021Asc.compute()
BahrampouriEtAl2021SInter
BahrampouriEtAl2021SInter.COEFFS
BahrampouriEtAl2021SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BahrampouriEtAl2021SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BahrampouriEtAl2021SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BahrampouriEtAl2021SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
BahrampouriEtAl2021SInter.REQUIRES_DISTANCES
BahrampouriEtAl2021SInter.REQUIRES_RUPTURE_PARAMETERS
BahrampouriEtAl2021SInter.REQUIRES_SITES_PARAMETERS
BahrampouriEtAl2021SInter.compute()
BahrampouriEtAl2021SSlab
BahrampouriEtAl2021SSlab.COEFFS
BahrampouriEtAl2021SSlab.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BahrampouriEtAl2021SSlab.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BahrampouriEtAl2021SSlab.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BahrampouriEtAl2021SSlab.DEFINED_FOR_TECTONIC_REGION_TYPE
BahrampouriEtAl2021SSlab.REQUIRES_DISTANCES
BahrampouriEtAl2021SSlab.REQUIRES_RUPTURE_PARAMETERS
BahrampouriEtAl2021SSlab.REQUIRES_SITES_PARAMETERS
BahrampouriEtAl2021SSlab.compute()
- bahrampouri_2021_duration
BahrampouriEtAldm2021Asc
BahrampouriEtAldm2021Asc.COEFFS
BahrampouriEtAldm2021Asc.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BahrampouriEtAldm2021Asc.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BahrampouriEtAldm2021Asc.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BahrampouriEtAldm2021Asc.DEFINED_FOR_TECTONIC_REGION_TYPE
BahrampouriEtAldm2021Asc.REQUIRES_DISTANCES
BahrampouriEtAldm2021Asc.REQUIRES_RUPTURE_PARAMETERS
BahrampouriEtAldm2021Asc.REQUIRES_SITES_PARAMETERS
BahrampouriEtAldm2021Asc.compute()
BahrampouriEtAldm2021SInter
BahrampouriEtAldm2021SInter.COEFFS
BahrampouriEtAldm2021SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BahrampouriEtAldm2021SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BahrampouriEtAldm2021SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BahrampouriEtAldm2021SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
BahrampouriEtAldm2021SInter.REQUIRES_DISTANCES
BahrampouriEtAldm2021SInter.REQUIRES_RUPTURE_PARAMETERS
BahrampouriEtAldm2021SInter.REQUIRES_SITES_PARAMETERS
BahrampouriEtAldm2021SSlab
BahrampouriEtAldm2021SSlab.COEFFS
BahrampouriEtAldm2021SSlab.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BahrampouriEtAldm2021SSlab.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BahrampouriEtAldm2021SSlab.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BahrampouriEtAldm2021SSlab.DEFINED_FOR_TECTONIC_REGION_TYPE
BahrampouriEtAldm2021SSlab.REQUIRES_DISTANCES
BahrampouriEtAldm2021SSlab.REQUIRES_RUPTURE_PARAMETERS
BahrampouriEtAldm2021SSlab.REQUIRES_SITES_PARAMETERS
- baumont_2018
BaumontEtAl2018High2210IAVGDC30n7
BaumontEtAl2018High2210IAVGDC30n7.COEFFS
BaumontEtAl2018High2210IAVGDC30n7.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BaumontEtAl2018High2210IAVGDC30n7.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BaumontEtAl2018High2210IAVGDC30n7.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BaumontEtAl2018High2210IAVGDC30n7.DEFINED_FOR_TECTONIC_REGION_TYPE
BaumontEtAl2018High2210IAVGDC30n7.REQUIRES_DISTANCES
BaumontEtAl2018High2210IAVGDC30n7.REQUIRES_RUPTURE_PARAMETERS
BaumontEtAl2018High2210IAVGDC30n7.REQUIRES_SITES_PARAMETERS
BaumontEtAl2018High2210IAVGDC30n7.compute()
- bayless_abrahamson_2018
BaylessAbrahamson2018
BaylessAbrahamson2018.COEFFS
BaylessAbrahamson2018.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BaylessAbrahamson2018.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BaylessAbrahamson2018.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BaylessAbrahamson2018.DEFINED_FOR_TECTONIC_REGION_TYPE
BaylessAbrahamson2018.REQUIRES_DISTANCES
BaylessAbrahamson2018.REQUIRES_RUPTURE_PARAMETERS
BaylessAbrahamson2018.REQUIRES_SITES_PARAMETERS
BaylessAbrahamson2018.compute()
BaylessAbrahamson2018.f
- bchydro_2016_epistemic
- berge_thierry_2003
BergeThierryEtAl2003Ms
BergeThierryEtAl2003Ms.COEFFS
BergeThierryEtAl2003Ms.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BergeThierryEtAl2003Ms.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BergeThierryEtAl2003Ms.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BergeThierryEtAl2003Ms.DEFINED_FOR_TECTONIC_REGION_TYPE
BergeThierryEtAl2003Ms.REQUIRES_DISTANCES
BergeThierryEtAl2003Ms.REQUIRES_RUPTURE_PARAMETERS
BergeThierryEtAl2003Ms.REQUIRES_SITES_PARAMETERS
BergeThierryEtAl2003Ms.compute()
BergeThierryEtAl2003Ms.mag_conversion_sigma
BergeThierryEtAl2003MwL_GBL
BergeThierryEtAl2003MwL_ITA
BergeThierryEtAl2003MwL_MED
BergeThierryEtAl2003MwW
BergeThierryEtAl2003SIGMA
- bindi_2011
BindiEtAl2011
BindiEtAl2011.COEFFS
BindiEtAl2011.COEFFS_DELTA
BindiEtAl2011.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BindiEtAl2011.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BindiEtAl2011.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BindiEtAl2011.DEFINED_FOR_TECTONIC_REGION_TYPE
BindiEtAl2011.REQUIRES_DISTANCES
BindiEtAl2011.REQUIRES_RUPTURE_PARAMETERS
BindiEtAl2011.REQUIRES_SITES_PARAMETERS
BindiEtAl2011.compute()
BindiEtAl2011.sgn
BindiEtAl2011Ita19Low
BindiEtAl2011Ita19Upp
- bindi_2011_ipe
BindiEtAl2011Repi
BindiEtAl2011Repi.COEFFS
BindiEtAl2011Repi.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BindiEtAl2011Repi.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BindiEtAl2011Repi.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BindiEtAl2011Repi.DEFINED_FOR_TECTONIC_REGION_TYPE
BindiEtAl2011Repi.REQUIRES_DISTANCES
BindiEtAl2011Repi.REQUIRES_RUPTURE_PARAMETERS
BindiEtAl2011Repi.REQUIRES_SITES_PARAMETERS
BindiEtAl2011Repi.compute()
BindiEtAl2011Repi.fixedh
BindiEtAl2011RepiFixedH
- bindi_2011scaled
- bindi_2014
BindiEtAl2014Rhyp
BindiEtAl2014RhypEC8
BindiEtAl2014RhypEC8NoSOF
BindiEtAl2014Rjb
BindiEtAl2014Rjb.COEFFS
BindiEtAl2014Rjb.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BindiEtAl2014Rjb.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BindiEtAl2014Rjb.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BindiEtAl2014Rjb.DEFINED_FOR_TECTONIC_REGION_TYPE
BindiEtAl2014Rjb.REQUIRES_DISTANCES
BindiEtAl2014Rjb.REQUIRES_RUPTURE_PARAMETERS
BindiEtAl2014Rjb.REQUIRES_SITES_PARAMETERS
BindiEtAl2014Rjb.compute()
BindiEtAl2014Rjb.kind
BindiEtAl2014Rjb.sof
BindiEtAl2014RjbEC8
BindiEtAl2014RjbEC8NoSOF
- bindi_2014scaled
- bindi_2017
BindiEtAl2017Rhypo
BindiEtAl2017Rjb
BindiEtAl2017Rjb.COEFFS
BindiEtAl2017Rjb.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BindiEtAl2017Rjb.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BindiEtAl2017Rjb.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BindiEtAl2017Rjb.DEFINED_FOR_TECTONIC_REGION_TYPE
BindiEtAl2017Rjb.REQUIRES_DISTANCES
BindiEtAl2017Rjb.REQUIRES_RUPTURE_PARAMETERS
BindiEtAl2017Rjb.REQUIRES_SITES_PARAMETERS
BindiEtAl2017Rjb.compute()
- bommer_2009
BommerEtAl2009RSD
BommerEtAl2009RSD.COEFFS
BommerEtAl2009RSD.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BommerEtAl2009RSD.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BommerEtAl2009RSD.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BommerEtAl2009RSD.DEFINED_FOR_TECTONIC_REGION_TYPE
BommerEtAl2009RSD.REQUIRES_DISTANCES
BommerEtAl2009RSD.REQUIRES_RUPTURE_PARAMETERS
BommerEtAl2009RSD.REQUIRES_SITES_PARAMETERS
BommerEtAl2009RSD.compute()
get_distance_term()
get_magnitude_term()
get_site_amplification()
get_stddevs()
get_ztor_term()
- boore_1993
BooreEtAl1993GSCBest
BooreEtAl1993GSCBest.COEFFS
BooreEtAl1993GSCBest.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BooreEtAl1993GSCBest.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BooreEtAl1993GSCBest.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BooreEtAl1993GSCBest.DEFINED_FOR_TECTONIC_REGION_TYPE
BooreEtAl1993GSCBest.REQUIRES_DISTANCES
BooreEtAl1993GSCBest.REQUIRES_RUPTURE_PARAMETERS
BooreEtAl1993GSCBest.REQUIRES_SITES_PARAMETERS
BooreEtAl1993GSCBest.compute()
BooreEtAl1993GSCLowerLimit
BooreEtAl1993GSCUpperLimit
- boore_1997
BooreEtAl1997ArbitraryHorizontal
BooreEtAl1997ArbitraryHorizontalUnspecified
BooreEtAl1997GeometricMean
BooreEtAl1997GeometricMean.COEFFS
BooreEtAl1997GeometricMean.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BooreEtAl1997GeometricMean.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BooreEtAl1997GeometricMean.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BooreEtAl1997GeometricMean.DEFINED_FOR_TECTONIC_REGION_TYPE
BooreEtAl1997GeometricMean.REQUIRES_DISTANCES
BooreEtAl1997GeometricMean.REQUIRES_RUPTURE_PARAMETERS
BooreEtAl1997GeometricMean.REQUIRES_SITES_PARAMETERS
BooreEtAl1997GeometricMean.compute()
BooreEtAl1997GeometricMean.horizontal
BooreEtAl1997GeometricMean.sof
BooreEtAl1997GeometricMeanUnspecified
- boore_2014
BooreEtAl2014
BooreEtAl2014.COEFFS
BooreEtAl2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BooreEtAl2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BooreEtAl2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BooreEtAl2014.DEFINED_FOR_TECTONIC_REGION_TYPE
BooreEtAl2014.REQUIRES_DISTANCES
BooreEtAl2014.REQUIRES_RUPTURE_PARAMETERS
BooreEtAl2014.REQUIRES_SITES_PARAMETERS
BooreEtAl2014.compute()
BooreEtAl2014.kind
BooreEtAl2014HighQ
BooreEtAl2014LowQ
california_basin_model()
cls
japan_basin_model()
- boore_2020
BooreEtAl2020
BooreEtAl2020.COEFFS
BooreEtAl2020.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BooreEtAl2020.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BooreEtAl2020.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BooreEtAl2020.DEFINED_FOR_TECTONIC_REGION_TYPE
BooreEtAl2020.REQUIRES_DISTANCES
BooreEtAl2020.REQUIRES_RUPTURE_PARAMETERS
BooreEtAl2020.REQUIRES_SITES_PARAMETERS
BooreEtAl2020.compute()
- boore_atkinson_2008
Atkinson2010Hawaii
BooreAtkinson2008
BooreAtkinson2008.COEFFS
BooreAtkinson2008.COEFFS_A08
BooreAtkinson2008.COEFFS_SOIL_RESPONSE
BooreAtkinson2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BooreAtkinson2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BooreAtkinson2008.DEFINED_FOR_REFERENCE_VELOCITY
BooreAtkinson2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BooreAtkinson2008.DEFINED_FOR_TECTONIC_REGION_TYPE
BooreAtkinson2008.REQUIRES_DISTANCES
BooreAtkinson2008.REQUIRES_RUPTURE_PARAMETERS
BooreAtkinson2008.REQUIRES_SITES_PARAMETERS
BooreAtkinson2008.compute()
BooreAtkinson2008.kind
BooreAtkinson2008.sgn
hawaii_adjust()
- boore_atkinson_2011
- bora_2019
BoraEtAl2019
BoraEtAl2019.COEFFS
BoraEtAl2019.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BoraEtAl2019.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BoraEtAl2019.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BoraEtAl2019.DEFINED_FOR_TECTONIC_REGION_TYPE
BoraEtAl2019.REQUIRES_DISTANCES
BoraEtAl2019.REQUIRES_RUPTURE_PARAMETERS
BoraEtAl2019.REQUIRES_SITES_PARAMETERS
BoraEtAl2019.compute()
BoraEtAl2019Drvt
- bozorgnia_campbell_2016
BozorgniaCampbell2016
BozorgniaCampbell2016.COEFFS
BozorgniaCampbell2016.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BozorgniaCampbell2016.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BozorgniaCampbell2016.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BozorgniaCampbell2016.DEFINED_FOR_TECTONIC_REGION_TYPE
BozorgniaCampbell2016.REQUIRES_DISTANCES
BozorgniaCampbell2016.REQUIRES_RUPTURE_PARAMETERS
BozorgniaCampbell2016.REQUIRES_SITES_PARAMETERS
BozorgniaCampbell2016.compute()
get_mean_values()
- bozorgnia_campbell_2016_vh
BozorgniaCampbell2016AveQJapanSiteVH
BozorgniaCampbell2016HighQJapanSiteVH
BozorgniaCampbell2016HighQVH
BozorgniaCampbell2016LowQJapanSiteVH
BozorgniaCampbell2016LowQVH
BozorgniaCampbell2016VH
BozorgniaCampbell2016VH.COEFFS
BozorgniaCampbell2016VH.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
BozorgniaCampbell2016VH.DEFINED_FOR_INTENSITY_MEASURE_TYPES
BozorgniaCampbell2016VH.DEFINED_FOR_STANDARD_DEVIATION_TYPES
BozorgniaCampbell2016VH.DEFINED_FOR_TECTONIC_REGION_TYPE
BozorgniaCampbell2016VH.HGMPE
BozorgniaCampbell2016VH.REQUIRES_DISTANCES
BozorgniaCampbell2016VH.REQUIRES_RUPTURE_PARAMETERS
BozorgniaCampbell2016VH.REQUIRES_SITES_PARAMETERS
BozorgniaCampbell2016VH.VGMPE
BozorgniaCampbell2016VH.compute()
- bradley_2013
Bradley2013
Bradley2013.COEFFS
Bradley2013.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Bradley2013.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Bradley2013.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Bradley2013.DEFINED_FOR_TECTONIC_REGION_TYPE
Bradley2013.REQUIRES_DISTANCES
Bradley2013.REQUIRES_RUPTURE_PARAMETERS
Bradley2013.REQUIRES_SITES_PARAMETERS
Bradley2013.additional_sigma
Bradley2013.compute()
Bradley2013AdditionalSigma
Bradley2013LHC
Bradley2013Volc
Bradley2013VolcLHC
Bradley2013bChchCBD
Bradley2013bChchCBDAdditionalSigma
Bradley2013bChchEast
Bradley2013bChchEastAdditionalSigma
Bradley2013bChchMaps
Bradley2013bChchMapsAdditionalSigma
Bradley2013bChchNorth
Bradley2013bChchNorthAdditionalSigma
Bradley2013bChchWest
Bradley2013bChchWestAdditionalSigma
convert_to_LHC()
set_adjusted_stddevs()
set_stddevs()
- campbell_1997
Campbell1997
Campbell1997.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Campbell1997.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Campbell1997.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Campbell1997.DEFINED_FOR_TECTONIC_REGION_TYPE
Campbell1997.REQUIRES_DISTANCES
Campbell1997.REQUIRES_RUPTURE_PARAMETERS
Campbell1997.REQUIRES_SITES_PARAMETERS
Campbell1997.compute()
get_Shr_term()
get_Ssr_term()
get_fault_term()
- campbell_2003
Campbell2003
Campbell2003.COEFFS
Campbell2003.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Campbell2003.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Campbell2003.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Campbell2003.DEFINED_FOR_TECTONIC_REGION_TYPE
Campbell2003.REQUIRES_DISTANCES
Campbell2003.REQUIRES_RUPTURE_PARAMETERS
Campbell2003.REQUIRES_SITES_PARAMETERS
Campbell2003.compute()
Campbell2003.kind
Campbell2003MblgAB1987NSHMP2008
Campbell2003MblgJ1996NSHMP2008
Campbell2003MwNSHMP2008
Campbell2003SHARE
- campbell_bozorgnia_2003
CampbellBozorgnia2003NSHMP2007
CampbellBozorgnia2003NSHMP2007.COEFFS
CampbellBozorgnia2003NSHMP2007.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
CampbellBozorgnia2003NSHMP2007.DEFINED_FOR_INTENSITY_MEASURE_TYPES
CampbellBozorgnia2003NSHMP2007.DEFINED_FOR_REFERENCE_VELOCITY
CampbellBozorgnia2003NSHMP2007.DEFINED_FOR_STANDARD_DEVIATION_TYPES
CampbellBozorgnia2003NSHMP2007.DEFINED_FOR_TECTONIC_REGION_TYPE
CampbellBozorgnia2003NSHMP2007.REQUIRES_DISTANCES
CampbellBozorgnia2003NSHMP2007.REQUIRES_RUPTURE_PARAMETERS
CampbellBozorgnia2003NSHMP2007.REQUIRES_SITES_PARAMETERS
CampbellBozorgnia2003NSHMP2007.compute()
- campbell_bozorgnia_2008
CampbellBozorgnia2008
CampbellBozorgnia2008.COEFFS
CampbellBozorgnia2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
CampbellBozorgnia2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
CampbellBozorgnia2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
CampbellBozorgnia2008.DEFINED_FOR_TECTONIC_REGION_TYPE
CampbellBozorgnia2008.REQUIRES_DISTANCES
CampbellBozorgnia2008.REQUIRES_RUPTURE_PARAMETERS
CampbellBozorgnia2008.REQUIRES_SITES_PARAMETERS
CampbellBozorgnia2008.compute()
CampbellBozorgnia2008.kind
CampbellBozorgnia2008Arbitrary
- campbell_bozorgnia_2014
CampbellBozorgnia2014
CampbellBozorgnia2014.COEFFS
CampbellBozorgnia2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
CampbellBozorgnia2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
CampbellBozorgnia2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
CampbellBozorgnia2014.DEFINED_FOR_TECTONIC_REGION_TYPE
CampbellBozorgnia2014.REQUIRES_DISTANCES
CampbellBozorgnia2014.REQUIRES_RUPTURE_PARAMETERS
CampbellBozorgnia2014.REQUIRES_SITES_PARAMETERS
CampbellBozorgnia2014.compute()
CampbellBozorgnia2019
get_mean_values()
- cauzzi_2014
CauzziEtAl2014
CauzziEtAl2014.COEFFS
CauzziEtAl2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
CauzziEtAl2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
CauzziEtAl2014.DEFINED_FOR_REFERENCE_VELOCITY
CauzziEtAl2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
CauzziEtAl2014.DEFINED_FOR_TECTONIC_REGION_TYPE
CauzziEtAl2014.REQUIRES_DISTANCES
CauzziEtAl2014.REQUIRES_RUPTURE_PARAMETERS
CauzziEtAl2014.REQUIRES_SITES_PARAMETERS
CauzziEtAl2014.compute()
CauzziEtAl2014.sof
CauzziEtAl2014Eurocode8
CauzziEtAl2014Eurocode8NoSOF
CauzziEtAl2014Eurocode8scaled
CauzziEtAl2014FixedVs30
CauzziEtAl2014FixedVs30NoSOF
CauzziEtAl2014NoSOF
CauzziEtAl2014RhypoGermany
rhypo_to_rrup()
- cauzzi_faccioli_2008
CauzziFaccioli2008
CauzziFaccioli2008.COEFFS
CauzziFaccioli2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
CauzziFaccioli2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
CauzziFaccioli2008.DEFINED_FOR_REFERENCE_VELOCITY
CauzziFaccioli2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
CauzziFaccioli2008.DEFINED_FOR_TECTONIC_REGION_TYPE
CauzziFaccioli2008.REQUIRES_DISTANCES
CauzziFaccioli2008.REQUIRES_RUPTURE_PARAMETERS
CauzziFaccioli2008.REQUIRES_SITES_PARAMETERS
CauzziFaccioli2008.compute()
CauzziFaccioli2008.kind
FaccioliEtAl2010
- cauzzi_faccioli_2008_swiss
- cauzzi_faccioli_2008_swiss_coeffs
- chao_2020
ChaoEtAl2020Asc
ChaoEtAl2020SInter
ChaoEtAl2020SInter.COEFFS
ChaoEtAl2020SInter.CONST_FAULT
ChaoEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ChaoEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ChaoEtAl2020SInter.DEFINED_FOR_REFERENCE_VELOCITY
ChaoEtAl2020SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ChaoEtAl2020SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
ChaoEtAl2020SInter.MC
ChaoEtAl2020SInter.REQUIRES_ATTRIBUTES
ChaoEtAl2020SInter.REQUIRES_DISTANCES
ChaoEtAl2020SInter.REQUIRES_RUPTURE_PARAMETERS
ChaoEtAl2020SInter.REQUIRES_SITES_PARAMETERS
ChaoEtAl2020SInter.SBCR
ChaoEtAl2020SInter.SUFFIX
ChaoEtAl2020SInter.compute()
ChaoEtAl2020SSlab
get_stddevs()
- chiou_youngs_2008
ChiouYoungs2008
ChiouYoungs2008.COEFFS
ChiouYoungs2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ChiouYoungs2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ChiouYoungs2008.DEFINED_FOR_REFERENCE_VELOCITY
ChiouYoungs2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ChiouYoungs2008.DEFINED_FOR_TECTONIC_REGION_TYPE
ChiouYoungs2008.REQUIRES_DISTANCES
ChiouYoungs2008.REQUIRES_RUPTURE_PARAMETERS
ChiouYoungs2008.REQUIRES_SITES_PARAMETERS
ChiouYoungs2008.compute()
- chiou_youngs_2008_swiss
- chiou_youngs_2008_swiss_coeffs
- chiou_youngs_2014
ChiouYoungs2014
ChiouYoungs2014.COEFFS
ChiouYoungs2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ChiouYoungs2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ChiouYoungs2014.DEFINED_FOR_REFERENCE_VELOCITY
ChiouYoungs2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ChiouYoungs2014.DEFINED_FOR_TECTONIC_REGION_TYPE
ChiouYoungs2014.REQUIRES_DISTANCES
ChiouYoungs2014.REQUIRES_RUPTURE_PARAMETERS
ChiouYoungs2014.REQUIRES_SITES_PARAMETERS
ChiouYoungs2014.adapted
ChiouYoungs2014.compute()
ChiouYoungs2014ACME2019
ChiouYoungs2014NearFaultEffect
ChiouYoungs2014PEER
get_delta_c1()
get_directivity()
get_far_field_distance_scaling_1()
get_far_field_distance_scaling_2()
get_far_field_distance_scaling_3()
get_far_field_distance_scaling_4()
get_geometric_spreading()
get_hanging_wall_term()
get_linear_site_term()
get_ln_y_ref()
get_magnitude_scaling()
get_mean_stddevs()
get_nonlinear_site_term()
get_phi()
get_source_scaling_terms()
get_stddevs()
get_stress_scaling()
get_tau()
- climent_1994
ClimentEtAl1994
ClimentEtAl1994.COEFFS
ClimentEtAl1994.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ClimentEtAl1994.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ClimentEtAl1994.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ClimentEtAl1994.DEFINED_FOR_TECTONIC_REGION_TYPE
ClimentEtAl1994.REQUIRES_DISTANCES
ClimentEtAl1994.REQUIRES_RUPTURE_PARAMETERS
ClimentEtAl1994.REQUIRES_SITES_PARAMETERS
ClimentEtAl1994.compute()
- coeffs_table
AdaptedWarning
ExperimentalWarning
GMPE
GroundShakingIntensityModel
GroundShakingIntensityModel.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
GroundShakingIntensityModel.DEFINED_FOR_INTENSITY_MEASURE_TYPES
GroundShakingIntensityModel.DEFINED_FOR_STANDARD_DEVIATION_TYPES
GroundShakingIntensityModel.DEFINED_FOR_TECTONIC_REGION_TYPE
GroundShakingIntensityModel.REQUIRES_ATTRIBUTES
GroundShakingIntensityModel.REQUIRES_DISTANCES
GroundShakingIntensityModel.REQUIRES_RUPTURE_PARAMETERS
GroundShakingIntensityModel.REQUIRES_SITES_PARAMETERS
GroundShakingIntensityModel.adapted
GroundShakingIntensityModel.experimental
GroundShakingIntensityModel.get_mean_and_stddevs()
GroundShakingIntensityModel.non_verified
GroundShakingIntensityModel.requires()
GroundShakingIntensityModel.superseded_by
MetaGSIM
NotVerifiedWarning
add_alias()
bad_methods()
to_distribution_values()
- convertito_2012
ConvertitoEtAl2012Geysers
ConvertitoEtAl2012Geysers.COEFFS
ConvertitoEtAl2012Geysers.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ConvertitoEtAl2012Geysers.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ConvertitoEtAl2012Geysers.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ConvertitoEtAl2012Geysers.DEFINED_FOR_TECTONIC_REGION_TYPE
ConvertitoEtAl2012Geysers.REQUIRES_DISTANCES
ConvertitoEtAl2012Geysers.REQUIRES_RUPTURE_PARAMETERS
ConvertitoEtAl2012Geysers.REQUIRES_SITES_PARAMETERS
ConvertitoEtAl2012Geysers.compute()
ConvertitoEtAl2012Geysers.non_verified
- derras_2014
DerrasEtAl2014
DerrasEtAl2014.B_1
DerrasEtAl2014.COEFFS
DerrasEtAl2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
DerrasEtAl2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
DerrasEtAl2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
DerrasEtAl2014.DEFINED_FOR_TECTONIC_REGION_TYPE
DerrasEtAl2014.REQUIRES_DISTANCES
DerrasEtAl2014.REQUIRES_RUPTURE_PARAMETERS
DerrasEtAl2014.REQUIRES_SITES_PARAMETERS
DerrasEtAl2014.W_1
DerrasEtAl2014.adjustment_factor
DerrasEtAl2014.compute()
DerrasEtAl2014.region
DerrasEtAl2014RhypoGermany
get_mean()
get_pn()
rhypo_to_rjb()
- dost_2004
DostEtAl2004
DostEtAl2004.COEFFS
DostEtAl2004.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
DostEtAl2004.DEFINED_FOR_INTENSITY_MEASURE_TYPES
DostEtAl2004.DEFINED_FOR_STANDARD_DEVIATION_TYPES
DostEtAl2004.DEFINED_FOR_TECTONIC_REGION_TYPE
DostEtAl2004.REQUIRES_DISTANCES
DostEtAl2004.REQUIRES_RUPTURE_PARAMETERS
DostEtAl2004.REQUIRES_SITES_PARAMETERS
DostEtAl2004.compute()
DostEtAl2004.kind
DostEtAl2004.non_verified
DostEtAl2004BommerAdaptation
- douglas_stochastic_2013
DouglasEtAl2013StochasticSD001Q1800K005
DouglasEtAl2013StochasticSD001Q1800K020
DouglasEtAl2013StochasticSD001Q1800K040
DouglasEtAl2013StochasticSD001Q1800K060
DouglasEtAl2013StochasticSD001Q200K005
DouglasEtAl2013StochasticSD001Q200K005.COEFFS
DouglasEtAl2013StochasticSD001Q200K005.COEFFS_SIGMA
DouglasEtAl2013StochasticSD001Q200K005.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
DouglasEtAl2013StochasticSD001Q200K005.DEFINED_FOR_INTENSITY_MEASURE_TYPES
DouglasEtAl2013StochasticSD001Q200K005.DEFINED_FOR_REFERENCE_VELOCITY
DouglasEtAl2013StochasticSD001Q200K005.DEFINED_FOR_STANDARD_DEVIATION_TYPES
DouglasEtAl2013StochasticSD001Q200K005.DEFINED_FOR_TECTONIC_REGION_TYPE
DouglasEtAl2013StochasticSD001Q200K005.REQUIRES_DISTANCES
DouglasEtAl2013StochasticSD001Q200K005.REQUIRES_RUPTURE_PARAMETERS
DouglasEtAl2013StochasticSD001Q200K005.REQUIRES_SITES_PARAMETERS
DouglasEtAl2013StochasticSD001Q200K005.compute()
DouglasEtAl2013StochasticSD001Q200K020
DouglasEtAl2013StochasticSD001Q200K040
DouglasEtAl2013StochasticSD001Q200K060
DouglasEtAl2013StochasticSD001Q600K005
DouglasEtAl2013StochasticSD001Q600K020
DouglasEtAl2013StochasticSD001Q600K040
DouglasEtAl2013StochasticSD001Q600K060
DouglasEtAl2013StochasticSD010Q1800K005
DouglasEtAl2013StochasticSD010Q1800K020
DouglasEtAl2013StochasticSD010Q1800K040
DouglasEtAl2013StochasticSD010Q1800K060
DouglasEtAl2013StochasticSD010Q200K005
DouglasEtAl2013StochasticSD010Q200K020
DouglasEtAl2013StochasticSD010Q200K040
DouglasEtAl2013StochasticSD010Q200K060
DouglasEtAl2013StochasticSD010Q600K005
DouglasEtAl2013StochasticSD010Q600K020
DouglasEtAl2013StochasticSD010Q600K040
DouglasEtAl2013StochasticSD010Q600K060
DouglasEtAl2013StochasticSD100Q1800K005
DouglasEtAl2013StochasticSD100Q1800K020
DouglasEtAl2013StochasticSD100Q1800K040
DouglasEtAl2013StochasticSD100Q1800K060
DouglasEtAl2013StochasticSD100Q200K005
DouglasEtAl2013StochasticSD100Q200K020
DouglasEtAl2013StochasticSD100Q200K040
DouglasEtAl2013StochasticSD100Q200K060
DouglasEtAl2013StochasticSD100Q600K005
DouglasEtAl2013StochasticSD100Q600K020
DouglasEtAl2013StochasticSD100Q600K040
DouglasEtAl2013StochasticSD100Q600K060
get_distance_scaling_term()
get_magnitude_scaling_term()
get_stddevs()
- dowrickrhoades_2005
DowrickRhoades2005Asc
DowrickRhoades2005Asc.COEFFS
DowrickRhoades2005Asc.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
DowrickRhoades2005Asc.DEFINED_FOR_INTENSITY_MEASURE_TYPES
DowrickRhoades2005Asc.DEFINED_FOR_STANDARD_DEVIATION_TYPES
DowrickRhoades2005Asc.DEFINED_FOR_TECTONIC_REGION_TYPE
DowrickRhoades2005Asc.REQUIRES_DISTANCES
DowrickRhoades2005Asc.REQUIRES_RUPTURE_PARAMETERS
DowrickRhoades2005Asc.REQUIRES_SITES_PARAMETERS
DowrickRhoades2005Asc.compute()
DowrickRhoades2005SInter
DowrickRhoades2005SSlab
DowrickRhoades2005Volc
- drouet_2015_brazil
DrouetBrazil2015
DrouetBrazil2015.COEFFS
DrouetBrazil2015.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
DrouetBrazil2015.DEFINED_FOR_INTENSITY_MEASURE_TYPES
DrouetBrazil2015.DEFINED_FOR_STANDARD_DEVIATION_TYPES
DrouetBrazil2015.DEFINED_FOR_TECTONIC_REGION_TYPE
DrouetBrazil2015.REQUIRES_DISTANCES
DrouetBrazil2015.REQUIRES_RUPTURE_PARAMETERS
DrouetBrazil2015.REQUIRES_SITES_PARAMETERS
DrouetBrazil2015.compute()
DrouetBrazil2015withDepth
- drouet_alpes_2015
DrouetAlpes2015Repi
DrouetAlpes2015RepiHR
DrouetAlpes2015Repi_50bars
DrouetAlpes2015Rhyp
DrouetAlpes2015RhypHR
DrouetAlpes2015Rhyp_50bars
DrouetAlpes2015Rjb
DrouetAlpes2015Rjb.COEFFS
DrouetAlpes2015Rjb.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
DrouetAlpes2015Rjb.DEFINED_FOR_INTENSITY_MEASURE_TYPES
DrouetAlpes2015Rjb.DEFINED_FOR_REFERENCE_VELOCITY
DrouetAlpes2015Rjb.DEFINED_FOR_STANDARD_DEVIATION_TYPES
DrouetAlpes2015Rjb.DEFINED_FOR_TECTONIC_REGION_TYPE
DrouetAlpes2015Rjb.REQUIRES_DISTANCES
DrouetAlpes2015Rjb.REQUIRES_RUPTURE_PARAMETERS
DrouetAlpes2015Rjb.REQUIRES_SITES_PARAMETERS
DrouetAlpes2015Rjb.compute()
DrouetAlpes2015Rjb.non_verified
DrouetAlpes2015RjbHR
DrouetAlpes2015RjbHR_50bars
DrouetAlpes2015Rjb_50bars
DrouetAlpes2015Rrup
DrouetAlpes2015RrupHR
DrouetAlpes2015RrupHR_50bars
DrouetAlpes2015Rrup_50bars
- ecos_2009
ECOS2009
ECOS2009.COEFFS
ECOS2009.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ECOS2009.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ECOS2009.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ECOS2009.DEFINED_FOR_TECTONIC_REGION_TYPE
ECOS2009.REQUIRES_DISTANCES
ECOS2009.REQUIRES_RUPTURE_PARAMETERS
ECOS2009.REQUIRES_SITES_PARAMETERS
ECOS2009.compute()
ECOS2009Highest
- edwards_fah_2013a
EdwardsFah2013Alpine10Bars
EdwardsFah2013Alpine10Bars.COEFFS
EdwardsFah2013Alpine10Bars.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
EdwardsFah2013Alpine10Bars.DEFINED_FOR_INTENSITY_MEASURE_TYPES
EdwardsFah2013Alpine10Bars.DEFINED_FOR_REFERENCE_VELOCITY
EdwardsFah2013Alpine10Bars.DEFINED_FOR_STANDARD_DEVIATION_TYPES
EdwardsFah2013Alpine10Bars.DEFINED_FOR_TECTONIC_REGION_TYPE
EdwardsFah2013Alpine10Bars.REQUIRES_DISTANCES
EdwardsFah2013Alpine10Bars.REQUIRES_RUPTURE_PARAMETERS
EdwardsFah2013Alpine10Bars.REQUIRES_SITES_PARAMETERS
EdwardsFah2013Alpine10Bars.compute()
EdwardsFah2013Alpine120Bars
EdwardsFah2013Alpine20Bars
EdwardsFah2013Alpine30Bars
EdwardsFah2013Alpine50Bars
EdwardsFah2013Alpine60Bars
EdwardsFah2013Alpine75Bars
EdwardsFah2013Alpine90Bars
M1
- edwards_fah_2013a_coeffs
- edwards_fah_2013f
- edwards_fah_2013f_coeffs
- eshm20_craton
ESHM20Craton
ESHM20Craton.COEFFS
ESHM20Craton.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ESHM20Craton.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ESHM20Craton.DEFINED_FOR_REFERENCE_VELOCITY
ESHM20Craton.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ESHM20Craton.DEFINED_FOR_TECTONIC_REGION_TYPE
ESHM20Craton.REQUIRES_DISTANCES
ESHM20Craton.REQUIRES_RUPTURE_PARAMETERS
ESHM20Craton.REQUIRES_SITES_PARAMETERS
ESHM20Craton.compute()
get_distance_term()
get_hard_rock_mean()
get_magnitude_scaling()
get_site_amplification()
get_stddevs()
- faccioli_cauzzi_2006
FaccioliCauzzi2006
FaccioliCauzzi2006.COEFFS
FaccioliCauzzi2006.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
FaccioliCauzzi2006.DEFINED_FOR_INTENSITY_MEASURE_TYPES
FaccioliCauzzi2006.DEFINED_FOR_STANDARD_DEVIATION_TYPES
FaccioliCauzzi2006.DEFINED_FOR_TECTONIC_REGION_TYPE
FaccioliCauzzi2006.REQUIRES_DISTANCES
FaccioliCauzzi2006.REQUIRES_RUPTURE_PARAMETERS
FaccioliCauzzi2006.REQUIRES_SITES_PARAMETERS
FaccioliCauzzi2006.compute()
- frankel_1996
FrankelEtAl1996MblgAB1987NSHMP2008
FrankelEtAl1996MblgAB1987NSHMP2008.COEFFS
FrankelEtAl1996MblgAB1987NSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
FrankelEtAl1996MblgAB1987NSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
FrankelEtAl1996MblgAB1987NSHMP2008.DEFINED_FOR_REFERENCE_VELOCITY
FrankelEtAl1996MblgAB1987NSHMP2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
FrankelEtAl1996MblgAB1987NSHMP2008.DEFINED_FOR_TECTONIC_REGION_TYPE
FrankelEtAl1996MblgAB1987NSHMP2008.REQUIRES_DISTANCES
FrankelEtAl1996MblgAB1987NSHMP2008.REQUIRES_RUPTURE_PARAMETERS
FrankelEtAl1996MblgAB1987NSHMP2008.REQUIRES_SITES_PARAMETERS
FrankelEtAl1996MblgAB1987NSHMP2008.compute()
FrankelEtAl1996MblgAB1987NSHMP2008.kind
FrankelEtAl1996MblgJ1996NSHMP2008
FrankelEtAl1996MwNSHMP2008
- fukushima_tanaka_1990
FukushimaTanaka1990
FukushimaTanaka1990.COEFFS
FukushimaTanaka1990.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
FukushimaTanaka1990.DEFINED_FOR_INTENSITY_MEASURE_TYPES
FukushimaTanaka1990.DEFINED_FOR_STANDARD_DEVIATION_TYPES
FukushimaTanaka1990.DEFINED_FOR_TECTONIC_REGION_TYPE
FukushimaTanaka1990.REQUIRES_DISTANCES
FukushimaTanaka1990.REQUIRES_RUPTURE_PARAMETERS
FukushimaTanaka1990.REQUIRES_SITES_PARAMETERS
FukushimaTanaka1990.compute()
FukushimaTanakaSite1990
- garcia_2005
GarciaEtAl2005SSlab
GarciaEtAl2005SSlab.COEFFS
GarciaEtAl2005SSlab.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
GarciaEtAl2005SSlab.DEFINED_FOR_INTENSITY_MEASURE_TYPES
GarciaEtAl2005SSlab.DEFINED_FOR_STANDARD_DEVIATION_TYPES
GarciaEtAl2005SSlab.DEFINED_FOR_TECTONIC_REGION_TYPE
GarciaEtAl2005SSlab.REQUIRES_DISTANCES
GarciaEtAl2005SSlab.REQUIRES_RUPTURE_PARAMETERS
GarciaEtAl2005SSlab.REQUIRES_SITES_PARAMETERS
GarciaEtAl2005SSlab.compute()
GarciaEtAl2005SSlabVert
- geomatrix_1993
Geomatrix1993SSlabNSHMP2008
Geomatrix1993SSlabNSHMP2008.COEFFS
Geomatrix1993SSlabNSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Geomatrix1993SSlabNSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Geomatrix1993SSlabNSHMP2008.DEFINED_FOR_REFERENCE_VELOCITY
Geomatrix1993SSlabNSHMP2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Geomatrix1993SSlabNSHMP2008.DEFINED_FOR_TECTONIC_REGION_TYPE
Geomatrix1993SSlabNSHMP2008.REQUIRES_DISTANCES
Geomatrix1993SSlabNSHMP2008.REQUIRES_RUPTURE_PARAMETERS
Geomatrix1993SSlabNSHMP2008.REQUIRES_SITES_PARAMETERS
Geomatrix1993SSlabNSHMP2008.compute()
- ghasemi_2009
GhasemiEtAl2009
GhasemiEtAl2009.COEFFS
GhasemiEtAl2009.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
GhasemiEtAl2009.DEFINED_FOR_INTENSITY_MEASURE_TYPES
GhasemiEtAl2009.DEFINED_FOR_STANDARD_DEVIATION_TYPES
GhasemiEtAl2009.DEFINED_FOR_TECTONIC_REGION_TYPE
GhasemiEtAl2009.REQUIRES_DISTANCES
GhasemiEtAl2009.REQUIRES_RUPTURE_PARAMETERS
GhasemiEtAl2009.REQUIRES_SITES_PARAMETERS
GhasemiEtAl2009.compute()
- ghofrani_atkinson_2014
GhofraniAtkinson2014
GhofraniAtkinson2014.COEFFS
GhofraniAtkinson2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
GhofraniAtkinson2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
GhofraniAtkinson2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
GhofraniAtkinson2014.DEFINED_FOR_TECTONIC_REGION_TYPE
GhofraniAtkinson2014.REQUIRES_DISTANCES
GhofraniAtkinson2014.REQUIRES_RUPTURE_PARAMETERS
GhofraniAtkinson2014.REQUIRES_SITES_PARAMETERS
GhofraniAtkinson2014.compute()
GhofraniAtkinson2014.kind
GhofraniAtkinson2014Cascadia
GhofraniAtkinson2014CascadiaLower
GhofraniAtkinson2014CascadiaUpper
GhofraniAtkinson2014Lower
GhofraniAtkinson2014Upper
- gmpe_table
GMPETable
GMPETable.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
GMPETable.DEFINED_FOR_INTENSITY_MEASURE_TYPES
GMPETable.DEFINED_FOR_STANDARD_DEVIATION_TYPES
GMPETable.DEFINED_FOR_TECTONIC_REGION_TYPE
GMPETable.REQUIRES_DISTANCES
GMPETable.REQUIRES_RUPTURE_PARAMETERS
GMPETable.REQUIRES_SITES_PARAMETERS
GMPETable.compute()
GMPETable.gmpe_table
GMPETable.kind
GMPETable.set_tables()
todict()
- gulerce_abrahamson_2011
CONSTS
GulerceAbrahamson2011
GulerceAbrahamson2011.COEFFS
GulerceAbrahamson2011.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
GulerceAbrahamson2011.DEFINED_FOR_INTENSITY_MEASURE_TYPES
GulerceAbrahamson2011.DEFINED_FOR_STANDARD_DEVIATION_TYPES
GulerceAbrahamson2011.DEFINED_FOR_TECTONIC_REGION_TYPE
GulerceAbrahamson2011.REQUIRES_DISTANCES
GulerceAbrahamson2011.REQUIRES_RUPTURE_PARAMETERS
GulerceAbrahamson2011.REQUIRES_SITES_PARAMETERS
GulerceAbrahamson2011.compute()
GulerceAbrahamson2011.non_verified
- gulerce_2017
CONSTS
GulerceEtAl2017
GulerceEtAl2017.COEFFS
GulerceEtAl2017.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
GulerceEtAl2017.DEFINED_FOR_INTENSITY_MEASURE_TYPES
GulerceEtAl2017.DEFINED_FOR_STANDARD_DEVIATION_TYPES
GulerceEtAl2017.DEFINED_FOR_TECTONIC_REGION_TYPE
GulerceEtAl2017.REQUIRES_DISTANCES
GulerceEtAl2017.REQUIRES_RUPTURE_PARAMETERS
GulerceEtAl2017.REQUIRES_SITES_PARAMETERS
GulerceEtAl2017.compute()
GulerceEtAl2017.region
GulerceEtAl2017RegCHN
GulerceEtAl2017RegITA
GulerceEtAl2017RegJPN
GulerceEtAl2017RegMID
GulerceEtAl2017RegTWN
- gupta_2010
- hassani_atkinson_2018
HassaniAtkinson2018
HassaniAtkinson2018.COEFFS
HassaniAtkinson2018.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
HassaniAtkinson2018.DEFINED_FOR_INTENSITY_MEASURE_TYPES
HassaniAtkinson2018.DEFINED_FOR_STANDARD_DEVIATION_TYPES
HassaniAtkinson2018.DEFINED_FOR_TECTONIC_REGION_TYPE
HassaniAtkinson2018.REQUIRES_DISTANCES
HassaniAtkinson2018.REQUIRES_RUPTURE_PARAMETERS
HassaniAtkinson2018.REQUIRES_SITES_PARAMETERS
HassaniAtkinson2018.compute()
get_gm_rock()
- hassani_atkinson_2020
HassaniAtkinson2020Asc
HassaniAtkinson2020SInter
HassaniAtkinson2020SInter.COEFFS
HassaniAtkinson2020SInter.CONST_REGION
HassaniAtkinson2020SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
HassaniAtkinson2020SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
HassaniAtkinson2020SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
HassaniAtkinson2020SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
HassaniAtkinson2020SInter.REQUIRES_ATTRIBUTES
HassaniAtkinson2020SInter.REQUIRES_DISTANCES
HassaniAtkinson2020SInter.REQUIRES_RUPTURE_PARAMETERS
HassaniAtkinson2020SInter.REQUIRES_SITES_PARAMETERS
HassaniAtkinson2020SInter.SUFFIX
HassaniAtkinson2020SInter.compute()
HassaniAtkinson2020SInter.gmpe_table
HassaniAtkinson2020SSlab
get_stddevs()
- hong_goda_2007
HongGoda2007
HongGoda2007.COEFFS
HongGoda2007.COEFFS_AMP
HongGoda2007.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
HongGoda2007.DEFINED_FOR_INTENSITY_MEASURE_TYPES
HongGoda2007.DEFINED_FOR_STANDARD_DEVIATION_TYPES
HongGoda2007.DEFINED_FOR_TECTONIC_REGION_TYPE
HongGoda2007.REQUIRES_DISTANCES
HongGoda2007.REQUIRES_RUPTURE_PARAMETERS
HongGoda2007.REQUIRES_SITES_PARAMETERS
HongGoda2007.compute()
HongGoda2007.non_verified
- idini_2017
IdiniEtAl2017SInter
IdiniEtAl2017SInter.COEFFS
IdiniEtAl2017SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
IdiniEtAl2017SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
IdiniEtAl2017SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
IdiniEtAl2017SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
IdiniEtAl2017SInter.REQUIRES_DISTANCES
IdiniEtAl2017SInter.REQUIRES_RUPTURE_PARAMETERS
IdiniEtAl2017SInter.REQUIRES_SITES_PARAMETERS
IdiniEtAl2017SInter.compute()
IdiniEtAl2017SSlab
- idriss_2014
Idriss2014
Idriss2014.COEFFS
Idriss2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Idriss2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Idriss2014.DEFINED_FOR_REFERENCE_VELOCITY
Idriss2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Idriss2014.DEFINED_FOR_TECTONIC_REGION_TYPE
Idriss2014.REQUIRES_DISTANCES
Idriss2014.REQUIRES_RUPTURE_PARAMETERS
Idriss2014.REQUIRES_SITES_PARAMETERS
Idriss2014.compute()
- jaimes_2020
JaimesEtAl2020SSlab
JaimesEtAl2020SSlab.COEFFS
JaimesEtAl2020SSlab.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
JaimesEtAl2020SSlab.DEFINED_FOR_INTENSITY_MEASURE_TYPES
JaimesEtAl2020SSlab.DEFINED_FOR_STANDARD_DEVIATION_TYPES
JaimesEtAl2020SSlab.DEFINED_FOR_TECTONIC_REGION_TYPE
JaimesEtAl2020SSlab.REQUIRES_DISTANCES
JaimesEtAl2020SSlab.REQUIRES_RUPTURE_PARAMETERS
JaimesEtAl2020SSlab.REQUIRES_SITES_PARAMETERS
JaimesEtAl2020SSlab.compute()
JaimesEtAl2020SSlabVHratio
JaimesEtAl2020SSlabVert
- kale_2015
KaleEtAl2015Iran
KaleEtAl2015Turkey
KaleEtAl2015Turkey.COEFFS
KaleEtAl2015Turkey.CONSTS
KaleEtAl2015Turkey.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
KaleEtAl2015Turkey.DEFINED_FOR_INTENSITY_MEASURE_TYPES
KaleEtAl2015Turkey.DEFINED_FOR_STANDARD_DEVIATION_TYPES
KaleEtAl2015Turkey.DEFINED_FOR_TECTONIC_REGION_TYPE
KaleEtAl2015Turkey.REQUIRES_DISTANCES
KaleEtAl2015Turkey.REQUIRES_RUPTURE_PARAMETERS
KaleEtAl2015Turkey.REQUIRES_SITES_PARAMETERS
KaleEtAl2015Turkey.compute()
- kanno_2006
CONSTS
Kanno2006Deep
Kanno2006Shallow
Kanno2006Shallow.COEFFS_BASE
Kanno2006Shallow.COEFFS_SITE
Kanno2006Shallow.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Kanno2006Shallow.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Kanno2006Shallow.DEFINED_FOR_REFERENCE_VELOCITY
Kanno2006Shallow.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Kanno2006Shallow.DEFINED_FOR_TECTONIC_REGION_TYPE
Kanno2006Shallow.REQUIRES_DISTANCES
Kanno2006Shallow.REQUIRES_RUPTURE_PARAMETERS
Kanno2006Shallow.REQUIRES_SITES_PARAMETERS
Kanno2006Shallow.compute()
- kuehn_2020
KuehnEtAl2020SInter
KuehnEtAl2020SInter.COEFFS
KuehnEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
KuehnEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
KuehnEtAl2020SInter.DEFINED_FOR_REFERENCE_VELOCITY
KuehnEtAl2020SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
KuehnEtAl2020SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
KuehnEtAl2020SInter.REQUIRES_ATTRIBUTES
KuehnEtAl2020SInter.REQUIRES_DISTANCES
KuehnEtAl2020SInter.REQUIRES_RUPTURE_PARAMETERS
KuehnEtAl2020SInter.REQUIRES_SITES_PARAMETERS
KuehnEtAl2020SInter.compute()
KuehnEtAl2020SInter.experimental
KuehnEtAl2020SInter.f
KuehnEtAl2020SSlab
get_anelastic_attenuation_term()
get_base_term()
get_depth_term()
get_geometric_attenuation_term()
get_magnitude_scaling_term()
get_mean_values()
get_shallow_site_response_term()
get_sigma_mu_adjustment()
- kotha_2016
KothaEtAl2016
KothaEtAl2016.COEFFS
KothaEtAl2016.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
KothaEtAl2016.DEFINED_FOR_INTENSITY_MEASURE_TYPES
KothaEtAl2016.DEFINED_FOR_STANDARD_DEVIATION_TYPES
KothaEtAl2016.DEFINED_FOR_TECTONIC_REGION_TYPE
KothaEtAl2016.REQUIRES_DISTANCES
KothaEtAl2016.REQUIRES_RUPTURE_PARAMETERS
KothaEtAl2016.REQUIRES_SITES_PARAMETERS
KothaEtAl2016.compute()
KothaEtAl2016.kind
KothaEtAl2016Italy
KothaEtAl2016Other
KothaEtAl2016Turkey
- kotha_2020
KothaEtAl2020
KothaEtAl2020.COEFFS
KothaEtAl2020.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
KothaEtAl2020.DEFINED_FOR_INTENSITY_MEASURE_TYPES
KothaEtAl2020.DEFINED_FOR_STANDARD_DEVIATION_TYPES
KothaEtAl2020.DEFINED_FOR_TECTONIC_REGION_TYPE
KothaEtAl2020.REQUIRES_DISTANCES
KothaEtAl2020.REQUIRES_RUPTURE_PARAMETERS
KothaEtAl2020.REQUIRES_SITES_PARAMETERS
KothaEtAl2020.compute()
KothaEtAl2020.kind
KothaEtAl2020ESHM20
KothaEtAl2020ESHM20SlopeGeology
KothaEtAl2020Site
KothaEtAl2020Slope
KothaEtAl2020regional
get_distance_coefficients_1()
get_distance_coefficients_2()
get_distance_coefficients_3()
get_distance_term()
get_dl2l()
get_heteroskedastic_tau_phi0_avgsa()
get_magnitude_scaling()
get_phi_ss()
get_sigma_mu_adjustment()
get_site_amplification()
get_stddevs()
get_tau()
- lanzano_2016
LanzanoEtAl2016_RJB
LanzanoEtAl2016_RJB.COEFFS
LanzanoEtAl2016_RJB.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
LanzanoEtAl2016_RJB.DEFINED_FOR_INTENSITY_MEASURE_TYPES
LanzanoEtAl2016_RJB.DEFINED_FOR_STANDARD_DEVIATION_TYPES
LanzanoEtAl2016_RJB.DEFINED_FOR_TECTONIC_REGION_TYPE
LanzanoEtAl2016_RJB.REQUIRES_DISTANCES
LanzanoEtAl2016_RJB.REQUIRES_RUPTURE_PARAMETERS
LanzanoEtAl2016_RJB.REQUIRES_SITES_PARAMETERS
LanzanoEtAl2016_RJB.compute()
LanzanoEtAl2016_Rhypo
- lanzano_2019
LanzanoEtAl2019_RJB_OMO
LanzanoEtAl2019_RJB_OMO.COEFFS
LanzanoEtAl2019_RJB_OMO.COEFFS_SITE
LanzanoEtAl2019_RJB_OMO.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
LanzanoEtAl2019_RJB_OMO.DEFINED_FOR_INTENSITY_MEASURE_TYPES
LanzanoEtAl2019_RJB_OMO.DEFINED_FOR_STANDARD_DEVIATION_TYPES
LanzanoEtAl2019_RJB_OMO.DEFINED_FOR_TECTONIC_REGION_TYPE
LanzanoEtAl2019_RJB_OMO.REQUIRES_DISTANCES
LanzanoEtAl2019_RJB_OMO.REQUIRES_RUPTURE_PARAMETERS
LanzanoEtAl2019_RJB_OMO.REQUIRES_SITES_PARAMETERS
LanzanoEtAl2019_RJB_OMO.compute()
LanzanoEtAl2019_RJB_OMO_RefRock
LanzanoEtAl2019_RJB_OMO_RefRock.COEFFS
LanzanoEtAl2019_RJB_OMO_RefRock.COEFFS_SITE
LanzanoEtAl2019_RJB_OMO_RefRock.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
LanzanoEtAl2019_RJB_OMO_RefRock.DEFINED_FOR_INTENSITY_MEASURE_TYPES
LanzanoEtAl2019_RJB_OMO_RefRock.DEFINED_FOR_STANDARD_DEVIATION_TYPES
LanzanoEtAl2019_RJB_OMO_RefRock.DEFINED_FOR_TECTONIC_REGION_TYPE
LanzanoEtAl2019_RJB_OMO_RefRock.REQUIRES_DISTANCES
LanzanoEtAl2019_RJB_OMO_RefRock.REQUIRES_RUPTURE_PARAMETERS
LanzanoEtAl2019_RJB_OMO_RefRock.REQUIRES_SITES_PARAMETERS
LanzanoEtAl2019_RJB_OMO_RefRock.compute()
LanzanoEtAl2019_RJB_OMOscaled
LanzanoEtAl2019_RUP_OMO
LanzanoEtAl2019_RUP_OMO.COEFFS
LanzanoEtAl2019_RUP_OMO.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
LanzanoEtAl2019_RUP_OMO.DEFINED_FOR_INTENSITY_MEASURE_TYPES
LanzanoEtAl2019_RUP_OMO.DEFINED_FOR_STANDARD_DEVIATION_TYPES
LanzanoEtAl2019_RUP_OMO.DEFINED_FOR_TECTONIC_REGION_TYPE
LanzanoEtAl2019_RUP_OMO.REQUIRES_DISTANCES
LanzanoEtAl2019_RUP_OMO.REQUIRES_RUPTURE_PARAMETERS
LanzanoEtAl2019_RUP_OMO.REQUIRES_SITES_PARAMETERS
- lanzano_2020
LanzanoEtAl2020_Cluster
LanzanoEtAl2020_EC8
LanzanoEtAl2020_ref
LanzanoEtAl2020_ref.COEFFS
LanzanoEtAl2020_ref.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
LanzanoEtAl2020_ref.DEFINED_FOR_INTENSITY_MEASURE_TYPES
LanzanoEtAl2020_ref.DEFINED_FOR_STANDARD_DEVIATION_TYPES
LanzanoEtAl2020_ref.DEFINED_FOR_TECTONIC_REGION_TYPE
LanzanoEtAl2020_ref.REQUIRES_DISTANCES
LanzanoEtAl2020_ref.REQUIRES_RUPTURE_PARAMETERS
LanzanoEtAl2020_ref.REQUIRES_SITES_PARAMETERS
LanzanoEtAl2020_ref.compute()
LanzanoEtAl2020_ref.kind
- lanzano_luzi_2019
LanzanoLuzi2019deep
LanzanoLuzi2019deep_scaled
LanzanoLuzi2019shallow
LanzanoLuzi2019shallow.COEFFS
LanzanoLuzi2019shallow.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
LanzanoLuzi2019shallow.DEFINED_FOR_INTENSITY_MEASURE_TYPES
LanzanoLuzi2019shallow.DEFINED_FOR_STANDARD_DEVIATION_TYPES
LanzanoLuzi2019shallow.DEFINED_FOR_TECTONIC_REGION_TYPE
LanzanoLuzi2019shallow.REQUIRES_DISTANCES
LanzanoLuzi2019shallow.REQUIRES_RUPTURE_PARAMETERS
LanzanoLuzi2019shallow.REQUIRES_SITES_PARAMETERS
LanzanoLuzi2019shallow.compute()
LanzanoLuzi2019shallow.kind
LanzanoLuzi2019shallow_scaled
- lin_2009
Lin2009
Lin2009.COEFFS
Lin2009.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Lin2009.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Lin2009.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Lin2009.DEFINED_FOR_TECTONIC_REGION_TYPE
Lin2009.REQUIRES_DISTANCES
Lin2009.REQUIRES_RUPTURE_PARAMETERS
Lin2009.REQUIRES_SITES_PARAMETERS
Lin2009.compute()
Lin2009AdjustedSigma
- lin_2011
Lin2011foot
Lin2011foot.COEFFS_ROCK
Lin2011foot.COEFFS_SOIL
Lin2011foot.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Lin2011foot.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Lin2011foot.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Lin2011foot.DEFINED_FOR_TECTONIC_REGION_TYPE
Lin2011foot.REQUIRES_DISTANCES
Lin2011foot.REQUIRES_RUPTURE_PARAMETERS
Lin2011foot.REQUIRES_SITES_PARAMETERS
Lin2011foot.ROCK_VS30
Lin2011foot.compute()
Lin2011hanging
- lin_lee_2008
LinLee2008SInter
LinLee2008SInter.COEFFS_ROCK
LinLee2008SInter.COEFFS_SOIL
LinLee2008SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
LinLee2008SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
LinLee2008SInter.DEFINED_FOR_REFERENCE_VELOCITY
LinLee2008SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
LinLee2008SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
LinLee2008SInter.REQUIRES_DISTANCES
LinLee2008SInter.REQUIRES_RUPTURE_PARAMETERS
LinLee2008SInter.REQUIRES_SITES_PARAMETERS
LinLee2008SInter.ROCK_VS30
LinLee2008SInter.compute()
LinLee2008SSlab
- manea_2021
ManeaEtAl2021
ManeaEtAl2021.COEFFS
ManeaEtAl2021.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ManeaEtAl2021.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ManeaEtAl2021.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ManeaEtAl2021.DEFINED_FOR_TECTONIC_REGION_TYPE
ManeaEtAl2021.REQUIRES_DISTANCES
ManeaEtAl2021.REQUIRES_RUPTURE_PARAMETERS
ManeaEtAl2021.REQUIRES_SITES_PARAMETERS
ManeaEtAl2021.compute()
get_mean_values()
- mcverry_2006
McVerry2006Asc
McVerry2006Asc.COEFFS_PRIMED
McVerry2006Asc.COEFFS_STD
McVerry2006Asc.COEFFS_UNPRIMED
McVerry2006Asc.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
McVerry2006Asc.DEFINED_FOR_INTENSITY_MEASURE_TYPES
McVerry2006Asc.DEFINED_FOR_STANDARD_DEVIATION_TYPES
McVerry2006Asc.DEFINED_FOR_TECTONIC_REGION_TYPE
McVerry2006Asc.REQUIRES_DISTANCES
McVerry2006Asc.REQUIRES_RUPTURE_PARAMETERS
McVerry2006Asc.REQUIRES_SITES_PARAMETERS
McVerry2006Asc.compute()
McVerry2006Asc.kind
McVerry2006AscSC
McVerry2006Chch
McVerry2006ChchAdditionalSigma
McVerry2006ChchStressDrop
McVerry2006SInter
McVerry2006SInterSC
McVerry2006SSlab
McVerry2006SSlabSC
McVerry2006Volc
McVerry2006VolcSC
- megawati_2003
MegawatiEtAl2003
MegawatiEtAl2003.COEFFS
MegawatiEtAl2003.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
MegawatiEtAl2003.DEFINED_FOR_INTENSITY_MEASURE_TYPES
MegawatiEtAl2003.DEFINED_FOR_STANDARD_DEVIATION_TYPES
MegawatiEtAl2003.DEFINED_FOR_TECTONIC_REGION_TYPE
MegawatiEtAl2003.REQUIRES_DISTANCES
MegawatiEtAl2003.REQUIRES_RUPTURE_PARAMETERS
MegawatiEtAl2003.REQUIRES_SITES_PARAMETERS
MegawatiEtAl2003.compute()
- megawati_pan_2010
MegawatiPan2010
MegawatiPan2010.COEFFS
MegawatiPan2010.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
MegawatiPan2010.DEFINED_FOR_INTENSITY_MEASURE_TYPES
MegawatiPan2010.DEFINED_FOR_STANDARD_DEVIATION_TYPES
MegawatiPan2010.DEFINED_FOR_TECTONIC_REGION_TYPE
MegawatiPan2010.REQUIRES_DISTANCES
MegawatiPan2010.REQUIRES_RUPTURE_PARAMETERS
MegawatiPan2010.REQUIRES_SITES_PARAMETERS
MegawatiPan2010.compute()
- montalva_2016
- montalva_2017
- multi
MultiGMPE
MultiGMPE.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
MultiGMPE.DEFINED_FOR_INTENSITY_MEASURE_TYPES
MultiGMPE.DEFINED_FOR_STANDARD_DEVIATION_TYPES
MultiGMPE.DEFINED_FOR_TECTONIC_REGION_TYPE
MultiGMPE.REQUIRES_DISTANCES
MultiGMPE.REQUIRES_RUPTURE_PARAMETERS
MultiGMPE.REQUIRES_SITES_PARAMETERS
MultiGMPE.compute()
- munson_thurber_1997
MunsonThurber1997
MunsonThurber1997.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
MunsonThurber1997.DEFINED_FOR_INTENSITY_MEASURE_TYPES
MunsonThurber1997.DEFINED_FOR_STANDARD_DEVIATION_TYPES
MunsonThurber1997.DEFINED_FOR_TECTONIC_REGION_TYPE
MunsonThurber1997.REQUIRES_DISTANCES
MunsonThurber1997.REQUIRES_RUPTURE_PARAMETERS
MunsonThurber1997.REQUIRES_SITES_PARAMETERS
MunsonThurber1997.compute()
MunsonThurber1997Hawaii
MunsonThurber1997Vector
- morikawa_fujiwara_2013
MorikawaFujiwara2013Crustal
MorikawaFujiwara2013Crustal.COEFFS
MorikawaFujiwara2013Crustal.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
MorikawaFujiwara2013Crustal.DEFINED_FOR_INTENSITY_MEASURE_TYPES
MorikawaFujiwara2013Crustal.DEFINED_FOR_STANDARD_DEVIATION_TYPES
MorikawaFujiwara2013Crustal.DEFINED_FOR_TECTONIC_REGION_TYPE
MorikawaFujiwara2013Crustal.REQUIRES_DISTANCES
MorikawaFujiwara2013Crustal.REQUIRES_RUPTURE_PARAMETERS
MorikawaFujiwara2013Crustal.REQUIRES_SITES_PARAMETERS
MorikawaFujiwara2013Crustal.compute()
MorikawaFujiwara2013Crustal.model
MorikawaFujiwara2013Crustal.region
MorikawaFujiwara2013SubInterface
MorikawaFujiwara2013SubInterfaceNE
MorikawaFujiwara2013SubInterfaceSW
MorikawaFujiwara2013SubSlab
MorikawaFujiwara2013SubSlabNE
MorikawaFujiwara2013SubSlabSW
- nath_2012
NathEtAl2012Lower
NathEtAl2012Lower.COEFFS_BEDROCK
NathEtAl2012Lower.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
NathEtAl2012Lower.DEFINED_FOR_INTENSITY_MEASURE_TYPES
NathEtAl2012Lower.DEFINED_FOR_REFERENCE_VELOCITY
NathEtAl2012Lower.DEFINED_FOR_STANDARD_DEVIATION_TYPES
NathEtAl2012Lower.DEFINED_FOR_TECTONIC_REGION_TYPE
NathEtAl2012Lower.REQUIRES_DISTANCES
NathEtAl2012Lower.REQUIRES_RUPTURE_PARAMETERS
NathEtAl2012Lower.REQUIRES_SITES_PARAMETERS
NathEtAl2012Lower.compute()
NathEtAl2012Upper
- nga_east
ITPL()
NGAEastGMPE
NGAEastGMPETotalSigma
cena_constant_tau()
cena_tau()
get_fnl()
get_hard_rock_mean()
get_linear_stddev()
get_mean_amp()
get_nonlinear_stddev()
get_phi_s2ss_at_quantile()
get_phi_ss()
get_phi_ss_at_quantile()
get_site_amplification()
get_site_amplification_sigma()
get_stddevs()
get_tau_at_quantile()
global_tau()
- nrcan15_site_term
BA08_AB06_base()
BA08_AB06_linear()
NRCan15SiteTerm
NRCan15SiteTerm.COEFFS_AB06r
NRCan15SiteTerm.COEFFS_BA08
NRCan15SiteTerm.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
NRCan15SiteTerm.DEFINED_FOR_INTENSITY_MEASURE_TYPES
NRCan15SiteTerm.DEFINED_FOR_REFERENCE_VELOCITY
NRCan15SiteTerm.DEFINED_FOR_STANDARD_DEVIATION_TYPES
NRCan15SiteTerm.DEFINED_FOR_TECTONIC_REGION_TYPE
NRCan15SiteTerm.REQUIRES_DISTANCES
NRCan15SiteTerm.REQUIRES_RUPTURE_PARAMETERS
NRCan15SiteTerm.REQUIRES_SITES_PARAMETERS
NRCan15SiteTerm.compute()
NRCan15SiteTerm.kind
NRCan15SiteTermLinear
- nshmp_2014
NSHMP2014
NSHMP2014.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
NSHMP2014.DEFINED_FOR_INTENSITY_MEASURE_TYPES
NSHMP2014.DEFINED_FOR_STANDARD_DEVIATION_TYPES
NSHMP2014.DEFINED_FOR_TECTONIC_REGION_TYPE
NSHMP2014.REQUIRES_DISTANCES
NSHMP2014.REQUIRES_RUPTURE_PARAMETERS
NSHMP2014.REQUIRES_SITES_PARAMETERS
NSHMP2014.compute()
nga_west2_epistemic_adjustment()
- pankow_pechmann_2004
PankowPechmann2004
PankowPechmann2004.COEFFS
PankowPechmann2004.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
PankowPechmann2004.DEFINED_FOR_INTENSITY_MEASURE_TYPES
PankowPechmann2004.DEFINED_FOR_STANDARD_DEVIATION_TYPES
PankowPechmann2004.DEFINED_FOR_TECTONIC_REGION_TYPE
PankowPechmann2004.REQUIRES_DISTANCES
PankowPechmann2004.REQUIRES_RUPTURE_PARAMETERS
PankowPechmann2004.REQUIRES_SITES_PARAMETERS
PankowPechmann2004.compute()
PankowPechmann2004.non_verified
- parker_2020
ParkerEtAl2020SInter
ParkerEtAl2020SInter.COEFFS
ParkerEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ParkerEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ParkerEtAl2020SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ParkerEtAl2020SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
ParkerEtAl2020SInter.MB_REGIONS
ParkerEtAl2020SInter.REQUIRES_ATTRIBUTES
ParkerEtAl2020SInter.REQUIRES_DISTANCES
ParkerEtAl2020SInter.REQUIRES_RUPTURE_PARAMETERS
ParkerEtAl2020SInter.REQUIRES_SITES_PARAMETERS
ParkerEtAl2020SInter.SUFFIX
ParkerEtAl2020SInter.compute()
ParkerEtAl2020SInterB
ParkerEtAl2020SSlab
ParkerEtAl2020SSlabB
get_stddevs()
- pezeshk_2011
PezeshkEtAl2011
PezeshkEtAl2011.COEFFS
PezeshkEtAl2011.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
PezeshkEtAl2011.DEFINED_FOR_INTENSITY_MEASURE_TYPES
PezeshkEtAl2011.DEFINED_FOR_STANDARD_DEVIATION_TYPES
PezeshkEtAl2011.DEFINED_FOR_TECTONIC_REGION_TYPE
PezeshkEtAl2011.REQUIRES_DISTANCES
PezeshkEtAl2011.REQUIRES_RUPTURE_PARAMETERS
PezeshkEtAl2011.REQUIRES_SITES_PARAMETERS
PezeshkEtAl2011.compute()
PezeshkEtAl2011NEHRPBC
- phung_2020
PhungEtAl2020Asc
PhungEtAl2020Asc.COEFFS
PhungEtAl2020Asc.CONSTANTS
PhungEtAl2020Asc.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
PhungEtAl2020Asc.DEFINED_FOR_INTENSITY_MEASURE_TYPES
PhungEtAl2020Asc.DEFINED_FOR_REFERENCE_VELOCITY
PhungEtAl2020Asc.DEFINED_FOR_STANDARD_DEVIATION_TYPES
PhungEtAl2020Asc.DEFINED_FOR_TECTONIC_REGION_TYPE
PhungEtAl2020Asc.REQUIRES_DISTANCES
PhungEtAl2020Asc.REQUIRES_RUPTURE_PARAMETERS
PhungEtAl2020Asc.REQUIRES_SITES_PARAMETERS
PhungEtAl2020Asc.compute()
PhungEtAl2020SInter
PhungEtAl2020SInter.COEFFS
PhungEtAl2020SInter.CONSTANTS
PhungEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
PhungEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
PhungEtAl2020SInter.DEFINED_FOR_REFERENCE_VELOCITY
PhungEtAl2020SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
PhungEtAl2020SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
PhungEtAl2020SInter.REQUIRES_DISTANCES
PhungEtAl2020SInter.REQUIRES_RUPTURE_PARAMETERS
PhungEtAl2020SInter.REQUIRES_SITES_PARAMETERS
PhungEtAl2020SInter.compute()
PhungEtAl2020SSlab
get_stddevs()
pga_rock()
- raghukanth_iyengar_2007
RaghukanthIyengar2007
RaghukanthIyengar2007.COEFFS_BEDROCK
RaghukanthIyengar2007.COEFFS_NEHRP
RaghukanthIyengar2007.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
RaghukanthIyengar2007.DEFINED_FOR_INTENSITY_MEASURE_TYPES
RaghukanthIyengar2007.DEFINED_FOR_STANDARD_DEVIATION_TYPES
RaghukanthIyengar2007.DEFINED_FOR_TECTONIC_REGION_TYPE
RaghukanthIyengar2007.NEHRP_VS30_UPPER_BOUNDS
RaghukanthIyengar2007.REQUIRES_DISTANCES
RaghukanthIyengar2007.REQUIRES_RUPTURE_PARAMETERS
RaghukanthIyengar2007.REQUIRES_SITES_PARAMETERS
RaghukanthIyengar2007.compute()
RaghukanthIyengar2007.non_verified
RaghukanthIyengar2007KoynaWarna
RaghukanthIyengar2007Southern
RaghukanthIyengar2007WesternCentral
get_nehrp_classes()
is_bedrock()
- rietbrock_2013
RietbrockEtAl2013MagDependent
RietbrockEtAl2013SelfSimilar
RietbrockEtAl2013SelfSimilar.COEFFS
RietbrockEtAl2013SelfSimilar.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
RietbrockEtAl2013SelfSimilar.DEFINED_FOR_INTENSITY_MEASURE_TYPES
RietbrockEtAl2013SelfSimilar.DEFINED_FOR_STANDARD_DEVIATION_TYPES
RietbrockEtAl2013SelfSimilar.DEFINED_FOR_TECTONIC_REGION_TYPE
RietbrockEtAl2013SelfSimilar.REQUIRES_DISTANCES
RietbrockEtAl2013SelfSimilar.REQUIRES_RUPTURE_PARAMETERS
RietbrockEtAl2013SelfSimilar.REQUIRES_SITES_PARAMETERS
RietbrockEtAl2013SelfSimilar.compute()
- rietbrock_edwards_2019
RietbrockEdwards2019Low
RietbrockEdwards2019Mean
RietbrockEdwards2019Mean.COEFFS
RietbrockEdwards2019Mean.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
RietbrockEdwards2019Mean.DEFINED_FOR_INTENSITY_MEASURE_TYPES
RietbrockEdwards2019Mean.DEFINED_FOR_STANDARD_DEVIATION_TYPES
RietbrockEdwards2019Mean.DEFINED_FOR_TECTONIC_REGION_TYPE
RietbrockEdwards2019Mean.REQUIRES_DISTANCES
RietbrockEdwards2019Mean.REQUIRES_RUPTURE_PARAMETERS
RietbrockEdwards2019Mean.REQUIRES_SITES_PARAMETERS
RietbrockEdwards2019Mean.compute()
RietbrockEdwards2019Up
- sandikkaya_akkar_2017
- sadigh_1997
COEFFS_SOIL_IMT_INDEPENDENT
NEAR_FIELD_SATURATION_MAG
ROCK_VS30
SadighEtAl1997
SadighEtAl1997.COEFFS_ROCK_HIMAG
SadighEtAl1997.COEFFS_ROCK_LOWMAG
SadighEtAl1997.COEFFS_ROCK_STDDERR
SadighEtAl1997.COEFFS_SOIL
SadighEtAl1997.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SadighEtAl1997.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SadighEtAl1997.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SadighEtAl1997.DEFINED_FOR_TECTONIC_REGION_TYPE
SadighEtAl1997.REQUIRES_DISTANCES
SadighEtAl1997.REQUIRES_RUPTURE_PARAMETERS
SadighEtAl1997.REQUIRES_SITES_PARAMETERS
SadighEtAl1997.compute()
get_mean_deep_soil()
get_mean_rock()
get_stddev_deep_soil()
get_stddev_rock()
- sera_amplification_models
Eurocode8Amplification
Eurocode8Amplification.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Eurocode8Amplification.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Eurocode8Amplification.DEFINED_FOR_REFERENCE_VELOCITY
Eurocode8Amplification.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Eurocode8Amplification.DEFINED_FOR_TECTONIC_REGION_TYPE
Eurocode8Amplification.REQUIRES_DISTANCES
Eurocode8Amplification.REQUIRES_RUPTURE_PARAMETERS
Eurocode8Amplification.REQUIRES_SITES_PARAMETERS
Eurocode8Amplification.kind
Eurocode8AmplificationDefault
PitilakisEtAl2018
PitilakisEtAl2018.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
PitilakisEtAl2018.DEFINED_FOR_INTENSITY_MEASURE_TYPES
PitilakisEtAl2018.DEFINED_FOR_REFERENCE_VELOCITY
PitilakisEtAl2018.DEFINED_FOR_STANDARD_DEVIATION_TYPES
PitilakisEtAl2018.DEFINED_FOR_TECTONIC_REGION_TYPE
PitilakisEtAl2018.F1
PitilakisEtAl2018.FS
PitilakisEtAl2018.REQUIRES_DISTANCES
PitilakisEtAl2018.REQUIRES_RUPTURE_PARAMETERS
PitilakisEtAl2018.REQUIRES_SITES_PARAMETERS
PitilakisEtAl2018.compute()
PitilakisEtAl2018.kind
PitilakisEtAl2020
SandikkayaDinsever2018
SandikkayaDinsever2018.COEFFS_REG
SandikkayaDinsever2018.COEFFS_SITE
SandikkayaDinsever2018.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SandikkayaDinsever2018.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SandikkayaDinsever2018.DEFINED_FOR_REFERENCE_VELOCITY
SandikkayaDinsever2018.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SandikkayaDinsever2018.DEFINED_FOR_TECTONIC_REGION_TYPE
SandikkayaDinsever2018.REQUIRES_DISTANCES
SandikkayaDinsever2018.REQUIRES_RUPTURE_PARAMETERS
SandikkayaDinsever2018.REQUIRES_SITES_PARAMETERS
SandikkayaDinsever2018.compute()
SandikkayaDinsever2018.experimental
get_amplification_factor_1()
get_amplification_factor_2()
get_amplification_factor_3()
get_amplified_mean()
get_ec8_class()
get_site_amplification()
get_stddevs()
- sgobba_2020
Data
SgobbaEtAl2020
SgobbaEtAl2020.COEFFS
SgobbaEtAl2020.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SgobbaEtAl2020.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SgobbaEtAl2020.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SgobbaEtAl2020.DEFINED_FOR_TECTONIC_REGION_TYPE
SgobbaEtAl2020.PERIODS
SgobbaEtAl2020.REQUIRES_DISTANCES
SgobbaEtAl2020.REQUIRES_RUPTURE_PARAMETERS
SgobbaEtAl2020.REQUIRES_SITES_PARAMETERS
SgobbaEtAl2020.compute()
- shahjouei_pezeshk_2016
ShahjoueiPezeshk2016
ShahjoueiPezeshk2016.COEFFS
ShahjoueiPezeshk2016.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ShahjoueiPezeshk2016.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ShahjoueiPezeshk2016.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ShahjoueiPezeshk2016.DEFINED_FOR_TECTONIC_REGION_TYPE
ShahjoueiPezeshk2016.REQUIRES_DISTANCES
ShahjoueiPezeshk2016.REQUIRES_RUPTURE_PARAMETERS
ShahjoueiPezeshk2016.REQUIRES_SITES_PARAMETERS
ShahjoueiPezeshk2016.compute()
ShahjoueiPezeshk2016.non_verified
- sharma_2009
NEHRP_BC_BOUNDARY
RAKE_THRESH
SharmaEtAl2009
SharmaEtAl2009.ALREADY_WARNED
SharmaEtAl2009.COEFFS
SharmaEtAl2009.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SharmaEtAl2009.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SharmaEtAl2009.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SharmaEtAl2009.DEFINED_FOR_TECTONIC_REGION_TYPE
SharmaEtAl2009.REQUIRES_DISTANCES
SharmaEtAl2009.REQUIRES_RUPTURE_PARAMETERS
SharmaEtAl2009.REQUIRES_SITES_PARAMETERS
SharmaEtAl2009.compute()
get_fault_type_dummy_variables()
get_site_type_dummy_variables()
- si_midorikawa_1999
SiMidorikawa1999Asc
SiMidorikawa1999Asc.AMP_F
SiMidorikawa1999Asc.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SiMidorikawa1999Asc.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SiMidorikawa1999Asc.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SiMidorikawa1999Asc.DEFINED_FOR_TECTONIC_REGION_TYPE
SiMidorikawa1999Asc.REQUIRES_DISTANCES
SiMidorikawa1999Asc.REQUIRES_RUPTURE_PARAMETERS
SiMidorikawa1999Asc.REQUIRES_SITES_PARAMETERS
SiMidorikawa1999Asc.compute()
SiMidorikawa1999SInter
SiMidorikawa1999SInterNorthEastCorrection
SiMidorikawa1999SInterSouthWestCorrection
SiMidorikawa1999SSlab
SiMidorikawa1999SSlabNorthEastCorrection
SiMidorikawa1999SSlabSouthWestCorrection
set_mean()
set_sig_asc()
set_sig_sub()
- si_2020
SiEtAl2020SInter
SiEtAl2020SInter.COEFFS
SiEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SiEtAl2020SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SiEtAl2020SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SiEtAl2020SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
SiEtAl2020SInter.REQUIRES_DISTANCES
SiEtAl2020SInter.REQUIRES_RUPTURE_PARAMETERS
SiEtAl2020SInter.REQUIRES_SITES_PARAMETERS
SiEtAl2020SInter.compute()
SiEtAl2020SSlab
get_anelastic_attenuation_term()
get_base_term()
get_depth_scaling_term()
get_geometric_attenuation_term()
get_magnitude_scaling_term()
get_mean_values()
get_moho_depth()
get_shallow_site_response_term()
- silva_2002
SilvaEtAl2002DoubleCornerSaturation
SilvaEtAl2002MblgAB1987NSHMP2008
SilvaEtAl2002MblgAB1987NSHMP2008.COEFFS
SilvaEtAl2002MblgAB1987NSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SilvaEtAl2002MblgAB1987NSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SilvaEtAl2002MblgAB1987NSHMP2008.DEFINED_FOR_REFERENCE_VELOCITY
SilvaEtAl2002MblgAB1987NSHMP2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SilvaEtAl2002MblgAB1987NSHMP2008.DEFINED_FOR_TECTONIC_REGION_TYPE
SilvaEtAl2002MblgAB1987NSHMP2008.REQUIRES_DISTANCES
SilvaEtAl2002MblgAB1987NSHMP2008.REQUIRES_RUPTURE_PARAMETERS
SilvaEtAl2002MblgAB1987NSHMP2008.REQUIRES_SITES_PARAMETERS
SilvaEtAl2002MblgAB1987NSHMP2008.compute()
SilvaEtAl2002MblgAB1987NSHMP2008.kind
SilvaEtAl2002MblgJ1996NSHMP2008
SilvaEtAl2002MwNSHMP2008
SilvaEtAl2002SingleCornerSaturation
- skarlatoudis_2013
SkarlatoudisEtAlSSlab2013
SkarlatoudisEtAlSSlab2013.COEFFS
SkarlatoudisEtAlSSlab2013.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SkarlatoudisEtAlSSlab2013.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SkarlatoudisEtAlSSlab2013.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SkarlatoudisEtAlSSlab2013.DEFINED_FOR_TECTONIC_REGION_TYPE
SkarlatoudisEtAlSSlab2013.REQUIRES_DISTANCES
SkarlatoudisEtAlSSlab2013.REQUIRES_RUPTURE_PARAMETERS
SkarlatoudisEtAlSSlab2013.REQUIRES_SITES_PARAMETERS
SkarlatoudisEtAlSSlab2013.compute()
SkarlatoudisEtAlSSlab2013_scaled
- somerville_2001
SomervilleEtAl2001NSHMP2008
SomervilleEtAl2001NSHMP2008.COEFFS
SomervilleEtAl2001NSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SomervilleEtAl2001NSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SomervilleEtAl2001NSHMP2008.DEFINED_FOR_REFERENCE_VELOCITY
SomervilleEtAl2001NSHMP2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SomervilleEtAl2001NSHMP2008.DEFINED_FOR_TECTONIC_REGION_TYPE
SomervilleEtAl2001NSHMP2008.REQUIRES_DISTANCES
SomervilleEtAl2001NSHMP2008.REQUIRES_RUPTURE_PARAMETERS
SomervilleEtAl2001NSHMP2008.REQUIRES_SITES_PARAMETERS
SomervilleEtAl2001NSHMP2008.compute()
- somerville_2009
SomervilleEtAl2009NonCratonic
SomervilleEtAl2009NonCratonic.COEFFS
SomervilleEtAl2009NonCratonic.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
SomervilleEtAl2009NonCratonic.DEFINED_FOR_INTENSITY_MEASURE_TYPES
SomervilleEtAl2009NonCratonic.DEFINED_FOR_REFERENCE_VELOCITY
SomervilleEtAl2009NonCratonic.DEFINED_FOR_STANDARD_DEVIATION_TYPES
SomervilleEtAl2009NonCratonic.DEFINED_FOR_TECTONIC_REGION_TYPE
SomervilleEtAl2009NonCratonic.REQUIRES_DISTANCES
SomervilleEtAl2009NonCratonic.REQUIRES_RUPTURE_PARAMETERS
SomervilleEtAl2009NonCratonic.REQUIRES_SITES_PARAMETERS
SomervilleEtAl2009NonCratonic.compute()
SomervilleEtAl2009NonCratonic_SS14
SomervilleEtAl2009YilgarnCraton
SomervilleEtAl2009YilgarnCraton_SS14
- stewart_2016
StewartEtAl2016
StewartEtAl2016.COEFFS
StewartEtAl2016.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
StewartEtAl2016.DEFINED_FOR_INTENSITY_MEASURE_TYPES
StewartEtAl2016.DEFINED_FOR_STANDARD_DEVIATION_TYPES
StewartEtAl2016.DEFINED_FOR_TECTONIC_REGION_TYPE
StewartEtAl2016.REQUIRES_ATTRIBUTES
StewartEtAl2016.REQUIRES_DISTANCES
StewartEtAl2016.REQUIRES_RUPTURE_PARAMETERS
StewartEtAl2016.REQUIRES_SITES_PARAMETERS
StewartEtAl2016.kind
StewartEtAl2016.region
- stewart_2016_vh
StewartEtAl2016NoSOFVH
StewartEtAl2016RegCHNNoSOFVH
StewartEtAl2016RegCHNVH
StewartEtAl2016RegJPNNoSOFVH
StewartEtAl2016RegJPNVH
StewartEtAl2016VH
StewartEtAl2016VH.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
StewartEtAl2016VH.DEFINED_FOR_INTENSITY_MEASURE_TYPES
StewartEtAl2016VH.DEFINED_FOR_STANDARD_DEVIATION_TYPES
StewartEtAl2016VH.DEFINED_FOR_TECTONIC_REGION_TYPE
StewartEtAl2016VH.HGMPE
StewartEtAl2016VH.REQUIRES_DISTANCES
StewartEtAl2016VH.REQUIRES_RUPTURE_PARAMETERS
StewartEtAl2016VH.REQUIRES_SITES_PARAMETERS
StewartEtAl2016VH.VGMPE
- tavakoli_pezeshk_2005
TavakoliPezeshk2005
TavakoliPezeshk2005.COEFFS
TavakoliPezeshk2005.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
TavakoliPezeshk2005.DEFINED_FOR_INTENSITY_MEASURE_TYPES
TavakoliPezeshk2005.DEFINED_FOR_STANDARD_DEVIATION_TYPES
TavakoliPezeshk2005.DEFINED_FOR_TECTONIC_REGION_TYPE
TavakoliPezeshk2005.REQUIRES_DISTANCES
TavakoliPezeshk2005.REQUIRES_RUPTURE_PARAMETERS
TavakoliPezeshk2005.REQUIRES_SITES_PARAMETERS
TavakoliPezeshk2005.compute()
TavakoliPezeshk2005.kind
TavakoliPezeshk2005MblgAB1987NSHMP2008
TavakoliPezeshk2005MblgJ1996NSHMP2008
TavakoliPezeshk2005MwNSHMP2008
- example_a_2021
ExampleA2021
ExampleA2021.COEFFS
ExampleA2021.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ExampleA2021.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ExampleA2021.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ExampleA2021.DEFINED_FOR_TECTONIC_REGION_TYPE
ExampleA2021.REQUIRES_DISTANCES
ExampleA2021.REQUIRES_RUPTURE_PARAMETERS
ExampleA2021.REQUIRES_SITES_PARAMETERS
ExampleA2021.compute()
- toro_1997
ToroEtAl1997MblgNSHMP2008
ToroEtAl1997MblgNSHMP2008.COEFFS
ToroEtAl1997MblgNSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ToroEtAl1997MblgNSHMP2008.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ToroEtAl1997MblgNSHMP2008.DEFINED_FOR_REFERENCE_VELOCITY
ToroEtAl1997MblgNSHMP2008.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ToroEtAl1997MblgNSHMP2008.DEFINED_FOR_TECTONIC_REGION_TYPE
ToroEtAl1997MblgNSHMP2008.REQUIRES_DISTANCES
ToroEtAl1997MblgNSHMP2008.REQUIRES_RUPTURE_PARAMETERS
ToroEtAl1997MblgNSHMP2008.REQUIRES_SITES_PARAMETERS
ToroEtAl1997MblgNSHMP2008.compute()
ToroEtAl1997MblgNSHMP2008.kind
ToroEtAl1997MwNSHMP2008
- toro_2002
ToroEtAl2002
ToroEtAl2002.COEFFS
ToroEtAl2002.CONSTS_FS
ToroEtAl2002.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ToroEtAl2002.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ToroEtAl2002.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ToroEtAl2002.DEFINED_FOR_TECTONIC_REGION_TYPE
ToroEtAl2002.REQUIRES_DISTANCES
ToroEtAl2002.REQUIRES_RUPTURE_PARAMETERS
ToroEtAl2002.REQUIRES_SITES_PARAMETERS
ToroEtAl2002.compute()
ToroEtAl2002SHARE
- travasarou_2003
TravasarouEtAl2003
TravasarouEtAl2003.COEFFS
TravasarouEtAl2003.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
TravasarouEtAl2003.DEFINED_FOR_INTENSITY_MEASURE_TYPES
TravasarouEtAl2003.DEFINED_FOR_STANDARD_DEVIATION_TYPES
TravasarouEtAl2003.DEFINED_FOR_TECTONIC_REGION_TYPE
TravasarouEtAl2003.REQUIRES_DISTANCES
TravasarouEtAl2003.REQUIRES_RUPTURE_PARAMETERS
TravasarouEtAl2003.REQUIRES_SITES_PARAMETERS
TravasarouEtAl2003.compute()
TravasarouEtAl2003.non_verified
- tromans_2019
ASK_TAU_COEFFS
DELTA_PHI_S2S
PHI_SS_COEFFS
TromansEtAl2019
TromansEtAl2019.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
TromansEtAl2019.DEFINED_FOR_INTENSITY_MEASURE_TYPES
TromansEtAl2019.DEFINED_FOR_STANDARD_DEVIATION_TYPES
TromansEtAl2019.DEFINED_FOR_TECTONIC_REGION_TYPE
TromansEtAl2019.REQUIRES_DISTANCES
TromansEtAl2019.REQUIRES_RUPTURE_PARAMETERS
TromansEtAl2019.REQUIRES_SITES_PARAMETERS
TromansEtAl2019.compute()
TromansEtAl2019SigmaMu
get_alatik_youngs_sigma_mu()
get_heteroskedastic_phi()
get_heteroskedastic_tau()
get_stddevs()
- tusa_langer_2016
TusaLanger2016RepiBA08DE
TusaLanger2016RepiBA08SE
TusaLanger2016RepiBA08SE.COEFFS
TusaLanger2016RepiBA08SE.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
TusaLanger2016RepiBA08SE.DEFINED_FOR_INTENSITY_MEASURE_TYPES
TusaLanger2016RepiBA08SE.DEFINED_FOR_STANDARD_DEVIATION_TYPES
TusaLanger2016RepiBA08SE.DEFINED_FOR_TECTONIC_REGION_TYPE
TusaLanger2016RepiBA08SE.REQUIRES_DISTANCES
TusaLanger2016RepiBA08SE.REQUIRES_RUPTURE_PARAMETERS
TusaLanger2016RepiBA08SE.REQUIRES_SITES_PARAMETERS
TusaLanger2016RepiBA08SE.compute()
TusaLanger2016RepiBA08SE.kind
TusaLanger2016RepiSP87DE
TusaLanger2016RepiSP87SE
TusaLanger2016Rhypo
- tusa_langer_azzaro_2019
TusaLangerAzzaro2019_100b
TusaLangerAzzaro2019_100b.COEFFS
TusaLangerAzzaro2019_100b.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
TusaLangerAzzaro2019_100b.DEFINED_FOR_INTENSITY_MEASURE_TYPES
TusaLangerAzzaro2019_100b.DEFINED_FOR_STANDARD_DEVIATION_TYPES
TusaLangerAzzaro2019_100b.DEFINED_FOR_TECTONIC_REGION_TYPE
TusaLangerAzzaro2019_100b.REQUIRES_DISTANCES
TusaLangerAzzaro2019_100b.REQUIRES_RUPTURE_PARAMETERS
TusaLangerAzzaro2019_100b.REQUIRES_SITES_PARAMETERS
TusaLangerAzzaro2019_100b.compute()
TusaLangerAzzaro2019_100b.kind
TusaLangerAzzaro2019_60b
- utils
- utils_swiss_gmpe
- utils_usgs_basin_scaling
- usgs_ceus_2019
- vanhoutte_2018
VanHoutteEtAl2018RSD
VanHoutteEtAl2018RSD.COEFFS
VanHoutteEtAl2018RSD.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
VanHoutteEtAl2018RSD.DEFINED_FOR_INTENSITY_MEASURE_TYPES
VanHoutteEtAl2018RSD.DEFINED_FOR_STANDARD_DEVIATION_TYPES
VanHoutteEtAl2018RSD.DEFINED_FOR_TECTONIC_REGION_TYPE
VanHoutteEtAl2018RSD.REQUIRES_DISTANCES
VanHoutteEtAl2018RSD.REQUIRES_RUPTURE_PARAMETERS
VanHoutteEtAl2018RSD.REQUIRES_SITES_PARAMETERS
VanHoutteEtAl2018RSD.compute()
get_distance_term()
get_magnitude_term()
get_site_amplification()
- weatherill_2024
Weatherill2024ESHM20AvgSA
Weatherill2024ESHM20AvgSAHomoskedastic
Weatherill2024ESHM20SlopeGeologyAvgSA
Weatherill2024ESHM20SlopeGeologyAvgSA.COEFFS_FIXED
Weatherill2024ESHM20SlopeGeologyAvgSA.COEFFS_RANDOM_GRAD
Weatherill2024ESHM20SlopeGeologyAvgSA.COEFFS_RANDOM_INT
Weatherill2024ESHM20SlopeGeologyAvgSA.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Weatherill2024ESHM20SlopeGeologyAvgSA.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Weatherill2024ESHM20SlopeGeologyAvgSA.GEOLOGICAL_UNITS
Weatherill2024ESHM20SlopeGeologyAvgSA.REQUIRES_SITES_PARAMETERS
Weatherill2024ESHM20SlopeGeologyAvgSA.experimental
Weatherill2024ESHM20SlopeGeologyAvgSA.kind
- wong2022
WongEtAl2015
WongEtAl2022Deep
WongEtAl2022Shallow
WongEtAl2022Shallow.COEFFS_Vs30_1080
WongEtAl2022Shallow.COEFFS_Vs30_150
WongEtAl2022Shallow.COEFFS_Vs30_1500
WongEtAl2022Shallow.COEFFS_Vs30_185
WongEtAl2022Shallow.COEFFS_Vs30_260
WongEtAl2022Shallow.COEFFS_Vs30_365
WongEtAl2022Shallow.COEFFS_Vs30_428
WongEtAl2022Shallow.COEFFS_Vs30_530
WongEtAl2022Shallow.COEFFS_Vs30_760
WongEtAl2022Shallow.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
WongEtAl2022Shallow.DEFINED_FOR_INTENSITY_MEASURE_TYPES
WongEtAl2022Shallow.DEFINED_FOR_STANDARD_DEVIATION_TYPES
WongEtAl2022Shallow.DEFINED_FOR_TECTONIC_REGION_TYPE
WongEtAl2022Shallow.REQUIRES_DISTANCES
WongEtAl2022Shallow.REQUIRES_RUPTURE_PARAMETERS
WongEtAl2022Shallow.REQUIRES_SITES_PARAMETERS
WongEtAl2022Shallow.compute()
- yenier_atkinson_2015
YenierAtkinson2015BSSA
YenierAtkinson2015BSSA.COEFFS_TAB2
YenierAtkinson2015BSSA.COEFFS_TAB3
YenierAtkinson2015BSSA.COEFFS_TAB4
YenierAtkinson2015BSSA.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
YenierAtkinson2015BSSA.DEFINED_FOR_INTENSITY_MEASURE_TYPES
YenierAtkinson2015BSSA.DEFINED_FOR_STANDARD_DEVIATION_TYPES
YenierAtkinson2015BSSA.DEFINED_FOR_TECTONIC_REGION_TYPE
YenierAtkinson2015BSSA.REQUIRES_ATTRIBUTES
YenierAtkinson2015BSSA.REQUIRES_DISTANCES
YenierAtkinson2015BSSA.REQUIRES_RUPTURE_PARAMETERS
YenierAtkinson2015BSSA.REQUIRES_SITES_PARAMETERS
YenierAtkinson2015BSSA.adapted
YenierAtkinson2015BSSA.compute()
get_fs_SeyhanStewart2014()
get_sof_adjustment()
- youd_etal_2002
YoudEtAl2002
YoudEtAl2002.COEFFS_FREEFACE
YoudEtAl2002.COEFFS_SLOPE
YoudEtAl2002.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
YoudEtAl2002.DEFINED_FOR_INTENSITY_MEASURE_TYPES
YoudEtAl2002.DEFINED_FOR_STANDARD_DEVIATION_TYPES
YoudEtAl2002.DEFINED_FOR_TECTONIC_REGION_TYPE
YoudEtAl2002.REQUIRES_DISTANCES
YoudEtAl2002.REQUIRES_RUPTURE_PARAMETERS
YoudEtAl2002.REQUIRES_SITES_PARAMETERS
YoudEtAl2002.compute()
YoudEtAl2002.non_verified
- youngs_1997
CONSTS
YoungsEtAl1997GSCSSlabBest
YoungsEtAl1997GSCSSlabLowerLimit
YoungsEtAl1997GSCSSlabUpperLimit
YoungsEtAl1997SInter
YoungsEtAl1997SInter.COEFFS_ROCK
YoungsEtAl1997SInter.COEFFS_SOIL
YoungsEtAl1997SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
YoungsEtAl1997SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
YoungsEtAl1997SInter.DEFINED_FOR_REFERENCE_VELOCITY
YoungsEtAl1997SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
YoungsEtAl1997SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
YoungsEtAl1997SInter.REQUIRES_DISTANCES
YoungsEtAl1997SInter.REQUIRES_RUPTURE_PARAMETERS
YoungsEtAl1997SInter.REQUIRES_SITES_PARAMETERS
YoungsEtAl1997SInter.ROCK_VS30
YoungsEtAl1997SInter.compute()
YoungsEtAl1997SInter.delta
YoungsEtAl1997SInterNSHMP2008
YoungsEtAl1997SSlab
get()
- yu_2013
YuEtAl2013Ms
YuEtAl2013Ms.COEFFS
YuEtAl2013Ms.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
YuEtAl2013Ms.DEFINED_FOR_INTENSITY_MEASURE_TYPES
YuEtAl2013Ms.DEFINED_FOR_STANDARD_DEVIATION_TYPES
YuEtAl2013Ms.DEFINED_FOR_TECTONIC_REGION_TYPE
YuEtAl2013Ms.REQUIRES_DISTANCES
YuEtAl2013Ms.REQUIRES_RUPTURE_PARAMETERS
YuEtAl2013Ms.REQUIRES_SITES_PARAMETERS
YuEtAl2013Ms.compute()
YuEtAl2013MsEastern
YuEtAl2013MsStable
YuEtAl2013MsTibet
YuEtAl2013Mw
YuEtAl2013MwEastern
YuEtAl2013MwStable
YuEtAl2013MwTibet
fnc()
gc()
get_ras()
rbf()
- zafarani_2018
ZafaraniEtAl2018
ZafaraniEtAl2018.COEFFS
ZafaraniEtAl2018.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ZafaraniEtAl2018.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ZafaraniEtAl2018.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ZafaraniEtAl2018.DEFINED_FOR_TECTONIC_REGION_TYPE
ZafaraniEtAl2018.REQUIRES_DISTANCES
ZafaraniEtAl2018.REQUIRES_RUPTURE_PARAMETERS
ZafaraniEtAl2018.REQUIRES_SITES_PARAMETERS
ZafaraniEtAl2018.compute()
ZafaraniEtAl2018VHratio
- zalachoris_rathje_2019
ZalachorisRathje2019
ZalachorisRathje2019.COEFFS_BSSA14
ZalachorisRathje2019.COEFFS_HA15
ZalachorisRathje2019.COEFFS_ZR19
ZalachorisRathje2019.CONSTS
ZalachorisRathje2019.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ZalachorisRathje2019.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ZalachorisRathje2019.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ZalachorisRathje2019.DEFINED_FOR_TECTONIC_REGION_TYPE
ZalachorisRathje2019.REQUIRES_DISTANCES
ZalachorisRathje2019.REQUIRES_RUPTURE_PARAMETERS
ZalachorisRathje2019.REQUIRES_SITES_PARAMETERS
ZalachorisRathje2019.compute()
ZalachorisRathje2019.kind
ZalachorisRathje2019.non_verified
ZalachorisRathje2019.region
ZalachorisRathje2019.sof
get_FENA()
- zhang_zhao_2005
Zhang_Zhao2005Crust
Zhang_Zhao2005SInter
Zhang_Zhao2005SInter.COEFFS_FREEFACE
Zhang_Zhao2005SInter.COEFFS_SLOPE
Zhang_Zhao2005SInter.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
Zhang_Zhao2005SInter.DEFINED_FOR_INTENSITY_MEASURE_TYPES
Zhang_Zhao2005SInter.DEFINED_FOR_STANDARD_DEVIATION_TYPES
Zhang_Zhao2005SInter.DEFINED_FOR_TECTONIC_REGION_TYPE
Zhang_Zhao2005SInter.REQUIRES_DISTANCES
Zhang_Zhao2005SInter.REQUIRES_RUPTURE_PARAMETERS
Zhang_Zhao2005SInter.REQUIRES_SITES_PARAMETERS
Zhang_Zhao2005SInter.compute()
Zhang_Zhao2005SInter.non_verified
Zhang_Zhao2005SSlab
- zhao_2006
ZhaoEtAl2006Asc
ZhaoEtAl2006Asc.COEFFS_ASC
ZhaoEtAl2006Asc.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ZhaoEtAl2006Asc.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ZhaoEtAl2006Asc.DEFINED_FOR_REFERENCE_VELOCITY
ZhaoEtAl2006Asc.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ZhaoEtAl2006Asc.DEFINED_FOR_TECTONIC_REGION_TYPE
ZhaoEtAl2006Asc.REQUIRES_DISTANCES
ZhaoEtAl2006Asc.REQUIRES_RUPTURE_PARAMETERS
ZhaoEtAl2006Asc.REQUIRES_SITES_PARAMETERS
ZhaoEtAl2006Asc.compute()
ZhaoEtAl2006AscSGS
ZhaoEtAl2006SInter
ZhaoEtAl2006SInterCascadia
ZhaoEtAl2006SInterNSHMP2008
ZhaoEtAl2006SSlab
ZhaoEtAl2006SSlabCascadia
ZhaoEtAl2006SSlabNSHMP2014
- zhao_2006_swiss
- zhao_2006_swiss_coeffs
- zhao_2016
ZhaoEtAl2016Asc
ZhaoEtAl2016Asc.COEFFS
ZhaoEtAl2016Asc.COEFFS_SITE
ZhaoEtAl2016Asc.DEFINED_FOR_INTENSITY_MEASURE_COMPONENT
ZhaoEtAl2016Asc.DEFINED_FOR_INTENSITY_MEASURE_TYPES
ZhaoEtAl2016Asc.DEFINED_FOR_STANDARD_DEVIATION_TYPES
ZhaoEtAl2016Asc.DEFINED_FOR_TECTONIC_REGION_TYPE
ZhaoEtAl2016Asc.REQUIRES_DISTANCES
ZhaoEtAl2016Asc.REQUIRES_RUPTURE_PARAMETERS
ZhaoEtAl2016Asc.REQUIRES_SITES_PARAMETERS
ZhaoEtAl2016Asc.compute()
ZhaoEtAl2016AscSiteSigma
ZhaoEtAl2016SInter
ZhaoEtAl2016SInterSiteSigma
ZhaoEtAl2016SSlab
ZhaoEtAl2016SSlabPErg
ZhaoEtAl2016SSlabSiteSigma
ZhaoEtAl2016UpperMantle
ZhaoEtAl2016UpperMantleSiteSigma
add_site_amplification()
get_depth_term_SInter()
get_depth_term_asc()
get_depth_term_sslab()
get_depth_term_um()
get_distance_term_SInter()
get_distance_term_asc()
get_distance_term_sslab()
get_distance_term_um()
get_magnitude_scaling_term_SInter()
get_magnitude_scaling_term_asc()
get_magnitude_scaling_term_sslab()
get_sof_term_SInter()
get_sof_term_asc()
get_sof_term_sslab()
get_sof_term_um()
get_volc_zones()
- openquake.hazardlib.mfd package
- Magnitude-frequency distributions
- arbitrary_mfd
- base
- evenly_discretized
- truncated_gr
TruncatedGRMFD
TruncatedGRMFD.MODIFICATIONS
TruncatedGRMFD.check_constraints()
TruncatedGRMFD.from_moment()
TruncatedGRMFD.from_slip_rate()
TruncatedGRMFD.get_annual_occurrence_rates()
TruncatedGRMFD.get_min_max_mag()
TruncatedGRMFD.modify_increment_b()
TruncatedGRMFD.modify_increment_max_mag()
TruncatedGRMFD.modify_increment_max_mag_no_mo_balance()
TruncatedGRMFD.modify_set_ab()
TruncatedGRMFD.modify_set_bGR()
TruncatedGRMFD.modify_set_max_mag()
- youngs_coppersmith_1985
- Module contents
- openquake.hazardlib.scalerel package
- Area-magnitude scaling relationships
- base
- ceus2011
- germany2018
- gsc_offshore_thrusts
- leonard2014
- peer
- point
- strasser2010
- thingbaijam2017
- wc1994
- wc1994_qcss
- Module contents
- openquake.hazardlib.source package
- Seismic sources and ruptures
- area
- base
BaseSeismicSource
BaseSeismicSource.MODIFICATIONS
BaseSeismicSource.checksum
BaseSeismicSource.count_ruptures()
BaseSeismicSource.esites
BaseSeismicSource.get_mags()
BaseSeismicSource.get_magstrs()
BaseSeismicSource.get_min_max_mag()
BaseSeismicSource.id
BaseSeismicSource.is_gridded()
BaseSeismicSource.iter_meshes()
BaseSeismicSource.iter_ruptures()
BaseSeismicSource.modify()
BaseSeismicSource.nsites
BaseSeismicSource.num_ruptures
BaseSeismicSource.offset
BaseSeismicSource.sample_ruptures()
BaseSeismicSource.seed
BaseSeismicSource.serial()
BaseSeismicSource.splittable
BaseSeismicSource.to_xml()
BaseSeismicSource.trt_smr
BaseSeismicSource.trt_smrs
BaseSeismicSource.weight
ParametricSeismicSource
ParametricSeismicSource.get_annual_occurrence_rates()
ParametricSeismicSource.get_min_max_mag()
ParametricSeismicSource.modify_adjust_mfd_from_slip()
ParametricSeismicSource.modify_recompute_mmax()
ParametricSeismicSource.modify_set_mmax_truncatedGR()
ParametricSeismicSource.modify_set_msr()
ParametricSeismicSource.modify_set_slip_rate()
SourceParam
get_code2cls()
is_poissonian()
poisson_sample()
timedep_sample()
- characteristic
CharacteristicFaultSource
CharacteristicFaultSource.MODIFICATIONS
CharacteristicFaultSource.code
CharacteristicFaultSource.count_ruptures()
CharacteristicFaultSource.get_bounding_box()
CharacteristicFaultSource.get_fault_surface_area()
CharacteristicFaultSource.iter_ruptures()
CharacteristicFaultSource.modify_set_geometry()
CharacteristicFaultSource.polygon
CharacteristicFaultSource.wkt()
- complex_fault
- non_parametric
NonParametricSeismicSource
NonParametricSeismicSource.MODIFICATIONS
NonParametricSeismicSource.code
NonParametricSeismicSource.count_ruptures()
NonParametricSeismicSource.fromdict()
NonParametricSeismicSource.get_bounding_box()
NonParametricSeismicSource.get_min_max_mag()
NonParametricSeismicSource.is_gridded()
NonParametricSeismicSource.iter_ruptures()
NonParametricSeismicSource.mesh_size()
NonParametricSeismicSource.polygon
NonParametricSeismicSource.rup_weights
NonParametricSeismicSource.todict()
NonParametricSeismicSource.wkt()
- point
CollapsedPointSource
PointSource
PointSource.MODIFICATIONS
PointSource.code
PointSource.count_nphc()
PointSource.count_ruptures()
PointSource.get_bounding_box()
PointSource.get_planar()
PointSource.get_planin()
PointSource.get_psdist()
PointSource.iruptures()
PointSource.iter_ruptures()
PointSource.max_radius()
PointSource.polygon
PointSource.ps_grid_spacing
PointSource.restrict()
PointSource.wkt()
calc_average()
get_rup_maxlen()
get_rupdims()
grid_point_sources()
msr_name()
pdata_to_psources()
psources_to_pdata()
- rupture
BaseRupture
EBRupture
ExportedRupture
NonParametricProbabilisticRupture
ParametricProbabilisticRupture
PointRupture
PointSurface
RuptureProxy
build_planar()
fix_vertices_order()
float5()
get_ebr()
get_eid_rlz()
get_events()
get_geom()
get_multiplanar()
get_planar()
get_ruptures()
is_matrix()
to_arrays()
to_checksum8()
to_csv_array()
- simple_fault
SimpleFaultSource
SimpleFaultSource.MODIFICATIONS
SimpleFaultSource.code
SimpleFaultSource.count_ruptures()
SimpleFaultSource.get_fault_surface_area()
SimpleFaultSource.iter_ruptures()
SimpleFaultSource.modify_adjust_dip()
SimpleFaultSource.modify_set_dip()
SimpleFaultSource.modify_set_geometry()
SimpleFaultSource.modify_set_lower_seismogenic_depth()
SimpleFaultSource.polygon
SimpleFaultSource.wkt()
source_reader module#
- class openquake.hazardlib.source_reader.CompositeSourceModel(full_lt, src_groups)[source]#
Bases:
object
- Parameters:
full_lt – a
FullLogicTree
instancesrc_groups – a list of SourceGroups
event_based – a flag True for event based calculations, flag otherwise
- get_floating_spinning_factors()[source]#
- Returns:
(floating rupture factor, spinning rupture factor)
- get_mags_by_trt(maximum_distance)[source]#
- Parameters:
maximum_distance – dictionary trt -> magdist interpolator
- Returns:
a dictionary trt -> magnitudes in the sources as strings
- get_max_weight(oq)[source]#
- Parameters:
oq – an OqParam instance
- Returns:
total weight and max weight of the sources
- get_sources(atomic=None)[source]#
There are 3 options:
atomic == None => return all the sources (default) atomic == True => return all the sources in atomic groups atomic == True => return all the sources not in atomic groups
- openquake.hazardlib.source_reader.add_checksums(srcs)[source]#
Build and attach a checksum to each source
- openquake.hazardlib.source_reader.build_rup_mutex(src_groups)[source]#
- Returns:
a composite array with fields (grp_id, src_id, rup_id, weight)
- openquake.hazardlib.source_reader.check_branchID(branchID)[source]#
Forbids invalid characters .:; used in fragmentno
- openquake.hazardlib.source_reader.check_unique(ids, msg='', strict=True)[source]#
Raise a DuplicatedID exception if there are duplicated IDs
- openquake.hazardlib.source_reader.create_source_info(csm, h5)[source]#
Creates source_info, trt_smrs, toms
- openquake.hazardlib.source_reader.find_false_duplicates(smdict)[source]#
Discriminate different sources with same ID (false duplicates) and put a question mark in their source ID
- openquake.hazardlib.source_reader.fix_geometry_sections(smdict, src_groups, hdf5path='', site1=None)[source]#
If there are MultiFaultSources, fix the sections according to the GeometryModels (if any).
- openquake.hazardlib.source_reader.get_csm(oq, full_lt, dstore=None)[source]#
Build source models from the logic tree and to store them inside the source_full_lt dataset.
- openquake.hazardlib.source_reader.mutex_by_grp(src_groups)[source]#
- Returns:
a composite array with boolean fields src_mutex, rup_mutex
- openquake.hazardlib.source_reader.read_source_model(fname, branch, converter, applied, sample, monitor)[source]#
- Parameters:
fname – path to a source model XML file
branch – source model logic tree branch ID
converter – SourceConverter
applied – list of source IDs within applyToSources
sample – a string with the sampling factor (if any)
monitor – a Monitor instance
- Returns:
a SourceModel instance
- openquake.hazardlib.source_reader.reduce_sources(sources_with_same_id, full_lt)[source]#
- Parameters:
sources_with_same_id – a list of sources with the same source_id
- Returns:
a list of truly unique sources, ordered by trt_smr
- openquake.hazardlib.source_reader.replace(lst, splitdic, key)[source]#
Replace a list of named elements with the split elements in splitdic
logictree module#
Logic tree parser, verifier and processor. See specs at https://blueprints.launchpad.net/openquake-old/+spec/openquake-logic-tree-module
A logic tree object must be iterable and yielding realizations, i.e. objects with attributes value, weight, lt_path and ordinal.
- class openquake.hazardlib.logictree.FullLogicTree(source_model_lt, gsim_lt, oversampling='tolerate')[source]#
Bases:
object
The full logic tree as composition of
- Parameters:
source_model_lt –
SourceModelLogicTree
objectgsim_lt –
GsimLogicTree
object
- classmethod fake(gsimlt=None)[source]#
- Returns:
a fake FullLogicTree instance with the given gsim logic tree object; if None, builds automatically a fake gsim logic tree
- get_rlzs_by_gsim(trt_smr)[source]#
- Parameters:
trt_smr – index or array of indices
- Returns:
a dictionary gsim -> array of rlz indices
- property num_samples#
- Returns:
the source_model_lt
num_samples
parameter
- oversampling = 'tolerate'#
- property rlzs#
- Returns:
an array of realizations
- property sampling_method#
- Returns:
the source_model_lt
sampling_method
parameter
- property sd#
- property seed#
- Returns:
the source_model_lt seed
- class openquake.hazardlib.logictree.Info(smpaths, h5paths, applytosources)#
Bases:
tuple
- applytosources#
Alias for field number 2
- h5paths#
Alias for field number 1
- smpaths#
Alias for field number 0
- class openquake.hazardlib.logictree.LtRealization(ordinal, sm_lt_path, gsim_rlz, weight)[source]#
Bases:
object
Composite realization build on top of a source model realization and a GSIM realization.
- property gsim_lt_path#
- gsim_rlz#
- ordinal#
- sm_lt_path#
- weight#
- class openquake.hazardlib.logictree.SourceLogicTree(source_id, branchsets, bsetdict)[source]#
Bases:
object
Source specific logic tree (full enumeration)
- class openquake.hazardlib.logictree.SourceModelLogicTree(filename, seed=0, num_samples=0, sampling_method='early_weights', test_mode=False, branchID='', source_id='')[source]#
Bases:
object
Source model logic tree parser.
- Parameters:
filename – Full pathname of logic tree file
- Raises:
LogicTreeError – If logic tree file has a logic error, which can not be prevented by xml schema rules (like referencing sources with missing id).
- ABSOLUTE_UNCERTAINTIES = ('abGRAbsolute', 'bGRAbsolute', 'maxMagGRAbsolute', 'simpleFaultGeometryAbsolute', 'truncatedGRFromSlipAbsolute', 'complexFaultGeometryAbsolute', 'setMSRAbsolute')#
- FILTERS = ('applyToTectonicRegionType', 'applyToSources', 'applyToBranches')#
- apply_branchset(apply_to_branches, lineno, branchset)[source]#
See superclass’ method for description and signature specification.
Parses branchset node’s attribute
@applyToBranches
to apply following branchests to preceding branches selectively. Branching level can have more than one branchset exactly for this: different branchsets can apply to different open ends.Checks that branchset tries to be applied only to branches on previous branching level which do not have a child branchset yet.
- bset_values(lt_path)[source]#
- Parameters:
sm_rlz – an effective realization
- Returns:
a list of B - 1 pairs (branchset, value)
- collect_source_model_data(branch_id, fname)[source]#
Parse source model file and collect information about source ids, source types and tectonic region types available in it. That information is used then for
validate_filters()
andvalidate_uncertainty_value()
.- Parameters:
branch_id – source model logic tree branch ID
fname – relative filename for the current source model portion
- Returns:
the number of sources in the source model portion
- decompose()[source]#
If the logic tree is source specific, returns a dictionary source ID -> SourceLogicTree instance
- parse_branches(branchset_node, branchset)[source]#
Create and attach branches at
branchset_node
tobranchset
.- Parameters:
branchset_node – Same as for
parse_branchset()
.branchset – An instance of
BranchSet
.
Checks that each branch has
valid
value, unique id and that all branches have total weight of 1.0.- Returns:
None
, all branches are attached to provided branchset.
- parse_branchset(branchset_node, bsno)[source]#
- Parameters:
node (branchset) –
etree.Element
object with tag “logicTreeBranchSet”.bsno – The sequential number of the branchset, starting from 0.
Enumerates children branchsets and call
parse_branchset()
,validate_branchset()
,parse_branches()
and finallyapply_branchset()
for each.Keeps track of “open ends” – the set of branches that don’t have any child branchset on this step of execution. After processing of every branchset only those branches that are listed in it can have child branchsets (if there is one on the next level).
- parse_filters(branchset_node, uncertainty_type, filters)[source]#
Converts “applyToSources” and “applyToBranches” filters by splitting into lists.
- parse_tree(tree_node)[source]#
Parse the whole tree and point
root_branchset
attribute to the tree’s root.
- validate_branchset(branchset_node, bsno, branchset)[source]#
See superclass’ method for description and signature specification.
Checks that the following conditions are met:
First branching level must contain exactly one branchset, which must be of type “sourceModel”.
All other branchsets must not be of type “sourceModel” or “gmpeModel”.
- validate_filters(branchset_node, uncertainty_type, filters)[source]#
See superclass’ method for description and signature specification.
Checks that the following conditions are met:
“sourceModel” uncertainties can not have filters.
Absolute uncertainties must have only one filter – “applyToSources”, with only one source id.
All other uncertainty types can have either no or one filter.
Filter “applyToSources” must mention only source ids that exist in source models.
Filter “applyToTectonicRegionType” must mention only tectonic region types that exist in source models.
- openquake.hazardlib.logictree.collect_info(smltpath, branchID='')[source]#
Given a path to a source model logic tree, collect all of the path names to the source models it contains.
- Parameters:
smltpath – source model logic tree file
branchID – if given, consider only that branch
- Returns:
an Info namedtuple (smpaths, h5paths, applytosources)
- openquake.hazardlib.logictree.collect_paths(paths, b1=91, b2=93, til=126)[source]#
Collect branch paths belonging to the same cluster
>>> collect_paths([b'0~A0', b'0~A1']) b'[0]~[A][01]'
- openquake.hazardlib.logictree.compose(source_model_lt, gsim_lt)[source]#
- Returns:
a CompositeLogicTree instance
- openquake.hazardlib.logictree.get_eff_rlzs(sm_rlzs, gsim_rlzs)[source]#
Group together realizations with the same path and yield the first representative of each group
- openquake.hazardlib.logictree.get_effective_rlzs(rlzs)[source]#
Group together realizations with the same path and yield the first representative of each group.
- Parameters:
rlzs – a list of Realization instances with a .pid property
- openquake.hazardlib.logictree.get_field(data, field, default)[source]#
- Parameters:
data – a record with a field field, possibily missing
- openquake.hazardlib.logictree.get_trt_by_src(source_model_file, source_id='')[source]#
- Returns:
a dictionary source ID -> tectonic region type of the source
- openquake.hazardlib.logictree.read_source_groups(fname)[source]#
- Parameters:
fname – a path to a source model XML file
- Returns:
a list of SourceGroup objects containing source nodes
- openquake.hazardlib.logictree.reduce_fnames(fnames, source_id)[source]#
If the source ID is ambiguous (i.e. there is “!”) only returns the filenames containing the source, otherwise return all the filenames
- openquake.hazardlib.logictree.reduce_full(full_lt, rlz_clusters)[source]#
- Parameters:
full_lt – a FullLogicTree instance
rlz_clusters – list of paths for a realization cluster
- Returns:
a dictionary with what can be reduced
- openquake.hazardlib.logictree.reducible(lt, cluster_paths)[source]#
- Parameters:
lt – a logic tree with B branches
cluster_paths – list of paths for a realization cluster
- Returns:
a list [filename, (branchSetID, branchIDs), …]
contexts#
- class openquake.hazardlib.contexts.BaseContext[source]#
Bases:
object
Base class for context object.
- class openquake.hazardlib.contexts.ContextMaker(trt, gsims, oq, monitor=<Monitor [runner]>, extraparams=())[source]#
Bases:
object
A class to manage the creation of contexts and to compute mean/stddevs and possibly PoEs.
- Parameters:
trt – tectonic region type string
gsims – list of GSIMs or a dictionary gsim -> rlz indices
oq – dictionary of parameters like the maximum_distance, the IMTLs, the investigation time, etc, or an OqParam instance
extraparams – additional site parameters to consider, used only in the tests
NB: the trt can be different from the tectonic region type for which the underlying GSIMs are defined. This is intentional.
- REQUIRES = ['DISTANCES', 'SITES_PARAMETERS', 'RUPTURE_PARAMETERS']#
- property Z#
- Returns:
the number of realizations associated to self
- deltagetter = None#
- estimate_sites(src, sites)[source]#
- Parameters:
src – a (Collapsed)PointSource
sites – a filtered SiteCollection
- Returns:
how many sites are impacted overall
- estimate_weight(src, srcfilter, multiplier=1)[source]#
- Parameters:
src – a source object
srcfilter – a SourceFilter instance
- Returns:
(weight, estimate_sites)
- fewsites = False#
- from_planar(rup, hdist, step, point='TC', toward_azimuth=90.0, direction='positive')[source]#
- Parameters:
rup – a BaseRupture instance with a PlanarSurface and site parameters
- Returns:
a context array for the sites around the rupture
- from_srcs(srcs, sitecol)[source]#
- Parameters:
srcs – a list of Source objects
sitecol – a SiteCollection instance
- Returns:
a list of context arrays
- gen_contexts(rups_sites, src_id)[source]#
- Yields:
the old-style RuptureContexts generated by the source
- gen_poes(ctx)[source]#
- Parameters:
ctx – a vectorized context (recarray) of size N
rup_indep – rupture flag (false for mutex ruptures)
- Yields:
poes, mea_sig, ctxt with poes of shape (N, L, G)
- genctxs(same_mag_rups, sites, src_id)[source]#
- Params same_mag_rups:
a list of ruptures
- Parameters:
sites – a (filtered) site collection
src_id – source index
- Yields:
a context array for each rupture
- get_att_curves(site, msr, mag, aratio=1.0, strike=0.0, dip=45.0, rake=-90)[source]#
- Returns:
4 attenuation curves mea, sig, tau, phi (up to 500 km from the site at steps of 5 km)
- get_ctx_iter(src, sitecol, src_id=0, step=1)[source]#
- Parameters:
src – a source object (already split) or a list of ruptures
sitecol – a (filtered) SiteCollection
src_id – integer source ID used where src is actually a list
step – > 1 only in preclassical
- Returns:
iterator over recarrays
- get_mean_stds(ctxs, split_by_mag=True)[source]#
- Parameters:
ctxs – a list of contexts with N=sum(len(ctx) for ctx in ctxs)
split_by_mag – where to split by magnitude
- Returns:
an array of shape (4, G, M, N) with mean and stddevs
- get_occ_rates(ctxt)[source]#
- Parameters:
ctxt – context array generated by this ContextMaker
- Returns:
occurrence rates, possibly from probs_occur[0]
- get_pmap(ctxs, tom=None, rup_mutex={})[source]#
- Parameters:
ctxs – a list of context arrays (only one for poissonian ctxs)
tom – temporal occurrence model (default PoissonTom)
rup_mutex – dictionary of weights (default empty)
- Returns:
a MapArray
- get_poes(srcs, sitecol, tom=None, rup_mutex={}, collapse_level=-1)[source]#
- Parameters:
srcs – a list of sources with the same TRT
sitecol – a SiteCollection instance with N sites
- Returns:
an array of PoEs of shape (N, L, G)
- horiz_comp_to_geom_mean(mean_stds, gsim)[source]#
This function converts ground-motion obtained for a given description of horizontal component into ground-motion values for geometric_mean.
- The conversion equations used are from:
Beyer and Bommer (2006): for arithmetic mean, GMRot and random
Boore and Kishida (2017): for RotD50
- max_intensity(sitecol1, mags, dists)[source]#
- Parameters:
sitecol1 – a SiteCollection instance with a single site
mags – a sequence of magnitudes
dists – a sequence of distances
- Returns:
an array of GMVs of shape (#mags, #dists)
- ratesNLG(srcgroup, sitecol)[source]#
Used for debugging simple sources
- Parameters:
srcgroup – a group of sources
sitecol – a SiteCollection instance
- Returns:
an array of annual rates of shape (N, L, G)
- recarray(ctxs)[source]#
- Params ctxs:
a non-empty list of homogeneous contexts
- Returns:
a recarray, possibly collapsed
- restrict(imts)[source]#
- Parameters:
imts – a list of IMT strings subset of the full list
- Returns:
a new ContextMaker involving less IMTs
- scenario = False#
- set_imts_conv()[source]#
Set the .imts list and .conv dictionary for the horizontal component conversion (if any). Also set the .loglevels.
- set_weight(sources, srcfilter, multiplier=1, mon=<Monitor [runner]>)[source]#
Set the weight attribute on each prefiltered source
- tom = None#
- class openquake.hazardlib.contexts.DeltaRatesGetter(dstore)[source]#
Bases:
object
Read the delta rates from an aftershock datastore
- class openquake.hazardlib.contexts.DistancesContext(param_dist_pairs=())[source]#
Bases:
BaseContext
Distances context for ground shaking intensity models.
Instances of this class are passed into
GroundShakingIntensityModel.get_mean_and_stddevs()
. They are intended to represent relevant distances between sites from the collection and the rupture. Every GSIM class is required to declare whatdistance measures
does it need. Only those required values are calculated and made available in a result context object.
- class openquake.hazardlib.contexts.Effect(effect_by_mag, dists, collapse_dist=None)[source]#
Bases:
object
Compute the effect of a rupture of a given magnitude and distance.
- Parameters:
effect_by_mag – a dictionary magstring -> intensities
dists – array of distances, one per each intensity
cdist – collapse distance
- exception openquake.hazardlib.contexts.FarAwayRupture[source]#
Bases:
Exception
Raised if the rupture is outside the maximum distance for all sites
- class openquake.hazardlib.contexts.Oq(**hparams)[source]#
Bases:
object
A mock for OqParam
- af = None#
- aristotle = False#
- cross_correl = None#
- infer_occur_rates = False#
- inputs = ()#
- mea_tau_phi = False#
- property min_iml#
- split_sources = True#
- use_rates = False#
- with_betw_ratio = None#
- class openquake.hazardlib.contexts.PmapMaker(cmaker, srcfilter, group)[source]#
Bases:
object
A class to compute the PoEs from a given source
- class openquake.hazardlib.contexts.RuptureContext(param_pairs=())[source]#
Bases:
BaseContext
Rupture calculation context for ground shaking intensity models.
Instances of this class are passed into
GroundShakingIntensityModel.get_mean_and_stddevs()
. They are intended to represent relevant features of a single rupture. Every GSIM class is required to declare whatrupture parameters
does it need. Only those required parameters are made available in a result context object.- rup_id = 0#
- size()[source]#
If the context is a multi rupture context, i.e. it contains an array of magnitudes and it refers to a single site, returns the size of the array, otherwise returns 1.
- src_id = 0#
- class openquake.hazardlib.contexts.SitesContext(slots=['vs30', 'vs30measured', 'z1pt0', 'z2pt5'], sitecol=None)[source]#
Bases:
BaseContext
Sites calculation context for ground shaking intensity models.
Instances of this class are passed into
GroundShakingIntensityModel.get_mean_and_stddevs()
. They are intended to represent relevant features of the sites collection. Every GSIM class is required to declare whatsites parameters
does it need. Only those required parameters are made available in a result context object.
- openquake.hazardlib.contexts.combine_pmf(o1, o2)[source]#
Combine probabilities of occurrence; used to collapse nonparametric ruptures.
- Parameters:
o1 – probability distribution of length n1
o2 – probability distribution of length n2
- Returns:
probability distribution of length n1 + n2 - 1
>>> combine_pmf([.99, .01], [.98, .02]) array([9.702e-01, 2.960e-02, 2.000e-04])
- openquake.hazardlib.contexts.concat(ctxs)[source]#
Concatenate context arrays. :returns: [] or [poisson_ctx] or [nonpoisson_ctx, …]
- openquake.hazardlib.contexts.full_context(sites, rup, dctx=None)[source]#
- Returns:
a full RuptureContext with all the relevant attributes
- openquake.hazardlib.contexts.genctxs_Pp(src, sitecol, cmaker)[source]#
Context generator for point sources and collapsed point sources
- openquake.hazardlib.contexts.get_cmakers(src_groups, full_lt, oq)[source]#
- Params src_groups:
a list of SourceGroups
- Parameters:
full_lt – a FullLogicTree instance
oq – object containing the calculation parameters
- Returns:
list of ContextMakers associated to the given src_groups
- openquake.hazardlib.contexts.get_dists(ctx)[source]#
Extract the distance parameters from a context.
- Returns:
a dictionary dist_name -> distances
- openquake.hazardlib.contexts.get_effect_by_mag(mags, sitecol1, gsims_by_trt, maximum_distance, imtls)[source]#
- Parameters:
mags – an ordered list of magnitude strings with format %.2f
sitecol1 – a SiteCollection with a single site
gsims_by_trt – a dictionary trt -> gsims
maximum_distance – an IntegrationDistance object
imtls – a DictArray with intensity measure types and levels
- Returns:
a dict magnitude-string -> array(#dists, #trts)
- openquake.hazardlib.contexts.get_mean_stds(gsim, ctx, imts, **kw)[source]#
- Parameters:
gsim – a single GSIM or a a list of GSIMs
ctx – a RuptureContext or a recarray of size N with same magnitude
imts – a list of M IMTs
kw – additional keyword arguments
- Returns:
an array of shape (4, M, N) obtained by applying the given GSIM, ctx amd imts, or an array of shape (G, 4, M, N)
- openquake.hazardlib.contexts.get_num_distances(gsims)[source]#
- Returns:
the number of distances required for the given GSIMs
- openquake.hazardlib.contexts.get_src_mutex(srcs)[source]#
- Parameters:
srcs – a list of sources with weights and the same grp_id
- Returns:
a dictionary grp_id -> {‘src_id’: […], ‘weight’: […]}
- openquake.hazardlib.contexts.print_finite_size(rups)[source]#
Used to print the number of finite-size ruptures
- openquake.hazardlib.contexts.read_cmaker(dstore, trt_smr)[source]#
- Parameters:
dstore – a DataStore-like object
- Returns:
a ContextMaker instance
- openquake.hazardlib.contexts.read_cmakers(dstore, csm=None)[source]#
- Parameters:
dstore – a DataStore-like object
csm – a CompositeSourceModel instance, if given
- Returns:
an array of ContextMaker instances, one per source group
- openquake.hazardlib.contexts.read_ctx_by_grp(dstore)[source]#
- Parameters:
dstore – DataStore instance
- Returns:
dictionary grp_id -> ctx
- openquake.hazardlib.contexts.set_distances(ctx, rup, r_sites, param, dparam, mask, tu)[source]#
Set the distance attributes on the context; also manages paired attributes like clon_lat and rx_ry0.
- openquake.hazardlib.contexts.set_poes(gsim, mean_std, cmaker, ctx, out, slc)[source]#
Calculate and return probabilities of exceedance (PoEs) of one or more intensity measure levels (IMLs) of one intensity measure type (IMT) for one or more pairs “site – rupture”.
- Parameters:
gsim – A GMPE instance
mean_std – An array of shape (2, M, N) with mean and standard deviations for the sites and intensity measure types
cmaker – A ContextMaker instance, used only in nhsm_2014
ctx – A context array used only in avg_poe_gmpe
out – An array of PoEs of shape (N, L) to be filled
slc – A slice object used only in avg_poe_gmpe
- Raises:
ValueError – If truncation level is not
None
and neither non-negative float number, and ifimts
dictionary contain wrong or unsupported IMTs (seeDEFINED_FOR_INTENSITY_MEASURE_TYPES
).
const#
Module openquake.hazardlib.const
defines various constants.
- class openquake.hazardlib.const.IMC(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
The intensity measure component is the component of interest of ground shaking for an
intensity measure
.- GEOMETRIC_MEAN = 'Average Horizontal'#
Usually defined as the geometric average of the maximum of the two horizontal components (which may not occur at the same time).
- GMRotD100 = 'Average Horizontal (GMRotD100)'#
The geometric mean of the records rotated into the most adverse direction for the structure.
- GMRotI50 = 'Average Horizontal (GMRotI50)'#
An orientation-independent alternative to
AVERAGE_HORIZONTAL
. Defined at Boore et al. (2006, Bull. Seism. Soc. Am. 96, 1502-1511) and is used for all the NGA GMPEs.
- GREATER_OF_TWO_HORIZONTAL = 'Greater of two horizontal'#
The largest value obtained from two perpendicular horizontal components.
- HORIZONTAL = 'Horizontal'#
The horizontal component.
- MEDIAN_HORIZONTAL = 'Median horizontal'#
The median horizontal component.
- PEAK_SRSS_HORIZONTAL = 'Peak square root of sum of squares of horizontals'#
“the peak square root of the sum of squares of two orthogonal horizontal components in the time domain” p. 880 of Kanno et al. (2006, Bull. Seism. Soc. Am. 96, 879-897)
- RANDOM_HORIZONTAL = 'Random horizontal'#
A randomly chosen horizontal component.
- RotD100 = 'Horizontal Maximum Direction (RotD100)'#
- RotD50 = 'Average Horizontal (RotD50)'#
An orientation-independent alternative to
AVERAGE_HORIZONTAL
. Defined at Boore et al. (2006, Bull. Seism. Soc. Am. 96, 1502-1511) and is used for all the NGA GMPEs.
- VECTORIAL = 'Square root of sum of squares of peak horizontals'#
“Vectorial addition: a_V = sqrt(max|a_1(t)|^2 + max|a_2(t)|^2)). This means that the maximum ground amplitudes occur simultaneously on the two horizontal components; this is a conservative assumption.” p. 53 of Douglas (2003, Earth-Sci. Rev. 61, 43-104)
- VERTICAL = 'Vertical'#
The vertical component.
- VERTICAL_TO_HORIZONTAL_RATIO = 'Vertical-to-Horizontal Ratio'#
A vertical-to-horizontal spectral ratio
- apply_conversion(imt)#
- Parameters:
imc – IMC instance
imt – intensity measure type instance
- Returns:
conversion coefficients conv_median, conv_sigma, rstd
- class openquake.hazardlib.const.StdDev[source]#
Bases:
object
GSIM standard deviation represents ground shaking variability at a site.
- ALL = 'All'#
Used in event based calculations, correspond to TOTAL if the gsim is defined for TOTAL, otherwise to the pair (INTER_EVENT, INTRA_EVENT)
- EVENT = 'Event'#
Total standard deviation, defined as the square root of the sum of inter- and intra-event squared standard deviations, represents the total ground shaking variability, and is the only one that is used for calculating a probability of intensity exceedance (see
openquake.hazardlib.gsim.base.get_poes()
).
- INTER_EVENT = 'Inter event'#
Standard deviation representing ground shaking variability within different events.
- INTRA_EVENT = 'Intra event'#
Standard deviation representing ground shaking variability within a single event.
- TOTAL = 'Total'#
- idx = {'Inter event': 1, 'Intra event': 2, 'Total': 0}#
- class openquake.hazardlib.const.TRT(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
Container for constants that define some of the common Tectonic Region Types.
- ACTIVE_SHALLOW_CRUST = 'Active Shallow Crust'#
- GEOTHERMAL = 'Geothermal'#
- INDUCED = 'Induced'#
- STABLE_CONTINENTAL = 'Stable Shallow Crust'#
- SUBDUCTION_INTERFACE = 'Subduction Interface'#
- SUBDUCTION_INTRASLAB = 'Subduction IntraSlab'#
- UPPER_MANTLE = 'Upper Mantle'#
- VOLCANIC = 'Volcanic'#
correlation#
Module openquake.hazardlib.correlation
defines correlation models for
spatially-distributed ground-shaking intensities.
- class openquake.hazardlib.correlation.BaseCorrelationModel[source]#
Bases:
object
Base class for correlation models for spatially-distributed ground-shaking intensities.
- apply_correlation(sites, imt, residuals, stddev_intra=0)[source]#
Apply correlation to randomly sampled residuals.
- Parameters:
sites –
SiteCollection
residuals were sampled for.imt – Intensity measure type object, see
openquake.hazardlib.imt
.residuals – 2d numpy array of sampled residuals, where first dimension represents sites (the length as
sites
parameter) and second one represents different realizations (samples).stddev_intra – Intra-event standard deviation array (phi). Different sites do not necessarily have the same intra-event standard deviation.
- Returns:
Array of the same structure and semantics as
residuals
but with correlations applied.
NB: the correlation matrix is cached. It is computed only once per IMT for the complete site collection and then the portion corresponding to the sites is multiplied by the residuals.
- class openquake.hazardlib.correlation.HM2018CorrelationModel(uncertainty_multiplier=0)[source]#
Bases:
BaseCorrelationModel
“Uncertainty in intraevent spatial correlation of elastic pseudo- acceleration spectral ordinates” by Pablo Heresi and Eduardo Miranda. Submitted for possible publication in Bulletin of Earthquake Engineering, 2018.
- Parameters:
uncertainty_multiplier – Value to be multiplied by the uncertainty in the correlation parameter beta. If uncertainty_multiplier = 0 (default), the median value is used as a constant value.
- class openquake.hazardlib.correlation.JB2009CorrelationModel(vs30_clustering)[source]#
Bases:
BaseCorrelationModel
“Correlation model for spatially distributed ground-motion intensities” by Nirmal Jayaram and Jack W. Baker. Published in Earthquake Engineering and Structural Dynamics 2009; 38, pages 1687-1708.
- Parameters:
vs30_clustering – Boolean value to indicate whether “Case 1” or “Case 2” from page 1700 should be applied.
True
value means that Vs 30 values show or are expected to show clustering (“Case 2”),False
means otherwise.
- get_lower_triangle_correlation_matrix(sites, imt)[source]#
Get lower-triangle matrix as a result of Cholesky-decomposition of correlation matrix.
The resulting matrix should have zeros on values above the main diagonal.
The actual implementations of
BaseCorrelationModel
interface might calculate the matrix considering site collection and IMT (likeJB2009CorrelationModel
does) or might have it pre-constructed for a specific site collection and IMT, in which case they will need to make sure that parameters to this function match parameters that were used to pre-calculate decomposed correlation matrix.- Parameters:
sites –
SiteCollection
to create correlation matrix for.imt – Intensity measure type object, see
openquake.hazardlib.imt
.
- openquake.hazardlib.correlation.hmcorrelation(sites_or_distances, imt, uncertainty_multiplier=0)[source]#
Returns the Heresi-Miranda correlation model.
- Parameters:
sites_or_distances – SiteCollection instance o distance matrix
imt – Intensity Measure Type (PGA or SA)
uncertainty_multiplier – Value to be multiplied by the uncertainty in the correlation parameter beta. If uncertainty_multiplier = 0 (default), the median value is used as a constant value.
- openquake.hazardlib.correlation.jbcorrelation(sites_or_distances, imt, vs30_clustering=False)[source]#
Returns the Jayaram-Baker correlation model.
- Parameters:
sites_or_distances – SiteCollection instance o ristance matrix
imt – Intensity Measure Type (PGA or SA)
vs30_clustering – flag, defalt false
imt#
Module openquake.hazardlib.imt
defines different intensity measure
types.
- openquake.hazardlib.imt.AvgSA(period=None, damping=5.0)[source]#
Dummy spectral acceleration to compute average ground motion over several spectral ordinates. Depending on the choice of AvgSA GMPE, this can operate as a scalar value or as a vector quantity.
- openquake.hazardlib.imt.CAV()[source]#
Cumulative Absolute Velocity. Defins the integral of the absolute acceleration time series. Units are “g-sec”
- openquake.hazardlib.imt.EAS(frequency)[source]#
Effective Amplitude Spectrum in terms of a frequency (in Hz).
- openquake.hazardlib.imt.FAS(frequency)[source]#
Fourier Amplitude Spectrum in terms of a frequency (in Hz).
- openquake.hazardlib.imt.IA()[source]#
Arias intensity. Determines the intensity of shaking by measuring the acceleration of transient seismic waves. Units are
m/s
.
- class openquake.hazardlib.imt.IMT(string, period, damping, strength_ratio)#
Bases:
tuple
- damping#
Alias for field number 2
- property frequency#
- period#
Alias for field number 1
- strength_ratio#
Alias for field number 3
- string#
Alias for field number 0
- openquake.hazardlib.imt.JMA()[source]#
Modified Mercalli intensity, a Roman numeral describing the severity of an earthquake in terms of its effects on the earth’s surface and on humans and their structures.
- openquake.hazardlib.imt.LSD()[source]#
Liquefaction-induced lateral spread displacements measured in units of
m
.
- openquake.hazardlib.imt.MMI()[source]#
Modified Mercalli intensity, a Roman numeral describing the severity of an earthquake in terms of its effects on the earth’s surface and on humans and their structures.
- openquake.hazardlib.imt.PGA()[source]#
Peak ground acceleration during an earthquake measured in units of
g
, times of gravitational acceleration.
- openquake.hazardlib.imt.PGD()[source]#
Peak ground displacement during an earthquake measured in units of
cm
.
- openquake.hazardlib.imt.PGDGeomMean(vert_settlement, lat_spread)[source]#
Geometric mean between vert_settlement and lat_spread
- openquake.hazardlib.imt.PGDMax(vert_settlement, lat_spread)[source]#
Maximum between vert_settlement and lat_spread
- openquake.hazardlib.imt.PGV()[source]#
Peak ground velocity during an earthquake measured in units of
cm/sec
.
- openquake.hazardlib.imt.RSD()[source]#
Relative significant duration, 5-95% of
Arias intensity
, in seconds.
- openquake.hazardlib.imt.RSD2080()[source]#
Relative significant duration, 20-80% of
Arias intensity
, in seconds.
- openquake.hazardlib.imt.RSD575()[source]#
Relative significant duration, 5-75% of
Arias intensity
, in seconds.
- openquake.hazardlib.imt.SA(period, damping=5.0)[source]#
Spectral acceleration, defined as the maximum acceleration of a damped, single-degree-of-freedom harmonic oscillator. Units are
g
, times of gravitational acceleration.
- openquake.hazardlib.imt.SDi(period, strength_ratio, damping=5.0)[source]#
Inelastic spectral displacement, defined as the maximum displacement of a damped, single-degree-of-freedom inelastic oscillator. Units are
cm
.
- openquake.hazardlib.imt.from_string(imt, _damping=5.0)[source]#
Convert an IMT string into an hazardlib object.
- Parameters:
imt (str) – Intensity Measure Type.
lt#
- class openquake.hazardlib.lt.Branch(bs_id, branch_id, weight, value)[source]#
Bases:
object
Branch object, represents a
<logicTreeBranch />
element.- Parameters:
bs_id – BranchSetID of the branchset to which the branch belongs
branch_id – String identifier of the branch
weight – float value of weight assigned to the branch. A text node contents of
<uncertaintyWeight />
child node.value – The actual uncertainty parameter value. A text node contents of
<uncertaintyModel />
child node. Type depends on the branchset’s uncertainty type.
- property id#
- class openquake.hazardlib.lt.BranchSet(uncertainty_type, ordinal=0, filters=None, collapsed=False)[source]#
Bases:
object
Branchset object, represents a
<logicTreeBranchSet />
element.- Parameters:
uncertainty_type –
String value. According to the spec one of:
- gmpeModel
Branches contain references to different GMPEs. Values are parsed as strings and are supposed to be one of supported GMPEs. See list at
GMPELogicTree
.- sourceModel
Branches contain references to different PSHA source models. Values are treated as file names, relatively to base path.
- maxMagGRRelative
Different values to add to Gutenberg-Richter (“GR”) maximum magnitude. Value should be interpretable as float.
- bGRRelative
Values to add to GR “b” value. Parsed as float.
- maxMagGRAbsolute
Values to replace GR maximum magnitude. Values expected to be lists of floats separated by space, one float for each GR MFD in a target source in order of appearance.
- abGRAbsolute
Values to replace “a” and “b” values of GR MFD. Lists of pairs of floats, one pair for one GR MFD in a target source.
- incrementalMFDAbsolute
Replaces an evenly discretized MFD with the values provided
- simpleFaultDipRelative
Increases or decreases the angle of fault dip from that given in the original source model
- simpleFaultDipAbsolute
Replaces the fault dip in the specified source(s)
- simpleFaultGeometryAbsolute
Replaces the simple fault geometry (trace, upper seismogenic depth lower seismogenic depth and dip) of a given source with the values provided
- complexFaultGeometryAbsolute
Replaces the complex fault geometry edges of a given source with the values provided
- characteristicFaultGeometryAbsolute
Replaces the complex fault geometry surface of a given source with the values provided
- truncatedGRFromSlipAbsolute
Updates a TruncatedGR using a slip rate and a rigidity
filters –
Dictionary, a set of filters to specify which sources should the uncertainty be applied to. Represented as branchset element’s attributes in xml:
- applyToSources
The uncertainty should be applied only to specific sources. This filter is required for absolute uncertainties (also only one source can be used for those). Value should be the list of source ids. Can be used only in source model logic tree.
- applyToTectonicRegionType
Can be used in both the source model and GMPE logic trees. Allows to specify to which tectonic region type (Active Shallow Crust, Stable Shallow Crust, etc.) the uncertainty applies to. This filter is required for all branchsets in GMPE logic tree.
- applied = None#
- enumerate_paths()[source]#
Generate all possible paths starting from this branch set.
- Returns:
Generator of two-item tuples. Each tuple contains weight of the path (calculated as a product of the weights of all path’s branches) and list of path’s
Branch
objects. Total sum of all paths’ weights is 1.0
- filter_source(source)[source]#
Apply filters to
source
and returnTrue
if uncertainty should be applied to it.
- get_bset_values(ltpath)[source]#
- Parameters:
ltpath – List of branch IDs
- Returns:
A list of pairs [(bset, value), …]
- class openquake.hazardlib.lt.CompositeLogicTree(branchsets)[source]#
Bases:
object
Build a logic tree from a set of branches by automatically setting the branch IDs.
- exception openquake.hazardlib.lt.LogicTreeError(node, filename, message)[source]#
Bases:
Exception
Logic tree file contains a logic error.
- Parameters:
node – XML node object that causes fail. Used to determine the affected line number.
All other constructor parameters are passed to
superclass'
constructor.
- class openquake.hazardlib.lt.Realization(value, weight, ordinal, lt_path, samples=1)[source]#
Bases:
object
Generic Realization object with attributes value, weight, ordinal, lt_path, samples.
- lt_path#
- ordinal#
- property pid#
- samples#
- value#
- weight#
- class openquake.hazardlib.lt.Weighted(object, weight)#
Bases:
tuple
- object#
Alias for field number 0
- weight#
Alias for field number 1
- openquake.hazardlib.lt.apply_uncertainties(bset_values, src_group)[source]#
- Parameters:
bset_value – a list of pairs (branchset, value) List of branch IDs
src_group – SourceGroup instance
- Returns:
A copy of the original group with possibly modified sources
- openquake.hazardlib.lt.build(*bslists)[source]#
- Parameters:
bslists – a list of lists describing branchsets
- Returns:
a CompositeLogicTree instance
>>> lt = build(['sourceModel', '', ... ['A', 'common1', 0.6], ... ['B', 'common2', 0.4]], ... ['extendModel', '', ... ['C', 'extra1', 0.6], ... ['D', 'extra2', 0.2], ... ['E', 'extra2', 0.2]]) >>> lt.get_all_paths() ['AC', 'AD', 'AE', 'BC', 'BD', 'BE']
- openquake.hazardlib.lt.count_paths(branches)[source]#
- Parameters:
branches – a list of branches (endpoints or nodes)
- Returns:
the number of paths in the branchset (slow)
- openquake.hazardlib.lt.random(size, seed, sampling_method='early_weights')[source]#
- Parameters:
size – size of the returned array (integer or pair of integers)
seed – random seed
sampling_method – ‘early_weights’, ‘early_latin’, …
- Returns:
an array of floats in the range 0..1
You can compare montecarlo sampling with latin square sampling with the following code:
- openquake.hazardlib.lt.random_sample(branchsets, num_samples, seed, sampling_method)[source]#
>>> bsets = [[('X', .4), ('Y', .6)], [('A', .2), ('B', .3), ('C', .5)]] >>> paths = random_sample(bsets, 100, 42, 'early_weights') >>> collections.Counter(paths) Counter({'YC': 26, 'XC': 24, 'YB': 17, 'XA': 13, 'YA': 10, 'XB': 10})
>>> paths = random_sample(bsets, 100, 42, 'late_weights') >>> collections.Counter(paths) Counter({'XA': 20, 'YA': 18, 'XB': 17, 'XC': 15, 'YB': 15, 'YC': 15})
>>> paths = random_sample(bsets, 100, 42, 'early_latin') >>> collections.Counter(paths) Counter({'YC': 31, 'XC': 19, 'YB': 17, 'XB': 13, 'YA': 12, 'XA': 8})
>>> paths = random_sample(bsets, 100, 45, 'late_latin') >>> collections.Counter(paths) Counter({'YC': 18, 'XA': 18, 'XC': 16, 'YA': 16, 'XB': 16, 'YB': 16})
- openquake.hazardlib.lt.sample(weighted_objects, probabilities, sampling_method='early_weights')[source]#
Take random samples of a sequence of weighted objects
- Parameters:
weighted_objects – A finite sequence of N objects with a
.weight
attribute. The weights must sum up to 1.probabilities – An array of S random numbers in the range 0..1
sampling_method – Default early_weights, i.e. use the CDF of the weights
- Returns:
A list of S objects extracted randomly
near_fault#
Module openquake.hazardlib.nearfault
provides methods for near fault
PSHA calculation.
- openquake.hazardlib.near_fault.average_s_rad(site, hypocenter, reference, pp, normal, dist_to_plane, e, p0, p1, delta_slip)[source]#
Gets the average S-wave radiation pattern given an e-path as described in: Spudich et al. (2013) “Final report of the NGA-West2 directivity working group”, PEER report, page 90- 92 and computes: the site to the direct point distance, rd, and the hypocentral distance, r_hyp.
- Parameters:
site –
Point
object representing the location of the target sitehypocenter –
Point
object representing the location of hypocenterreference –
Point
object representing the location of the reference point for coordinate projection within the calculation. The suggested reference point is Epicentre.pp – the projection point pp on the patch plane, a numpy array
normal – normal of the plane, describe by a normal vector[a, b, c]
dist_to_plane – d is the constant term in the plane equation, e.g., ax + by + cz = d
e – a float defining the E-path length, which is the distance from Pd(direction) point to hypocentre. In km.
p0 –
Point
object representing the location of the starting point on fault segmentp1 –
Point
object representing the location of the ending point on fault segment.delta_slip – slip direction away from the strike direction, in decimal degrees. A positive angle is generated by a counter-clockwise rotation.
- Returns:
fs, float value of the average S-wave radiation pattern. rd, float value of the distance from site to the direct point. r_hyp, float value of the hypocetre distance.
- openquake.hazardlib.near_fault.directp(node0, node1, node2, node3, hypocenter, reference, pp)[source]#
Get the Direct Point and the corresponding E-path as described in Spudich et al. (2013). This method also provides a logical variable stating if the DPP calculation must consider the neighbouring patch. To define the intersection point(Pd) of PpPh line segment and fault plane, we obtain the intersection points(Pd) with each side of fault plan, and check which intersection point(Pd) is the one fitting the definition in the Chiou and Spudich(2014) directivity model. Two possible locations for Pd, the first case, Pd locates on the side of the fault patch when Pp is not inside the fault patch. The second case is when Pp is inside the fault patch, then Pd=Pp.
For the first case, it follows three conditions: 1. the PpPh and PdPh line vector are the same, 2. PpPh >= PdPh, 3. Pd is not inside the fault patch.
If we can not find solution for all the four possible intersection points for the first case, we check if the intersection point fit the second case by checking if Pp is inside the fault patch.
Because of the coordinate system mapping(from geographic system to Catestian system), we allow an error when we check the location. The allow error will keep increasing after each loop when no solution in the two cases are found, until the solution get obtained.
- Parameters:
node0 –
Point
object representing the location of one vertices on the target fault segment.node1 –
Point
object representing the location of one vertices on the target fault segment. Note, the order should be clockwise.node2 –
Point
object representing the location of one vertices on the target fault segment. Note, the order should be clockwise.node3 –
Point
object representing the location of one vertices on the target fault segment. Note, the order should be clockwise.hypocenter –
Point
object representing the location of floating hypocenter on each segment calculation. In the method, we take the direction point of the previous fault patch as hypocentre for the current fault patch.reference –
Point
object representing the location of reference point for projectionpp – the projection of the site onto the plane containing the fault slipped area. A numpy array.
- Returns:
Pd, a numpy array, representing the location of direction point E, the distance from direction point to hypocentre. go_next_patch, flag indicates if the calculation goes on the next fault patch. 1: yes, 0: no.
- openquake.hazardlib.near_fault.get_plane_equation(p0, p1, p2, reference)[source]#
Define the equation of target fault plane passing through 3 given points which includes two points on the fault trace and one point on the fault plane but away from the fault trace. Note: in order to remain the consistency of the fault normal vector direction definition, the order of the three given points is strickly defined.
- Parameters:
p0 – The fault trace and is the closer points from the starting point of fault trace.
Point
object representing the location of the one vertex of the fault patch.p1 – The fault trace and is the further points from the starting point of fault trace.
Point
object representing the location of the one vertex of the fault patch.p2 – The point on the fault plane but away from the fault trace.
Point
object representing the location of the one vertex of the fault patch.reference –
Point
object representing the origin of the cartesian system used the represent objects in a projected reference
- Returns:
normal: normal vector of the plane (a,b,c) dist_to_plane: d in the plane equation, ax + by + cz = d
- openquake.hazardlib.near_fault.get_xyz_from_ll(projected, reference)[source]#
This method computes the x, y and z coordinates of a set of points provided a reference point.
- openquake.hazardlib.near_fault.isochone_ratio(e, rd, r_hyp)[source]#
Get the isochone ratio as described in Spudich et al. (2013) PEER report, page 88.
- Parameters:
e – a float defining the E-path length, which is the distance from Pd(direction) point to hypocentre. In km.
rd – float, distance from the site to the direct point.
r_hyp – float, the hypocentre distance.
- Returns:
c_prime, a float defining the isochone ratio
- openquake.hazardlib.near_fault.projection_pp(site, normal, dist_to_plane, reference)[source]#
This method finds the projection of the site onto the plane containing the slipped area, defined as the Pp(i.e. ‘perpendicular projection of site location onto the fault plane’ Spudich et al. (2013) - page 88) given a site.
- Parameters:
site – Location of the site, [lon, lat, dep]
normal – Normal to the plane including the fault patch, describe by a normal vector[a, b, c]
dist_to_plane – D in the plane equation, ax + by + cz = d
reference –
Point
object representing the location of project reference point
- Returns:
pp, the projection point, [ppx, ppy, ppz], in xyz domain , a numpy array.
nrml#
It is possible to save a Node object into a NRML file by using the
function write(nodes, output)
where output is a file
object. If you want to make sure that the generated file is valid
according to the NRML schema just open it in ‘w+’ mode: immediately
after writing it will be read and validated. It is also possible to
convert a NRML file into a Node object with the routine
read(node, input)
where input is the path name of the
NRML file or a file object opened for reading. The file will be
validated as soon as opened.
For instance an exposure file like the following:
<?xml version='1.0' encoding='utf-8'?>
<nrml xmlns="http://openquake.org/xmlns/nrml/0.4"
xmlns:gml="http://www.opengis.net/gml">
<exposureModel
id="my_exposure_model_for_population"
category="population"
taxonomySource="fake population datasource">
<description>
Sample population
</description>
<assets>
<asset id="asset_01" number="7" taxonomy="IT-PV">
<location lon="9.15000" lat="45.16667" />
</asset>
<asset id="asset_02" number="7" taxonomy="IT-CE">
<location lon="9.15333" lat="45.12200" />
</asset>
</assets>
</exposureModel>
</nrml>
can be converted as follows:
>> nrml = read(<path_to_the_exposure_file.xml>)
Then subnodes and attributes can be conveniently accessed:
>> nrml.exposureModel.assets[0][‘taxonomy’] ‘IT-PV’ >> nrml.exposureModel.assets[0][‘id’] ‘asset_01’ >> nrml.exposureModel.assets[0].location[‘lon’] ‘9.15000’ >> nrml.exposureModel.assets[0].location[‘lat’] ‘45.16667’
The Node class provides no facility to cast strings into Python types; this is a job for the Node class which can be subclassed and supplemented by a dictionary of validators.
- exception openquake.hazardlib.nrml.DuplicatedID[source]#
Bases:
Exception
Raised when two sources with the same ID are found in a source model
- class openquake.hazardlib.nrml.GeometryModel(sections)[source]#
Bases:
object
Contains a dictionary of unique sections
- class openquake.hazardlib.nrml.SourceModel(src_groups, name='', investigation_time='', start_time='')[source]#
Bases:
Sequence
A container of source groups with attributes name, investigation_time and start_time. It is serialize on hdf5 as follows:
>> with openquake.baselib.hdf5.File(‘/tmp/sm.hdf5’, ‘w’) as f: .. f[‘/’] = source_model
- openquake.hazardlib.nrml.get(xml, investigation_time=50.0, rupture_mesh_spacing=5.0, width_of_mfd_bin=1.0, area_source_discretization=10)[source]#
- Parameters:
xml – the XML representation of a source
investigation_time – investigation time
rupture_mesh_spacing – rupture mesh spacing
width_of_mfd_bin – width of MFD bin
area_source_discretization – area source discretization
- Returns:
a python source object
- openquake.hazardlib.nrml.get_source_model_04(node, fname, converter=<openquake.hazardlib.sourceconverter.SourceConverter object>)[source]#
- openquake.hazardlib.nrml.get_source_model_05(node, fname, converter=<openquake.hazardlib.sourceconverter.SourceConverter object>)[source]#
- openquake.hazardlib.nrml.get_tag_version(nrml_node)[source]#
Extract from a node of kind NRML the tag and the version. For instance from ‘{http://openquake.org/xmlns/nrml/0.4}fragilityModel’ one gets the pair (‘fragilityModel’, ‘nrml/0.4’).
- openquake.hazardlib.nrml.read(source, stop=None)[source]#
Convert a NRML file into a validated Node object. Keeps the entire tree in memory.
- Parameters:
source – a file name or file object open for reading
- openquake.hazardlib.nrml.read_source_models(fnames, converter)[source]#
- Parameters:
fnames – list of source model files
converter – a
openquake.hazardlib.sourceconverter.SourceConverter
instance
- Yields:
SourceModel instances
- openquake.hazardlib.nrml.to_python(fname, *args)[source]#
Parse a NRML file and return an associated Python object. It works by calling nrml.read() and node_to_obj() in sequence.
- openquake.hazardlib.nrml.write(nodes, output=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, fmt='%.7E', gml=True, xmlns=None, commentstr=None)[source]#
Convert nodes into a NRML file. output must be a file object open in write mode. If you want to perform a consistency check, open it in read-write mode, then it will be read after creation and validated.
- Params nodes:
an iterable over Node objects
- Params output:
a file-like object in write or read-write mode
- Parameters:
fmt – format used for writing the floats (default ‘%.7E’)
gml – add the http://www.opengis.net/gml namespace
xmlns – NRML namespace like http://openquake.org/xmlns/nrml/0.4
commentstr – optional comment to be written on top of the NRML file
pmf#
Module openquake.hazardlib.pmf
implements PMF
.
- class openquake.hazardlib.pmf.PMF(data, epsilon=1e-07)[source]#
Bases:
object
- reduce(bin=0)[source]#
Reduce the original PMF to a single bin distribution.
- Parameters:
bin – the bin to keep (default the first)
map_array#
- class openquake.hazardlib.map_array.MapArray(sids, shape_y, shape_z, rates=False)[source]#
Bases:
object
Thin wrapper over a 3D-array of probabilities.
- convert(imtls, nsites, idx=0)[source]#
Convert a probability map into a composite array of length nsites and dtype imtls.dt.
- Parameters:
imtls – DictArray instance
nsites – the total number of sites
idx – index on the z-axis (default 0)
- expand(full_lt, trt_rlzs)[source]#
Convert a MapArray with shape (N, L, Gt) into a MapArray with shape (N, L, R): works only for rates
- fill(value)[source]#
- Parameters:
value – a scalar probability
Fill the MapArray underlying array with the given scalar and build the .sidx array
- interp4D(imtls, poes)[source]#
- Parameters:
imtls – a dictionary imt->imls with M items
poes – a list of P PoEs
- Returns:
an array of shape (N, M, P, Z)
- property sidx#
- Returns:
an array of length N site_id -> index
- property size_mb#
- to_array(gid)[source]#
Assuming self contains an array of rates, returns a composite array with fields sid, lid, gid, rate
- class openquake.hazardlib.map_array.RateMap(sids, L, gids)[source]#
Bases:
object
A kind of MapArray specifically for rates
- property sidx#
- Returns:
an array of length N site_id -> index
- property size_mb#
- openquake.hazardlib.map_array.check_hmaps(hcurves, imtls, poes)[source]#
- Parameters:
hcurves – hazard curves of shape (N, M, L1)
imtls – a dictionary imt -> imls
poes – a list of poes
poes – P poes
- openquake.hazardlib.map_array.compute_hazard_maps(curves, imls, poes)[source]#
Given a set of hazard curve poes, interpolate hazard maps at the specified
poes
.- Parameters:
curves – Array of floats of shape N x L. Each row represents a curve, where the values in the row are the PoEs (Probabilities of Exceedance) corresponding to the
imls
. Each curve corresponds to a geographical location.imls – Intensity Measure Levels associated with these hazard
curves
. Type should be an array-like of floats.poes – Value(s) on which to interpolate a hazard map from the input
curves
.
- Returns:
An array of shape N x P, where N is the number of curves and P the number of poes.
- openquake.hazardlib.map_array.compute_hmaps(curvesNML, imtls, poes)[source]#
- Parameters:
curvesNML – an array of shape (N, M, L1)
imlts – a DictArray with M keys
poes – a sequence of P poes
- Returns:
array of shape (N, M, P) with the hazard maps
- openquake.hazardlib.map_array.fix_probs_occur(probs_occur)[source]#
Try to convert object arrays into regular arrays
- openquake.hazardlib.map_array.from_rates_g(rates_g, g, sids)[source]#
- Parameters:
rates_g – an array of shape (N, L)
g – an integer representing a GSIM index
sids – an array of site IDs
- openquake.hazardlib.map_array.get_lvl(hcurve, imls, poe)[source]#
- Parameters:
hcurve – a hazard curve, i.e. array of L1 PoEs
imls – L1 intensity measure levels
- Returns:
index of the intensity measure level associated to the poe
>>> imls = numpy.array([.1, .2, .3, .4]) >>> hcurve = numpy.array([1., .99, .90, .8]) >>> get_lvl(hcurve, imls, 1) 0 >>> get_lvl(hcurve, imls, .99) 1 >>> get_lvl(hcurve, imls, .91) 2 >>> get_lvl(hcurve, imls, .8) 3
- openquake.hazardlib.map_array.get_mean_curve(dstore, imt, site_id=0)[source]#
Extract the mean hazard curve from the datastore for the first site.
- openquake.hazardlib.map_array.get_poe_from_mean_curve(dstore, imt, iml, site_id=0)[source]#
Extract the poe corresponding to the given iml by looking at the mean curve for the given imt. iml can also be an array.
site#
Module openquake.hazardlib.site
defines Site
.
- class openquake.hazardlib.site.Site(location, vs30=nan, z1pt0=nan, z2pt5=nan, **extras)[source]#
Bases:
object
Site object represents a geographical location defined by its position as well as its soil characteristics.
- Parameters:
location – Instance of
Point
representing where the site is located.vs30 – Average shear wave velocity in the top 30 m, in m/s.
z1pt0 – Vertical distance from earth surface to the layer where seismic waves start to propagate with a speed above 1.0 km/sec, in meters.
z2pt5 – Vertical distance from earth surface to the layer where seismic waves start to propagate with a speed above 2.5 km/sec, in km.
- Raises:
ValueError – If any of
vs30
,z1pt0
orz2pt5
is zero or negative.
Note
Sites
are pickleable
- class openquake.hazardlib.site.SiteCollection(sites)[source]#
Bases:
object
- add_col(colname, dtype, values=None)[source]#
Add a column to the underlying array (if not already there)
- assoc(site_model, assoc_dist, ignore=())[source]#
Associate the site_model parameters to the sites. Log a warning if the site parameters are more distant than assoc_dist.
- Returns:
the site model array reduced to the hazard sites
- calculate_z1pt0()[source]#
Compute the column z1pt0 from the vs30 using a region-dependent formula for NGA-West2
- calculate_z2pt5()[source]#
Compute the column z2pt5 from the vs30 using a region-dependent formula for NGA-West2
- count_close(location, distance)[source]#
- Returns:
the number of sites within the distance from the location
- property countries#
Return the countries for each site in the SiteCollection. The boundaries of the countries are defined as in the file geoBoundariesCGAZ_ADM0.shp
- extend(lons, lats)[source]#
Extend the site collection to additional (and different) points. Used for station_data in conditioned GMFs.
- filter(mask)[source]#
Create a SiteCollection with only a subset of sites.
- Parameters:
mask – Numpy array of boolean values of the same length as the site collection.
True
values should indicate that site with that index should be included into the filtered collection.- Returns:
A new
SiteCollection
instance, unless all the values inmask
areTrue
, in which case this site collection is returned, or if all the values inmask
areFalse
, in which case method returnsNone
. New collection has data of only those sites that were marked for inclusion in the mask.
- filtered(indices)[source]#
- Parameters:
indices – a subset of indices in the range [0 .. tot_sites - 1]
- Returns:
a filtered SiteCollection instance if indices is a proper subset of the available indices, otherwise returns the full SiteCollection
- classmethod from_planar(rup, point='TC', toward_azimuth=90, direction='positive', hdist=100, step=5.0, req_site_params=())[source]#
- Parameters:
rup – a rupture built with rupture.get_planar
- Returns:
a
openquake.hazardlib.site.SiteCollection
instance
- classmethod from_points(lons, lats, depths=None, sitemodel=None, req_site_params=())[source]#
Build the site collection from
- Parameters:
lons – a sequence of longitudes
lats – a sequence of latitudes
depths – a sequence of depths (or None)
sitemodel – None or an object containing site parameters as attributes
req_site_params – a sequence of required site parameters, possibly empty
- classmethod from_usgs_shakemap(shakemap_array)[source]#
Build a site collection from a shakemap array
- geohash(length)[source]#
- Parameters:
length – length of the geohash in the range 1..8
- Returns:
an array of N geohashes, one per site
- get_cdist(rec_or_loc)[source]#
- Parameters:
rec_or_loc – a record with field ‘hypo’ or a Point instance
- Returns:
array of N euclidean distances from rec[‘hypo’]
- property mesh#
Return a mesh with the given lons, lats, and depths
- num_geohashes(length)[source]#
- Parameters:
length – length of the geohash in the range 1..8
- Returns:
number of distinct geohashes in the site collection
- req_site_params = ()#
- set_global_params(oq, req_site_params=('z1pt0', 'z2pt5', 'backarc'))[source]#
Set the global site parameters (vs30, vs30measured, z1pt0, z2pt5, backarc)
- split(ntiles, minsize=1)[source]#
- Parameters:
ntiles – number of tiles to generate (ceiled if float)
- Returns:
self if there are <=1 tiles, otherwise the tiles
- within(region)[source]#
- Parameters:
region – a shapely polygon
- Returns:
a filtered SiteCollection of sites within the region
- within_bbox(bbox)[source]#
- Parameters:
bbox – a quartet (min_lon, min_lat, max_lon, max_lat)
- Returns:
site IDs within the bounding box
- property xyz#
- Returns:
an array of shape (N, 3) with the cartesian coordinates
- class openquake.hazardlib.site.TileGetter(tileno, ntiles)[source]#
Bases:
object
An extractor complete->tile
- openquake.hazardlib.site.calculate_z1pt0(vs30, country)[source]#
Reads an array of vs30 values (in m/s) and returns the depth to the 1.0 km/s velocity horizon (in m) Ref: Chiou, B. S.-J. and Youngs, R. R., 2014. ‘Update of the Chiou and Youngs NGA model for the average horizontal component of peak ground motion and response spectra.’ Earthquake Spectra, 30(3), pp.1117–1153. :param vs30: the shear wave velocity (in m/s) at a depth of 30m :param country: country as defined by geoBoundariesCGAZ_ADM0.shp
- openquake.hazardlib.site.calculate_z2pt5(vs30, country)[source]#
Reads an array of vs30 values (in m/s) and returns the depth to the 2.5 km/s velocity horizon (in km) Ref: Campbell, K.W. & Bozorgnia, Y., 2014. ‘NGA-West2 ground motion model for the average horizontal components of PGA, PGV, and 5pct damped linear acceleration response spectra.’ Earthquake Spectra, 30(3), pp.1087–1114.
- Parameters:
vs30 – the shear wave velocity (in m/s) at a depth of 30 m
country – country as defined by geoBoundariesCGAZ_ADM0.shp
- openquake.hazardlib.site.check_all_equal(mosaic_model, dicts, *keys)[source]#
Check all the dictionaries have the same value for the same key
- openquake.hazardlib.site.merge_sitecols(hdf5fnames, mosaic_model='', check_gmfs=False)[source]#
Read a number of site collections from the given filenames and returns a single SiteCollection instance, plus a list of site ID arrays, one for each site collection, excluding the duplicates.
If check_gmfs is set, assume there are gmf_data groups and make sure the attributes are consistent (i.e. the same over all files).
- openquake.hazardlib.site.merge_without_dupl(array1, array2, uniquefield)[source]#
>>> dt = [('code', 'S1'), ('value', numpy.int32)] >>> a1 = numpy.array([('a', 1), ('b', 2)], dt) >>> a2 = numpy.array([('b', 2), ('c', 3)], dt) >>> merged, dupl = merge_without_dupl(a1, a2, 'code') >>> merged array([(b'a', 1), (b'b', 2), (b'c', 3)], dtype=[('code', 'S1'), ('value', '<i4')]) >>> a2[dupl] array([(b'b', 2)], dtype=[('code', 'S1'), ('value', '<i4')])
sourceconverter#
- class openquake.hazardlib.sourceconverter.NPRow(id: str, name: str, code: str, tectonicregion: str, geom: str, coords: list, wkt: str)[source]#
Bases:
object
- code: str#
- coords: list#
- geom: str#
- id: str#
- name: str#
- tectonicregion: str#
- wkt: str#
- class openquake.hazardlib.sourceconverter.Row(id: str, name: str, code: str, groupname: str, tectonicregion: str, mfd: str, magscalerel: str, ruptaspectratio: float, upperseismodepth: float, lowerseismodepth: float, nodalplanedist: list, hypodepthdist: list, hypoList: list, slipList: list, rake: float, geomprops: list, geom: str, coords: list, wkt: str)[source]#
Bases:
object
- code: str#
- coords: list#
- geom: str#
- geomprops: list#
- groupname: str#
- hypoList: list#
- hypodepthdist: list#
- id: str#
- lowerseismodepth: float#
- magscalerel: str#
- mfd: str#
- name: str#
- nodalplanedist: list#
- rake: float#
- ruptaspectratio: float#
- slipList: list#
- tectonicregion: str#
- upperseismodepth: float#
- wkt: str#
- class openquake.hazardlib.sourceconverter.RowConverter(investigation_time=50.0, rupture_mesh_spacing=5.0, complex_fault_mesh_spacing=None, width_of_mfd_bin=1.0, area_source_discretization=None, minimum_magnitude={'default': 0}, source_id=None, discard_trts=(), floating_x_step=0, floating_y_step=0, source_nodes=(), infer_occur_rates=False)[source]#
Bases:
SourceConverter
Used in the command oq nrml_to_csv to convert source models into Row objects.
- convert_areaSource(node)[source]#
Convert the given node into an area source object.
- Parameters:
node – a node with tag areaGeometry
- Returns:
a
openquake.hazardlib.source.AreaSource
instance
- convert_characteristicFaultSource(node)[source]#
Convert the given node into a characteristic fault object.
- Parameters:
node – a characteristicFaultSource node
- Returns:
a
openquake.hazardlib.source.CharacteristicFaultSource
instance
- convert_complexFaultSource(node)[source]#
Convert the given node into a complex fault object.
- Parameters:
node – a node with tag areaGeometry
- Returns:
a
openquake.hazardlib.source.ComplexFaultSource
instance
- convert_hddist(node)[source]#
Convert the given node into a probability mass function for the hypo depth distribution.
- Parameters:
node – a hypoDepthDist node
- Returns:
a
openquake.hazardlib.pmf.PMF
instance
- convert_mfdist(node)[source]#
Convert the given node into a Magnitude-Frequency Distribution object.
- Parameters:
node – a node of kind incrementalMFD or truncGutenbergRichterMFD
- Returns:
a
openquake.hazardlib.mfd.EvenlyDiscretizedMFD.
oropenquake.hazardlib.mfd.TruncatedGRMFD
instance
- convert_multiFaultSource(node)[source]#
Convert the given node into a multi fault source object.
- Parameters:
node – a node with tag multiFaultSource
- Returns:
a
openquake.hazardlib.source.multiFaultSource
instance
- convert_multiPointSource(node)[source]#
Convert the given node into a MultiPointSource object.
- Parameters:
node – a node with tag multiPointGeometry
- Returns:
a
openquake.hazardlib.source.MultiPointSource
- convert_nonParametricSeismicSource(node)[source]#
Convert the given node into a non parametric source object.
- Parameters:
node – a node with tag areaGeometry
- Returns:
a
openquake.hazardlib.source.NonParametricSeismicSource
instance
- convert_npdist(node)[source]#
Convert the given node into a Nodal Plane Distribution.
- Parameters:
node – a nodalPlaneDist node
- Returns:
a
openquake.hazardlib.geo.NodalPlane
instance
- convert_pointSource(node)[source]#
Convert the given node into a point source object.
- Parameters:
node – a node with tag pointGeometry
- Returns:
a
openquake.hazardlib.source.PointSource
instance
- class openquake.hazardlib.sourceconverter.RuptureConverter(rupture_mesh_spacing, complex_fault_mesh_spacing=None)[source]#
Bases:
object
Convert ruptures from nodes into Hazardlib ruptures.
- convert_complexFaultRupture(node)[source]#
Convert a complexFaultRupture node.
- Parameters:
node – the rupture node
- convert_griddedRupture(node)[source]#
Convert a griddedRupture node.
- Parameters:
node – the rupture node
- convert_multiPlanesRupture(node)[source]#
Convert a multiPlanesRupture node.
- Parameters:
node – the rupture node
- convert_node(node)[source]#
Convert the given rupture node into a hazardlib rupture, depending on the node tag.
- Parameters:
node – a node representing a rupture
- convert_ruptureCollection(node)[source]#
- Parameters:
node – a ruptureCollection node
- Returns:
a dictionary trt_smr -> EBRuptures
- convert_simpleFaultRupture(node)[source]#
Convert a simpleFaultRupture node.
- Parameters:
node – the rupture node
- convert_singlePlaneRupture(node)[source]#
Convert a singlePlaneRupture node.
- Parameters:
node – the rupture node
- convert_surfaces(surface_nodes, sec_id='')[source]#
- Parameters:
surface_nodes – surface nodes as described below
Utility to convert a list of surface nodes into a single hazardlib surface. There are four possibilities:
there is a single simpleFaultGeometry node; returns a
openquake.hazardlib.geo.simpleFaultSurface
instancethere is a single complexFaultGeometry node; returns a
openquake.hazardlib.geo.complexFaultSurface
instancethere is a single griddedSurface node; returns a
openquake.hazardlib.geo.GriddedSurface
instancethere is either a single planarSurface or a list of planarSurface nodes; returns a
openquake.hazardlib.geo.PlanarSurface
instance or aopenquake.hazardlib.geo.MultiSurface
instancethere is either a single kiteSurface or a list of kiteSurface nodes; returns a
openquake.hazardlib.geo.KiteSurface
instance or aopenquake.hazardlib.geo.MultiSurface
instance
- fname = None#
- geo_line(edge)[source]#
Utility function to convert a node of kind edge into a
openquake.hazardlib.geo.Line
instance.- Parameters:
edge – a node describing an edge
- geo_lines(edges)[source]#
Utility function to convert a list of edges into a list of
openquake.hazardlib.geo.Line
instances.- Parameters:
edge – a node describing an edge
- class openquake.hazardlib.sourceconverter.SourceConverter(investigation_time=50.0, rupture_mesh_spacing=5.0, complex_fault_mesh_spacing=None, width_of_mfd_bin=1.0, area_source_discretization=None, minimum_magnitude={'default': 0}, source_id=None, discard_trts=(), floating_x_step=0, floating_y_step=0, source_nodes=(), infer_occur_rates=False)[source]#
Bases:
RuptureConverter
Convert sources from valid nodes into Hazardlib objects.
- convert_areaSource(node)[source]#
Convert the given node into an area source object.
- Parameters:
node – a node with tag areaGeometry
- Returns:
a
openquake.hazardlib.source.AreaSource
instance
- convert_characteristicFaultSource(node)[source]#
Convert the given node into a characteristic fault object.
- Parameters:
node – a characteristicFaultSource node
- Returns:
a
openquake.hazardlib.source.CharacteristicFaultSource
instance
- convert_complexFaultSource(node)[source]#
Convert the given node into a complex fault object.
- Parameters:
node – a node with tag areaGeometry
- Returns:
a
openquake.hazardlib.source.ComplexFaultSource
instance
- convert_geometryModel(node)[source]#
- Parameters:
node – a geometryModel node
- Returns:
a dictionary sec_id -> section
- convert_hddist(node)[source]#
Convert the given node into a probability mass function for the hypo depth distribution.
- Parameters:
node – a hypoDepthDist node
- Returns:
a
openquake.hazardlib.pmf.PMF
instance
- convert_kiteFaultSource(node)[source]#
Convert the given node into a kite fault object.
- Parameters:
node – a node with tag kiteFaultSource
- Returns:
a
openquake.hazardlib.source.KiteFaultSource
instance
- convert_mfdist(node)[source]#
Convert the given node into a Magnitude-Frequency Distribution object.
- Parameters:
node – a node of kind incrementalMFD or truncGutenbergRichterMFD
- Returns:
a
openquake.hazardlib.mfd.EvenlyDiscretizedMFD.
oropenquake.hazardlib.mfd.TruncatedGRMFD
instance
- convert_multiFaultSource(node)[source]#
Convert the given node into a multi fault source object.
- Parameters:
node – a node with tag multiFaultSource
- Returns:
a
openquake.hazardlib.source.multiFaultSource
instance
- convert_multiPointSource(node)[source]#
Convert the given node into a MultiPointSource object.
- Parameters:
node – a node with tag multiPointGeometry
- Returns:
a
openquake.hazardlib.source.MultiPointSource
- convert_node(node)[source]#
Convert the given source node into a hazardlib source, depending on the node tag.
- Parameters:
node – a node representing a source or a SourceGroup
- convert_nonParametricSeismicSource(node)[source]#
Convert the given node into a non parametric source object.
- Parameters:
node – a node with tag areaGeometry
- Returns:
a
openquake.hazardlib.source.NonParametricSeismicSource
instance
- convert_npdist(node)[source]#
Convert the given node into a Nodal Plane Distribution.
- Parameters:
node – a nodalPlaneDist node
- Returns:
a
openquake.hazardlib.geo.NodalPlane
instance
- convert_pointSource(node)[source]#
Convert the given node into a point source object.
- Parameters:
node – a node with tag pointGeometry
- Returns:
a
openquake.hazardlib.source.PointSource
instance
- convert_simpleFaultSource(node)[source]#
Convert the given node into a simple fault object.
- Parameters:
node – a node with tag areaGeometry
- Returns:
a
openquake.hazardlib.source.SimpleFaultSource
instance
- convert_sourceGroup(node)[source]#
Convert the given node into a SourceGroup object.
- Parameters:
node – a node with tag sourceGroup
- Returns:
a
SourceGroup
instance
- get_tom(node)[source]#
Convert the given node into a Temporal Occurrence Model object.
- Parameters:
node – a node of kind poissonTOM or similar
- Returns:
a
openquake.hazardlib.tom.BaseTOM
instance
- class openquake.hazardlib.sourceconverter.SourceGroup(trt, sources=None, name=None, src_interdep='indep', rup_interdep='indep', grp_probability=1.0, min_mag={'default': 0}, max_mag=None, temporal_occurrence_model=None, cluster=False)[source]#
Bases:
Sequence
A container for the following parameters:
- Parameters:
trt (str) – the tectonic region type all the sources belong to
sources (list) – a list of hazardlib source objects
name – The name of the group
src_interdep – A string specifying if the sources in this cluster are independent or mutually exclusive
rup_indep – A string specifying if the ruptures within each source of the cluster are independent or mutually exclusive
weights – A dictionary whose keys are the source IDs of the cluster and the values are the weights associated with each source
min_mag – the minimum magnitude among the given sources
max_mag – the maximum magnitude among the given sources
id – an optional numeric ID (default 0) set by the engine and used when serializing SourceModels to HDF5
temporal_occurrence_model – A temporal occurrence model controlling the source group occurrence
cluster – A boolean indicating if the sources behaves as a cluster similarly to what used by the USGS for the New Madrid in the 2008 National Hazard Model.
- property atomic#
- Returns:
True if the group cannot be split
- changes = 0#
- property codes#
The codes of the underlying sources as a byte string
- classmethod collect(sources)[source]#
- Parameters:
sources – dictionaries with a key ‘tectonicRegion’
- Returns:
an ordered list of SourceGroup instances
- get_tom_toml(time_span)[source]#
- Returns:
the TOM as a json string {‘PoissonTOM’: {‘time_span’: 50}}
- split(maxweight)[source]#
Split the group in subgroups with weight <= maxweight, unless it it atomic.
- property tom_name#
- Returns:
name of the associated temporal occurrence model
- update(src)[source]#
Update the attributes sources, min_mag, max_mag according to the given source.
- Parameters:
src – an instance of :class: openquake.hazardlib.source.base.BaseSeismicSource
- property weight#
- Returns:
total weight of the underlying sources
- openquake.hazardlib.sourceconverter.collapse(array)[source]#
Collapse a homogeneous array into a scalar; do nothing if the array is not homogenous
- openquake.hazardlib.sourceconverter.convert_nonParametricSeismicSource(fname, node, rup_spacing=5.0)[source]#
Convert the given node into a non parametric source object.
- Parameters:
fname – full pathname to the XML file associated to the node
node – a Node object coming from an XML file
rup_spacing – Rupture spacing [km]
- Returns:
a
openquake.hazardlib.source.NonParametricSeismicSource
instance
- openquake.hazardlib.sourceconverter.extract_dupl(values)[source]#
- Parameters:
values – a sequence of values
- Returns:
the duplicated values
- openquake.hazardlib.sourceconverter.fix_dupl(dist, fname=None, lineno=None)[source]#
Fix the distribution if it contains identical values or raise an error.
- Parameters:
dist – a list of pairs [(prob, value)…] for a hypocenter or nodal plane dist
fname – the file which is being read; if it is None, it means you are writing the distribution: in that case raise an error for duplicated values
lineno – the line number of the file which is being read (None in writing mode)
- openquake.hazardlib.sourceconverter.mfds2multimfd(mfds)[source]#
Convert a list of MFD nodes into a single MultiMFD node
- openquake.hazardlib.sourceconverter.multikey(node)[source]#
- Returns:
(usd, lsd, rar, hddist, npdist, magScaleRel) for the given node
- openquake.hazardlib.sourceconverter.rounded_unique(mags, idxs)[source]#
- Parameters:
mags – a list of magnitudes
idxs – a list of tuples of section indices
- Returns:
an array of magnitudes rounded to 2 digits
- Raises:
ValueError if the rounded magnitudes contain duplicates
- openquake.hazardlib.sourceconverter.split_coords_2d(seq)[source]#
- Parameters:
seq – a flat list with lons and lats
- Returns:
a validated list of pairs (lon, lat)
>>> split_coords_2d([1.1, 2.1, 2.2, 2.3]) [(1.1, 2.1), (2.2, 2.3)]
sourcewriter#
Source model XML Writer
- openquake.hazardlib.sourcewriter.build_arbitrary_mfd(mfd)[source]#
Parses the arbitrary MFD as a Node
- Parameters:
mfd – MFD as instance of :class: openquake.hazardlib.mfd.arbitrary.ArbitraryMFD
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_area_source_geometry(area_source)[source]#
Returns the area source geometry as a Node
- Parameters:
area_source – Area source model as an instance of the :class: openquake.hazardlib.source.area.AreaSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_area_source_node(area_source)[source]#
Parses an area source to a Node class
- Parameters:
area_source – Area source as instance of :class: openquake.hazardlib.source.area.AreaSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_complex_fault_geometry(fault_source)[source]#
Returns the complex fault source geometry as a Node
- Parameters:
fault_source – Complex fault source model as an instance of the :class: openquake.hazardlib.source.complex_fault.ComplexFaultSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_complex_fault_source_node(fault_source)[source]#
Parses a complex fault source to a Node class
- Parameters:
fault_source – Complex fault source as instance of :class: openquake.hazardlib.source.complex_fault.ComplexFaultSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_evenly_discretised_mfd(mfd)[source]#
Returns the evenly discretized MFD as a Node
- Parameters:
mfd – MFD as instance of :class: openquake.hazardlib.mfd.evenly_discretized.EvenlyDiscretizedMFD
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_hypo_depth_dist(hdd)[source]#
Returns the hypocentral depth distribution as a Node instance
- Parameters:
hdd – Hypocentral depth distribution as an instance of :class: openquake.hzardlib.pmf.PMF
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_hypo_list_node(hypo_list)[source]#
- Parameters:
hypo_list – an array of shape (N, 3) with columns (alongStrike, downDip, weight)
- Returns:
a hypoList node containing N hypo nodes
- openquake.hazardlib.sourcewriter.build_kite_fault_source_node(fault_source)[source]#
Parses a kite fault source to a Node class
- Parameters:
fault_source – Kite fault source as instance of :class: openquake.hazardlib.source.kite_fault.KiteFaultSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_kite_surface(ksurface)[source]#
Returns the KiteSurface instance as a Node
- Parameters:
ksurface – Kite fault source model as an instance of the :class: openquake.hazardlib.source.kite_fault.KiteFaultSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_linestring_node(line, with_depth=False)[source]#
Parses a line to a Node class
- Parameters:
line – Line as instance of
openquake.hazardlib.geo.line.Line
with_depth (bool) – Include the depth values (True) or not (False):
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_multi_fault_source_node(multi_fault_source)[source]#
Parses a MultiFaultSource to a Node class
- Parameters:
multi_fault_source – Multi fault source as instance of :class: openquake.hazardlib.source.multi_fault.MultiFaultSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_multi_mfd(mfd)[source]#
Parses the MultiMFD as a Node
- Parameters:
mfd – MFD as instance of :class: openquake.hazardlib.mfd.multi_mfd.MultiMFD
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_multi_point_source_node(multi_point_source)[source]#
Parses a point source to a Node class
- Parameters:
point_source – MultiPoint source as instance of :class: openquake.hazardlib.source.point.MultiPointSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_nodal_plane_dist(npd)[source]#
Returns the nodal plane distribution as a Node instance
- Parameters:
npd – Nodal plane distribution as instance of :class: openquake.hazardlib.pmf.PMF
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_point_source_geometry(point_source)[source]#
Returns the poing source geometry as a Node
- Parameters:
point_source – Point source model as an instance of the :class: openquake.hazardlib.source.point.PointSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_point_source_node(point_source)[source]#
Parses a point source to a Node class
- Parameters:
point_source – Point source as instance of :class: openquake.hazardlib.source.point.PointSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_rupture_node(rupt, probs_occur)[source]#
- Parameters:
rupt – a hazardlib rupture object
probs_occur – a list of floats with sum 1
- openquake.hazardlib.sourcewriter.build_simple_fault_geometry(fault_source)[source]#
Returns the simple fault source geometry as a Node
- Parameters:
fault_source – Simple fault source model as an instance of the :class: openquake.hazardlib.source.simple_fault.SimpleFaultSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_simple_fault_source_node(fault_source)[source]#
Parses a simple fault source to a Node class
- Parameters:
fault_source – Simple fault source as instance of :class: openquake.hazardlib.source.simple_fault.SimpleFaultSource
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_slip_list_node(slip_list)[source]#
- Parameters:
slip_list – an array of shape (N, 2) with columns (slip, weight)
- Returns:
a hypoList node containing N slip nodes
- openquake.hazardlib.sourcewriter.build_tapered_gr_mfd(mfd)[source]#
Parses the truncated Gutenberg Richter MFD as a Node
- Parameters:
mfd – MFD as instance of :class: openquake.hazardlib.mfd.tapered_gr_mfd.TaperedGRMFD
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_truncated_gr_mfd(mfd)[source]#
Parses the truncated Gutenberg Richter MFD as a Node
- Parameters:
mfd – MFD as instance of :class: openquake.hazardlib.mfd.truncated_gr.TruncatedGRMFD
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.build_youngs_coppersmith_mfd(mfd)[source]#
Parses the Youngs & Coppersmith MFD as a node. Note that the MFD does not hold the total moment rate, but only the characteristic rate. Therefore the node is written to the characteristic rate version regardless of whether or not it was originally created from total moment rate
- Parameters:
mfd – MFD as instance of :class: openquake.hazardlib.mfd.youngs_coppersmith_1985. YoungsCoppersmith1985MFD
- Returns:
Instance of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.extract_ddict(src_groups)[source]#
- Returns:
a dictionary source_id -> attr -> value
- openquake.hazardlib.sourcewriter.get_distributed_seismicity_source_nodes(source)[source]#
Returns list of nodes of attributes common to all distributed seismicity source classes
- Parameters:
source – Seismic source as instance of :class: openquake.hazardlib.source.area.AreaSource or :class: openquake.hazardlib.source.point.PointSource
- Returns:
List of instances of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.get_fault_source_nodes(source)[source]#
Returns list of nodes of attributes common to all fault source classes
- Parameters:
source – Fault source as instance of :class: openquake.hazardlib.source.simple_fault.SimpleFaultSource or :class: openquake.hazardlib.source.complex_fault.ComplexFaultSource
- Returns:
List of instances of
openquake.baselib.node.Node
- openquake.hazardlib.sourcewriter.get_source_attributes(source)[source]#
Retreives a dictionary of source attributes from the source class
- Parameters:
source – Seismic source as instance of :class: openquake.hazardlib.source.base.BaseSeismicSource
- Returns:
Dictionary of source attributes
- openquake.hazardlib.sourcewriter.tomldump(obj, fileobj=None)[source]#
Write a generic serializable object in TOML format
- openquake.hazardlib.sourcewriter.write_source_model(dest, sources_or_groups, name=None, investigation_time=None, prefix='')[source]#
Writes a source model to XML.
- Parameters:
dest – Destination path
sources_or_groups – Source model in different formats
name – Name of the source model (if missing, extracted from the filename)
investigation_time – Investigation time (for time-dependent sources)
prefix – Add a prefix to the rupture_idxs, if given
- Returns:
the list of generated filenames
stats#
Utilities to compute mean and quantile curves
- openquake.hazardlib.stats.apply_stat(f, arraylist, *extra, **kw)[source]#
- Parameters:
f – a callable arraylist -> array (of the same shape and dtype)
arraylist – a list of arrays of the same shape and dtype
extra – additional positional arguments
kw – keyword arguments
- Returns:
an array of the same shape and dtype
Broadcast statistical functions to composite arrays. Here is an example:
>>> dt = numpy.dtype([('a', (float, 2)), ('b', float)]) >>> a1 = numpy.array([([1, 2], 3)], dt) >>> a2 = numpy.array([([4, 5], 6)], dt) >>> apply_stat(mean_curve, [a1, a2]) array([([2.5, 3.5], 4.5)], dtype=[('a', '<f8', (2,)), ('b', '<f8')])
- openquake.hazardlib.stats.average_df(dframes, weights=None)[source]#
Compute weighted average of DataFrames with the same index and columns.
>>> df1 = pandas.DataFrame(dict(value=[1, 1, 1]), [1, 2, 3]) >>> df2 = pandas.DataFrame(dict(value=[2, 2, 2]), [1, 2, 3]) >>> average_df([df1, df2], [.4, .6]) value 1 1.6 2 1.6 3 1.6
- openquake.hazardlib.stats.avg_std(array, weights=None)[source]#
- Parameters:
array – an array of shape E, …
weights – an array of length E (or None for equal weights)
- Returns:
an array of shape (2, …) with average and standard deviation
>>> avg_std(numpy.array([[2, 4, 6], [3, 5, 7]])) array([[2.5, 4.5, 6.5], [0.5, 0.5, 0.5]])
- openquake.hazardlib.stats.calc_avg_std(momenta)[source]#
- Parameters:
momenta – an array of shape (2, …) obtained via calc_momenta
totweight – total weight to divide for
- Returns:
an array of shape (2, …) with average and standard deviation
>>> arr = numpy.array([[2, 4, 6], [3, 5, 7]]) >>> weights = numpy.ones(2) >>> calc_avg_std(calc_momenta(arr, weights)) array([[2.5, 4.5, 6.5], [0.5, 0.5, 0.5]])
- openquake.hazardlib.stats.calc_momenta(array, weights)[source]#
- Parameters:
array – an array of shape (E, …)
weights – an array of length E
- Returns:
an array of shape (3, …) with the first 3 statistical moments
- openquake.hazardlib.stats.calc_stats(df, kfields, stats, weights)[source]#
- Parameters:
df – a pandas DataFrame with a column rlz_id
kfields – fields used in the group by
stats – a dictionary stat_name->stat_func
weights – an array of weights for each realization
- Returns:
a DataFrame with the statistics
- openquake.hazardlib.stats.combine_probs(values_by_grp, cmakers, rlz)[source]#
- Parameters:
values_by_grp – C arrays of shape (D1, D2…, G)
cmakers – C ContextMakers with G gsims each
rlz – a realization index
- Returns:
array of shape (D1, D2, …)
- openquake.hazardlib.stats.compute_pmap_stats(pmaps, stats, weights, imtls)[source]#
- Parameters:
pmaps – a list of R probability maps
stats – a sequence of S statistic functions
weights – a list of ImtWeights
imtls – a DictArray of intensity measure types
- Returns:
a probability map with S internal values
- openquake.hazardlib.stats.compute_stats(array, stats, weights)[source]#
- Parameters:
array – an array of R elements (which can be arrays)
stats – a sequence of S statistic functions
weights – a list of R weights
- Returns:
an array of S elements (which can be arrays)
- openquake.hazardlib.stats.compute_stats2(arrayNR, stats, weights)[source]#
- Parameters:
arrayNR – an array of (N, R) elements
stats – a sequence of S statistic functions
weights – a list of R weights
- Returns:
an array of (N, S) elements
- openquake.hazardlib.stats.geom_avg_std(array, weights=None)[source]#
- Returns:
geometric mean and geometric stddev (see https://en.wikipedia.org/wiki/Log-normal_distribution)
- openquake.hazardlib.stats.max_curve(values, weights=None)[source]#
Compute the maximum curve by taking the upper limits of the values; the weights are ignored and present only for API compatibility. The values can be arrays and then the maximum is taken pointwise:
>>> max_curve([numpy.array([.3, .2]), numpy.array([.1, .4])]) array([0.3, 0.4])
- openquake.hazardlib.stats.mean_curve(values, weights=None)[source]#
Compute the mean by using numpy.average on the first axis.
- openquake.hazardlib.stats.norm_cdf(x, a, s)[source]#
Gaussian cumulative distribution function; if s=0, returns an Heaviside function instead. NB: for x=a, 0.5 is returned for all s.
>>> round(norm_cdf(1.2, 1, .1), 10) 0.9772498681 >>> norm_cdf(1.2, 1, 0) 1.0 >>> round(norm_cdf(.8, 1, .1), 10) 0.0227501319 >>> norm_cdf(.8, 1, 0) 0.0 >>> norm_cdf(1, 1, .1) 0.5 >>> norm_cdf(1, 1, 0) 0.5
- openquake.hazardlib.stats.quantile_curve(quantile, curves, weights=None)[source]#
Compute the weighted quantile aggregate of an array or list of arrays
- Parameters:
quantile – Quantile value to calculate. Should be in the range [0.0, 1.0].
curves – R arrays
weights – R weights with sum 1, or None
- Returns:
A numpy array representing the quantile of the underlying arrays
>>> arr = numpy.array([.15, .25, .3, .4, .5, .6, .75, .8, .9]) >>> quantile_curve(.8, arr) array(0.76) >>> quantile_curve(.85, numpy.array([.15, .15, .15])) # constant array array(0.15)
- openquake.hazardlib.stats.set_rlzs_stats(dstore, name, **attrs)[source]#
- Parameters:
dstore – a DataStore object
name – dataset name of kind <prefix>-rlzs
- openquake.hazardlib.stats.truncnorm_sf(phi_b, values)[source]#
Fast survival function for truncated normal distribution. Assumes zero mean, standard deviation equal to one and symmetric truncation. It is faster than using scipy.stats.truncnorm.sf.
- Parameters:
phi_b – ndtr(truncation_level); assume phi_b > .5
values – Numpy array of values as input to a survival function for the given distribution.
- Returns:
Numpy array of survival function results in a range between 0 and 1. For phi_b close to .5 returns a step function 1 1 1 1 .5 0 0 0 0 0.
tom#
Module openquake.hazardlib.tom
contains implementations of probability
density functions for earthquake temporal occurrence modeling.
- class openquake.hazardlib.tom.BaseTOM(time_span)[source]#
Bases:
object
Base class for temporal occurrence model.
- Parameters:
time_span – The time interval of interest, in years.
- Raises:
ValueError – If
time_span
is not positive.
- get_probability_n_occurrences()[source]#
Calculate the probability of occurrence of a number of events in the constructor’s
time_span
.
- get_probability_no_exceedance()[source]#
Compute and return, for a number of ground motion levels and sites, the probability that a rupture with annual occurrence rate given by
occurrence_rate
and able to cause ground motion values higher than a given level at a site with probabilitypoes
, does not cause any exceedance in the time window specified by thetime_span
parameter given in the constructor.
- class openquake.hazardlib.tom.ClusterPoissonTOM(time_span, occurrence_rate)[source]#
Bases:
PoissonTOM
Poissonian temporal occurrence model with an occurrence rate
- class openquake.hazardlib.tom.FatedTOM(time_span)[source]#
Bases:
BaseTOM
- get_probability_n_occurrences(occurrence_rate, num)[source]#
Calculate the probability of occurrence of a number of events in the constructor’s
time_span
.
- get_probability_no_exceedance(occurrence_rate, poes)[source]#
Compute and return, for a number of ground motion levels and sites, the probability that a rupture with annual occurrence rate given by
occurrence_rate
and able to cause ground motion values higher than a given level at a site with probabilitypoes
, does not cause any exceedance in the time window specified by thetime_span
parameter given in the constructor.
- class openquake.hazardlib.tom.NegativeBinomialTOM(time_span, mu, alpha)[source]#
Bases:
BaseTOM
Negative Binomial temporal occurrence model.
- get_pmf(mean_rate, tol=0.99999999999999, n_max=None)[source]#
- Parameters:
mean_rate – The average number of events per year.
tol – Quantile value up to which calculate the pmf
- Returns:
1D numpy array containing the probability mass distribution, up to tolerance level.
- get_probability_n_occurrences(num)[source]#
Calculate the probability of occurrence of
num
events in the constructor’stime_span
.- Parameters:
num – Number of events
- Returns:
Probability of occurrence
- get_probability_no_exceedance(mean_rate, poes)[source]#
- Parameters:
mean_rate – The average number of events per year.
poes – 2D numpy array containing conditional probabilities that the rupture occurrence causes a ground shaking value exceeding a ground motion level at a site. First dimension represent sites, second dimension intensity measure levels.
poes
can be obtained calling thefunc
.
- Returns:
2D numpy array containing probabilities of no exceedance. First dimension represents sites, second dimension intensity measure levels.
- get_probability_one_or_more_occurrences(mean_rate=None)[source]#
- Parameters:
mean_rate – The mean rate, or mean number of events per year
- Returns:
Float value between 0 and 1 inclusive.
- sample_number_of_occurrences(mean_rate=None, seed=None)[source]#
Draw a random sample from the distribution and return a number of events to occur.
The method uses the numpy random generator, which needs a seed in order to get reproducible results. If the seed is None, it should be set outside of this method.
- Parameters:
mean_rate – The mean rate, or mean number of events per year
seed – Random number generator seed
- Returns:
Sampled integer number of events to occur within model’s time span.
- class openquake.hazardlib.tom.PoissonTOM(time_span)[source]#
Bases:
BaseTOM
Poissonian temporal occurrence model.
- get_probability_n_occurrences(occurrence_rate, num)[source]#
Calculate the probability of occurrence of
num
events in the constructor’stime_span
.- Parameters:
occurrence_rate – Annual rate of occurrence
num – Number of events
- Returns:
Probability of occurrence
- get_probability_no_exceedance(occurrence_rate, poes)[source]#
- Parameters:
occurrence_rate – The average number of events per year.
poes – 2D numpy array containing conditional probabilities that the rupture occurrence causes a ground shaking value exceeding a ground motion level at a site. First dimension represent sites, second dimension intensity measure levels.
poes
can be obtained calling thefunc
.
- Returns:
2D numpy array containing probabilities of no exceedance. First dimension represents sites, second dimension intensity measure levels.
The probability is computed as exp(-occurrence_rate * time_span * poes)
- get_probability_one_or_more_occurrences(occurrence_rate)[source]#
Calculates probability as
1 - e ** (-occurrence_rate*time_span)
.- Parameters:
occurrence_rate – The average number of events per year.
- Returns:
Float value between 0 and 1 inclusive.
- sample_number_of_occurrences(occurrence_rate, seeds=None)[source]#
Draw a random sample from the distribution and return a number of events to occur.
The method uses the numpy random generator, which needs a seed in order to get reproducible results. If the seed is None, it should be set outside of this method.
- Parameters:
occurrence_rate – The average number of events per year.
seeds – Random number generator seeds, one per each occurrence_rate
- Returns:
Sampled integer number of events to occur within model’s time span.
- openquake.hazardlib.tom.get_pnes(rate, probs, poes, time_span)[source]#
- Parameters:
rate – occurrence rate in case of a poissonian rupture
probs – probabilities of occurrence in the nonpoissonian case
poes – array of PoEs of shape 1D or 3D
time_span – time span in the poissonian case (0. for FatedTOM)
Fast way to return probabilities of no exceedence given an array of PoEs and some parameter.
valid#
Validation library for the engine, the desktop tools, and anything else
- class openquake.hazardlib.valid.Choice(*choices)[source]#
Bases:
object
Check if the choice is valid (case sensitive).
- class openquake.hazardlib.valid.ChoiceCI(*choices)[source]#
Bases:
object
Check if the choice is valid (case insensitive version).
- class openquake.hazardlib.valid.Choices(*choices)[source]#
Bases:
Choice
Convert the choices, passed as a comma separated string, into a tuple of validated strings. For instance
>>> Choices('xml', 'csv')('xml,csv') ('xml', 'csv')
- class openquake.hazardlib.valid.FloatRange(minrange, maxrange, name='', accept=None)[source]#
Bases:
object
- class openquake.hazardlib.valid.FromFile[source]#
Bases:
object
Fake GSIM to be used when the GMFs are imported from an external file and not computed with a GSIM.
- DEFINED_FOR_INTENSITY_MEASURE_TYPES = {}#
- DEFINED_FOR_REFERENCE_VELOCITY = None#
- REQUIRES_DISTANCES = {}#
- REQUIRES_RUPTURE_PARAMETERS = {}#
- REQUIRES_SITES_PARAMETERS = {}#
- kwargs = {}#
- class openquake.hazardlib.valid.MetaParamSet(name, bases, dic)[source]#
Bases:
type
Set the .name attribute of every Param instance defined inside any subclass of ParamSet.
- class openquake.hazardlib.valid.NoneOr(cast)[source]#
Bases:
object
Accept the empty string (casted to None) or something else validated by the underlying cast validator.
- class openquake.hazardlib.valid.Param(validator, default=<object object>, name=None)[source]#
Bases:
object
A descriptor for validated parameters with a default, to be used as attributes in ParamSet objects.
- Parameters:
validator – the validator
default – the default value
- NODEFAULT = <object object>#
- class openquake.hazardlib.valid.ParamSet(**names_vals)[source]#
Bases:
object
A set of valid interrelated parameters. Here is an example of usage:
>>> class MyParams(ParamSet): ... a = Param(positiveint) ... b = Param(positivefloat) ... ... def is_valid_not_too_big(self): ... "The sum of a and b must be under 10: a={a} and b={b}" ... return self.a + self.b < 10
>>> mp = MyParams(a='1', b='7.2') >>> mp <MyParams a=1, b=7.2>
>>> MyParams(a='1', b='9.2').validate() Traceback (most recent call last): ... ValueError: The sum of a and b must be under 10: a=1 and b=9.2
The constrains are applied in lexicographic order. The attribute corresponding to a Param descriptor can be set as usual:
>>> mp.a = '2' >>> mp.a '2'
A list with the literal strings can be extracted as follows:
>>> mp.to_params() [('a', "'2'"), ('b', '7.2')]
It is possible to build a new object from a dictionary of parameters which are assumed to be already validated:
>>> MyParams.from_(dict(a="'2'", b='7.2')) <MyParams a='2', b=7.2>
- KNOWN_INPUTS = {}#
- classmethod check(dic)[source]#
Check if a dictionary name->string can be converted into a dictionary name->value. If the name does not correspond to a known parameter, print a warning.
- Returns:
a dictionary of converted parameters
- classmethod from_(dic)[source]#
Build a new ParamSet from a dictionary of string-valued parameters which are assumed to be already valid.
- params = {}#
- class openquake.hazardlib.valid.Regex(regex)[source]#
Bases:
object
Compare the value with the given regex
- class openquake.hazardlib.valid.RjbEquivalent(filename)[source]#
Bases:
object
A class to compute the equivalent Rjb distance. Usage:
>> reqv = RjbEquivalent(‘lookup.hdf5’) >> reqv.get(repi_distances, mag)
- class openquake.hazardlib.valid.SimpleId(length, regex='^[\\w_\\-:]+$')[source]#
Bases:
object
Check if the given value is a valid ID.
- Parameters:
length – maximum length of the ID
regex – accepted characters
- openquake.hazardlib.valid.ab_values(value)[source]#
a and b values of the GR magniture-scaling relation. a is a positive float, b is just a float.
- openquake.hazardlib.valid.basename(src, splitchars='.:')[source]#
- Returns:
the base name of a split source
>>> basename('SC:10;0') 'SC;0'
- openquake.hazardlib.valid.boolean(value)[source]#
- Parameters:
value – input string such as ‘0’, ‘1’, ‘true’, ‘false’
- Returns:
boolean
>>> boolean('') False >>> boolean('True') True >>> boolean('false') False >>> boolean('t') Traceback (most recent call last): ... ValueError: Not a boolean: t
- openquake.hazardlib.valid.check_levels(imls, imt, min_iml=1e-10)[source]#
Raise a ValueError if the given levels are invalid.
- Parameters:
imls – a list of intensity measure and levels
imt – the intensity measure type
min_iml – minimum intensity measure level (default 1E-10)
>>> check_levels([0.1, 0.2], 'PGA') # ok >>> check_levels([], 'PGA') Traceback (most recent call last): ... ValueError: No imls for PGA: [] >>> check_levels([0.2, 0.1], 'PGA') Traceback (most recent call last): ... ValueError: The imls for PGA are not sorted: [0.2, 0.1] >>> check_levels([0.2, 0.2], 'PGA') Traceback (most recent call last): ... ValueError: Found duplicated levels for PGA: [0.2, 0.2]
- openquake.hazardlib.valid.check_weights(nodes_with_a_weight)[source]#
Ensure that the sum of the values is 1
- Parameters:
nodes_with_a_weight – a list of Node objects with a weight attribute
- openquake.hazardlib.valid.compose(*validators)[source]#
Implement composition of validators. For instance
>>> utf8_not_empty = compose(utf8, not_empty)
- openquake.hazardlib.valid.coordinates(value)[source]#
Convert a non-empty string into a list of lon-lat coordinates.
>>> coordinates('') Traceback (most recent call last): ... ValueError: Empty list of coordinates: '' >>> coordinates('1.1 1.2') [(1.1, 1.2, 0.0)] >>> coordinates('1.1 1.2, 2.2 2.3') [(1.1, 1.2, 0.0), (2.2, 2.3, 0.0)] >>> coordinates('1.1 1.2 -0.4, 2.2 2.3 -0.5') [(1.1, 1.2, -0.4), (2.2, 2.3, -0.5)] >>> coordinates('0 0 0, 0 0 -1') Traceback (most recent call last): ... ValueError: Found overlapping site #2, 0 0 -1
- openquake.hazardlib.valid.corename(src)[source]#
- Parameters:
src – source object or source name
- Returns:
the core name of a source
- openquake.hazardlib.valid.decreasing_probabilities(value)[source]#
- Parameters:
value – input string, comma separated or space separated
- Returns:
a list of decreasing probabilities
>>> decreasing_probabilities('1') Traceback (most recent call last): ... ValueError: Not enough probabilities, found '1' >>> decreasing_probabilities('0.2 0.1') [0.2, 0.1] >>> decreasing_probabilities('0.1 0.2') Traceback (most recent call last): ... ValueError: The probabilities 0.1 0.2 are not in decreasing order
- openquake.hazardlib.valid.depth(value)#
- Parameters:
value – input string
- Returns:
a floating point number
- openquake.hazardlib.valid.dictionary(value)[source]#
- Parameters:
value – input string corresponding to a literal Python object
- Returns:
the Python object
>>> dictionary('') {} >>> dictionary('{}') {} >>> dictionary('{"a": 1}') {'a': 1} >>> dictionary('"vs30_clustering: true"') # an error really done by a user Traceback (most recent call last): ... ValueError: '"vs30_clustering: true"' is not a valid Python dictionary >>> dictionary('{"ls": logscale(0.01, 2, 5)}') {'ls': [0.01, 0.03760603093086393, 0.14142135623730948, 0.5318295896944986, 1.9999999999999991]}
- openquake.hazardlib.valid.disagg_outputs(value)[source]#
Validate disaggregation outputs. For instance
>>> disagg_outputs('TRT Mag_Dist') ['TRT', 'Mag_Dist'] >>> disagg_outputs('TRT, Mag_Dist') ['TRT', 'Mag_Dist']
- openquake.hazardlib.valid.float_(value)[source]#
- Parameters:
value – input string
- Returns:
a floating point number
- openquake.hazardlib.valid.floats(value)[source]#
- Parameters:
value – string of whitespace separated floats
- Returns:
a list of floats
- openquake.hazardlib.valid.gsim(value, basedir='')[source]#
Convert a string into a GSIM instance
>>> gsim('BooreAtkinson2011') [BooreAtkinson2011]
- openquake.hazardlib.valid.host_port(value=None)[source]#
Returns a pair (host_IP, port_number).
>>> host_port('localhost:1908') ('127.0.0.1', 1908)
If value is missing returns the parameters in openquake.cfg
- openquake.hazardlib.valid.hypo_list(nodes)[source]#
- Parameters:
nodes – a hypoList node with N hypocenter nodes
- Returns:
a numpy array of shape (N, 3) with strike, dip and weight
- openquake.hazardlib.valid.integers(value)[source]#
- Parameters:
value – input string
- Returns:
non-empty list of integers
>>> integers('1, 2') [1, 2] >>> integers(' ') Traceback (most recent call last): ... ValueError: Not a list of integers: ' '
- openquake.hazardlib.valid.intensity_measure_type(value)[source]#
Make sure value is a valid intensity measure type and return it in a normalized form
>>> intensity_measure_type('SA(0.10)') # NB: strips the trailing 0 'SA(0.1)' >>> intensity_measure_type('SA') # this is invalid Traceback (most recent call last): ... ValueError: Invalid IMT: 'SA'
- openquake.hazardlib.valid.intensity_measure_types(value)[source]#
- Parameters:
value – input string
- Returns:
non-empty list of ordered Intensity Measure Type objects
>>> intensity_measure_types('') [] >>> intensity_measure_types('PGA') ['PGA'] >>> intensity_measure_types('PGA, SA(1.00)') ['PGA', 'SA(1.0)'] >>> intensity_measure_types('SA(0.1), SA(0.10)') Traceback (most recent call last): ... ValueError: Duplicated IMTs in SA(0.1), SA(0.10) >>> intensity_measure_types('PGV, SA(1), PGA') ['PGV', 'PGA', 'SA(1.0)']
- openquake.hazardlib.valid.intensity_measure_types_and_levels(value)[source]#
- Parameters:
value – input string
- Returns:
Intensity Measure Type and Levels dictionary
>>> intensity_measure_types_and_levels('{"SA(0.10)": [0.1, 0.2]}') {'SA(0.1)': [0.1, 0.2]}
- openquake.hazardlib.valid.latitude(value)[source]#
- Parameters:
value – input string
- Returns:
latitude float, rounded to 5 digits, i.e. 1 meter maximum
>>> latitude('-0.123456') -0.12346
- openquake.hazardlib.valid.latitudes(value)[source]#
- Parameters:
value – a comma separated string of latitudes
- Returns:
a list of latitudes
- openquake.hazardlib.valid.linscale(x_min, x_max, n)[source]#
- Parameters:
x_min – minumum value
x_max – maximum value
n – number of steps
- Returns:
an array of n values from x_min to x_max
- openquake.hazardlib.valid.logic_tree_path(value)[source]#
>>> logic_tree_path('SM2_a3b1') ['SM2', 'a3b1']
- openquake.hazardlib.valid.logscale(x_min, x_max, n)[source]#
- Parameters:
x_min – minumum value
x_max – maximum value
n – number of steps
- Returns:
an array of n values from x_min to x_max
- openquake.hazardlib.valid.lon_lat(value)[source]#
- Parameters:
value – a pair of coordinates
- Returns:
a tuple (longitude, latitude)
>>> lon_lat('12 14') (12.0, 14.0) >>> lon_lat('12,14') (12.0, 14.0)
- openquake.hazardlib.valid.longitude(value)[source]#
- Parameters:
value – input string
- Returns:
longitude float, rounded to 5 digits, i.e. 1 meter maximum
>>> longitude('0.123456') 0.12346
- openquake.hazardlib.valid.longitudes(value)[source]#
- Parameters:
value – a comma separated string of longitudes
- Returns:
a list of longitudes
- openquake.hazardlib.valid.loss_ratios(value)[source]#
- Parameters:
value – input string
- Returns:
dictionary loss_type -> loss ratios
>>> loss_ratios('{"structural": [0.1, 0.2]}') {'structural': [0.1, 0.2]}
- openquake.hazardlib.valid.mag_scale_rel(value)[source]#
- Parameters:
value – a Magnitude-Scale relationship in hazardlib
- Returns:
the corresponding hazardlib object
Parametric MSR classes are supported with TOML syntax; for instance
>>> mag_scale_rel("CScalingMSR.C=4.7") <CScalingMSR>
- openquake.hazardlib.valid.modified_gsim(gmpe, **kwargs)[source]#
Builds a ModifiableGMPE from a gmpe. Used for instance in the GEESE project as follows:
mgs = modified_gsim(gsim, add_between_within_stds={‘with_betw_ratio’:1.5})
- openquake.hazardlib.valid.namelist(value)[source]#
- Parameters:
value – input string
- Returns:
list of identifiers separated by whitespace or commas
>>> namelist('a,b') ['a', 'b'] >>> namelist('a1 b_2 _c') ['a1', 'b_2', '_c']
>>> namelist('a1 b_2 1c') ['a1', 'b_2', '1c']
- openquake.hazardlib.valid.namelists(value)[source]#
- Parameters:
value – input string
- Returns:
list of lists of identifiers
>>> namelists('a,b') [['a', 'b']] >>> namelists('a1, b_2; _c') [['a1', 'b_2'], ['_c']]
>>> namelists('a1; b_2; 1c') [['a1'], ['b_2'], ['1c']]
- openquake.hazardlib.valid.nonzero(value)[source]#
- Parameters:
value – input string
- Returns:
the value unchanged
>>> nonzero('1') '1' >>> nonzero('0') Traceback (most recent call last): ... ValueError: '0' is zero
- openquake.hazardlib.valid.occurrence_model(value)[source]#
Converts a TOML string into a TOM instance
>>> print(occurrence_model('[PoissonTOM]\ntime_span=50.0')) [PoissonTOM] time_span = 50.0
- openquake.hazardlib.valid.pmf(value)[source]#
Comvert a string into a Probability Mass Function.
- Parameters:
value – a sequence of probabilities summing up to 1 (no commas)
- Returns:
a list of pairs [(probability, index), …] with index starting from 0
>>> pmf("0.157 0.843") [(0.157, 0), (0.843, 1)]
- openquake.hazardlib.valid.point(value)[source]#
- Parameters:
value – a tuple of coordinates as a string (2D or 3D)
- Returns:
a tuple of coordinates as a string (2D or 3D)
- openquake.hazardlib.valid.point3d(value, lon, lat, depth)[source]#
This is used to convert nodes of the form <hypocenter lon=”LON” lat=”LAT” depth=”DEPTH”/>
- Parameters:
value – None
lon – longitude string
lat – latitude string
- Returns:
a validated triple (lon, lat, depth)
- openquake.hazardlib.valid.posList(value)[source]#
- Parameters:
value – a string with the form lon1 lat1 [depth1] … lonN latN [depthN] without commas, where the depts are optional.
- Returns:
a list of floats without other validations
- openquake.hazardlib.valid.positivefloat(value)[source]#
- Parameters:
value – input string
- Returns:
positive float
- openquake.hazardlib.valid.positivefloats(value)[source]#
- Parameters:
value – string of whitespace separated floats
- Returns:
a list of positive floats
- openquake.hazardlib.valid.positiveint(value)[source]#
- Parameters:
value – input string
- Returns:
positive integer
- openquake.hazardlib.valid.positiveints(value)[source]#
>>> positiveints('1, -1') Traceback (most recent call last): ... ValueError: -1 is negative in '1, -1'
- openquake.hazardlib.valid.probabilities(value, rows=0, cols=0)[source]#
- Parameters:
value – input string, comma separated or space separated
rows – the number of rows if the floats are in a matrix (0 otherwise)
cols – the number of columns if the floats are in a matrix (or 0
- Returns:
a list of probabilities
>>> probabilities('') [] >>> probabilities('1') [1.0] >>> probabilities('0.1 0.2') [0.1, 0.2] >>> probabilities('[0.1, 0.2]') # commas and brackets are ignored [0.1, 0.2]
- openquake.hazardlib.valid.range01(value)[source]#
- Parameters:
value – a string convertible to a float in the range 0..1
- openquake.hazardlib.valid.simple_slice(value)[source]#
>>> simple_slice('2:5') (2, 5) >>> simple_slice('0:None') (0, None)
- openquake.hazardlib.valid.site_param(dic)[source]#
Convert a dictionary site_model_param -> string into a dictionary of valid casted site parameters.
- openquake.hazardlib.valid.slip_list(nodes)[source]#
- Parameters:
nodes – a slipList node with N slip nodes
- Returns:
a numpy array of shape (N, 2) with slip angle and weight
- openquake.hazardlib.valid.tile_spec(value)[source]#
Specify a tile with a string of format “no:nt” where no is an integer in the range 1..nt and nt is the total number of tiles.
>>> tile_spec('[1,2]') [1, 2] >>> tile_spec('[2,2]') [2, 2]
- openquake.hazardlib.valid.to_toml(uncertainty)[source]#
Converts an uncertainty node into a TOML string
- openquake.hazardlib.valid.trt_pmf(matrices)[source]#
From T matrices of shape (Ma, D, Lo, La, E, …) into one matrix of shape (T, …)
- openquake.hazardlib.valid.uncertainty_model(value)[source]#
Format whitespace in XML nodes of kind uncertaintyModel
- openquake.hazardlib.valid.utf8(value)[source]#
Check that the string is UTF-8. Returns an encode bytestring.
>>> utf8(b'\xe0') Traceback (most recent call last): ... ValueError: Not UTF-8: ...
- openquake.hazardlib.valid.utf8_not_empty(value)[source]#
Check that the string is UTF-8 and not empty