Nzshm-model

Latest version: v0.10.6

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.9.2

Added
- create LogicTree objects from hand-built json

Changed
- alter form of serialized LogicTree object

0.9.1

Changed
- correlations are ported when converting from version1 to version2 of source logic tree

0.9.0

Added
- classes and methods to enforce correlation between logic tree branches

Changed
- test matrix includes python3.10, 3.11, windows, macOS

Fixed
- python3.11 dataclass compatibility

0.8.0

Changed
- default model version is now NSHM_v.1.0.4
- code refactoring to improve docs and tests
- NshmModel gmm_logic_treee and source_logic_tree are now properties not functions()
- get_model_version in nzshm_model is now a wrapper for the underlying NzshmModel implementation
- added mkdocs-click for cli docs
- removed stale code from scripts

Added
- documentation setup
- new NshmModel methods
- get_model_version
- get_source_branch_sets
- more test coverage
- API documentation
- scripts documentation

0.7.0

Added

- logic tree base classes

Changed

- source logic tree fault systems now named branch sets. API aliases available for backward compatibility with deprecation warning
- source branch tag method changed to property

0.6.0

Added

- GMCM logic tree classes for ground motion model serialization and deserialization (as json or xml)
- OpenQuake specific adaptor for GMCM logic tree classes (nrml)

Changed

- PshaAdaptorInterface used for both source and ground motion logic trees

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.