Index
solution
¶
A package for analysis of Opensha Inversion Solutions.
It provides python developers with easy access to the solution data in pandas dataframes.
It supports Aggregation of InversionSolutions as FaultSystemSolutions. It also provides support for NSHM Source Logic Tree (SLT) and PSHA models.
Classes:
Name | Description |
---|---|
InversionSolution |
handles the standard output of an OpenSHA grand inversion. |
FaultSystemSolution |
a aggregation of multiple InversionSolutions sharing the same rupture set. |
CompositeSolution |
the container class for complete model and logic tree. |
SolutionParticipation |
a helper class to calculate rupture participation for parts of the fault system. |
Modules:
Name | Description |
---|---|
typing |
defines class interfaces using |
named_fault |
helper module for named_faults (used with filtering crustal ruptures). |
solution_surfaces_builder |
defines the SolutionSurfacesBuilder class. |
Example
from solvis import inversion_solution
new_solution = inversion_solution.CompositeSolution.from_archive(new_path, slt)