Changelog#
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[v1.0.1] - 2025-12-03#
Fixed#
scipy is not restricted to <=1.15.1 aymore
[v1.0.0] - 2025-11-20#
Added#
b-significant test for evaluating spatial and temporal significance of b-value variations, including plotting functionality and comprehensive documentation.
Lilliefors test implementation for goodness-of-fit testing of the Gutenberg-Richter distribution.
Bootstrap method to
BValueclass for uncertainty estimation of b-value calculations.Weights support for Kolmogorov-Smirnov test (
ks_test_gr) and frequency-magnitude distribution plotting functions to handle weighted catalogs.valueproperty for bothAValueandBValueestimator classes for consistent access to estimated values.stdproperty forAValueestimator class to access standard deviation of a-value estimates.is_estimatedproperty andnproperty to bothAValueandBValueclasses for better consistency between the two estimator classes.Safety mechanism for
values_from_partitioningto handle edge cases more robustly.get_optionsfunction to module initialization for accessing configuration options.Comprehensive test coverage for a-value estimators, b-significant test, Lilliefors test, and Kolmogorov-Smirnov test.
Changed#
Same as
get_cum_fmd,plot_cum_fmd(both function andCatalogmethod) now takefmd_binas input instead ofdelta_m, to reflect that this argument doesn’t necessarily match the discretization of magnitudes, and be consistent withget_fmdandplot_fmdwhich already have this modification.Optimized maximum magnitude finding in
estimate_mcfunctions for improved performance.Optimized simulation of truncated exponential distribution for better computational efficiency.
Restricted bootstrap method to only work within the b-more-positive estimation method where it is statistically applicable.
Improved robustness of a-value estimation to handle edge cases better.
Adjusted Lilliefors test (
p_lillierfors) to be compatible with the b-positive estimation method.Bootstrap standard deviation calculation now orders magnitudes by time and removes NaN values for more accurate uncertainty estimates.
Improved colors and labels in plotting functions for better visualization and consistency.
Adjusted plotting functions to produce fewer warnings during normal usage.
Reorganized example notebooks: removed redundant catalog notebook and cleaned up the how-to notebook for better clarity.
User documentation and API reference extensively updated to reflect new features and improvements.
Fixed#
Binning precision issues by introducing epsilon tolerance to avoid incorrect magnitude binning due to floating-point arithmetic.
Rounding behavior in binning functions that was inconsistent with numpy’s
round()behavior, ensuring consistent bin assignment.Error message for edge case when
delta_m < epsilonto provide clearer feedback.Bug in
moransIspatial analysis function.Axis input handling for seismicity plotting functions to work correctly with custom axes.
Minor error in bootstrap calculation that could affect uncertainty estimates.
Various typos in documentation and docstrings.
[1.0.0rc2] - 2025-05-30#
Add your changes to the relevant section below, while uncommenting the section header.
Added#
API and User Documentation has been extensively updated and improved.
Added methods to calculate statistics on the
RateGridclass and concatenate multipleRateGridobjects.
Changed#
Small changes to the
plotsmodule api to make it more consistent.Updated the example jupyter notebooks to reflect the new API.
estimate_mcandplot_fmdtake nowfmd_binas input instead ofdelta_m, to reflect that this is independent from the discretization of the catalog magnitudes.Functions and methods to estimate the
mcvalue now return a consistent format. Instead of a tuple with a variable amount of values, they now return a tuple with first thebest_mcvalue and then a dictionary with the additional values.
Fixed#
In the
binning_test, shift the array to the smallest value, to avoid that the bin-center has an effect on the test.
[1.0.0rc1] - 2025-04-09#
Added#
API reference for a and b value packages, including full list of attributes.
Thorough API documentation for the
Catalogclass.Added
estimate_mc_maxcandestimate_mc_b_stabilitymethods to theCatalogclass.Option to download catalogs in batches from FDSNWS in order to avoid timeouts.
Changed#
analysis.ks_test_grnow takes theb-valueas a parameter instead ofbeta.Catalog.estimate_mcgot updated to the latest version of themc_ksfunction and renamed toCatalog.estimate_mc_ks.Improve and streamline the
estimate_mcfunctions and slightly change their input parameters.Catalog.estimate_bgot updated to the class-based API of theb_valuepackage.Catalog.estimate_aadded to the Catalog class, including full documentation.
Fixed#
Build process for the documentation.
API Reference Documentation
[1.0.0rc0] - 2025-03-18#
Added#
Initial release candidate of the library.
Implemented core functionality.
Provided first API version.
Included documentation setup with ReadTheDocs.