Recent Releases of disstans

disstans - DISSTANS Version 2.2

Minor release adding some functionality:

  • Added the t_min and t_max options to Network.gui() (see https://github.com/tobiscode/disstans/issues/9).
  • Added the function to calculate interpolated velocity, strain, and rotation fields with get_field_vel_strain_rot. There is a corresponding Tutorial 6 showing the feature.
  • Added the CITATION.cff file.

Full Changelog: https://github.com/tobiscode/disstans/compare/v2.1.1...v2.2

- Python
Published by tobiscode over 1 year ago

disstans - DISSTANS Version 2.1.1

Minor release addressing the scipy.sparse.spmatrix.A deprecation.

Full Changelog: https://github.com/tobiscode/disstans/compare/v2.1...v2.1.1

- Python
Published by tobiscode over 1 year ago

disstans - DISSTANS Version 2.1

This is the release addressing Python 3.12 compatibility and other upcoming deprecations in upstream packages. The user-facing changes are the following:

  • okada-wrapper is now an optional dependency, i.e., DISSTANS can be installed without it but some functions in disstans.earthquakes will fail if the package is not found. The environment*.yml files still contain okada-wrapper however to maintain feature parity with past versions.
  • New functions for the Network object: remove_models and copy_timeseries convenience shorthands.
  • Timeseries covariances can now be verified using Timeseries.check_covariances and there is a new cleaning option std_bad in processing.clean.
  • The decompose function can now detrend input data and fill missing values.

Full Changelog: https://github.com/tobiscode/disstans/compare/v2.0.1...v2.1

- Python
Published by tobiscode almost 2 years ago

disstans - DISSTANS Version 2.0.1

This is a minor release including bugfixes in various places as well as changes to address deprecations in upstream packages.

Full Changelog: https://github.com/tobiscode/disstans/compare/v2.0...v2.0.1

- Python
Published by tobiscode about 2 years ago

disstans - DISSTANS Version 2.0

This is the final release for the massively-overhauled DISSTANS Version 2.

The major change introduced is the increased numerical stability for L0 solutions. As a downside, all penalty, eps, and scale parameters of lasso_regression and ReweightingFunction will have to be updated. This is because of a change in the cost function that is optimized. A good initial starting point is to increase penalty by a factor of 10, decrease eps by one order of magnitude, and compensate scale by increasing it by one order of magnitude. All tutorials and examples have been updated to reflect this change and can be seen as a helping hand in the transition. Specifying reweighting functions has become mandatory now, and the spatial/local keyword names have been changed for increased clarity.

Other major changes (continued from the 1.2 Beta) include:

  1. Python 3.11-style type annotations directly in the source code.
  2. A Frequently Asked Questions section in the documentation.
  3. Network.gui() can now take a latitude/longitude bounding box as input.
  4. Multiple timescales for individual Exponential & Logarithmic models, including an option for (all of) the solvers to enforce sign constraints.
  5. A DecayingSplineSet that is one-sided (becoming a child class of the new parent BaseSplineSet class).
  6. Network availability plots for regular Network objects.
  7. Added support for UNR's highrate timeseries file format .kenv.
  8. The model functions creating the mapping columns, i.e., the model coefficients, are now explicitly documented in the Model.get_mapping_single methods.

Minimum dependencies have also been updated. As a result and the major changes above, a complete reinstall of the environment and the package is recommended. Compared to the v2.0rc0 release candidate, only minor bugfixes and documentation improvements were added.

Full Changelog: https://github.com/tobiscode/disstans/compare/v1.1.2...v2.0

- Python
Published by tobiscode over 2 years ago

disstans - DISSTANS Version 2.0 Release Candidate

This is the first release candidate for the massively-overhauled DISSTANS Version 2.

The major change introduced is the increased numerical stability for L0 solutions. As a downside, all penalty, eps, and scale parameters of lasso_regression and ReweightingFunction will have to be updated. This is because of a change in the cost function that is optimized. A good initial starting point is to increase penalty by a factor of 10, decrease eps by one order of magnitude, and compensate scale by increasing it by one order of magnitude. All tutorials and examples have been updated to reflect this change and can be seen as a helping hand in the transition. Specifying reweighting functions has become mandatory now, and the spatial/local keyword names have been changed for increased clarity.

Other major changes (continued from the 1.2 Beta) include:

  1. Python 3.11-style type annotations directly in the source code.
  2. A Frequently Asked Questions section in the documentation.
  3. Network.gui() can now take a latitude/longitude bounding box as input.
  4. Multiple timescales for individual Exponential & Logarithmic models, including an option for (all of) the solvers to enforce sign constraints.
  5. A DecayingSplineSet that is one-sided (becoming a child class of the new parent BaseSplineSet class).
  6. Network availability plots for regular Network objects.
  7. Added support for UNR's highrate timeseries file format .kenv.
  8. The model functions creating the mapping columns, i.e., the model coefficients, are now explicitly documented in the Model.get_mapping_single methods.

Minimum dependencies have also been updated. As a result and the major changes above, a complete reinstall of the environment and the package is recommended. This version will remain in pre-release state for a while to see if there are any leftover bugs. Please continue to report them either through a GitHub issue or via email.

Full Changelog: https://github.com/tobiscode/disstans/compare/v1.1.2...v2.0rc0

- Python
Published by tobiscode over 2 years ago

disstans - DISSTANS Version 1.1.2

This is a bugfix release. It addresses some minor as well as not-so-minor issues, notably:

  • It fixes #1 by pinning the pandas version to <1.5, something that will be reversed in release 1.2.
  • The trends shown in the GUI and calculated by Station.get_trend() apparently used to throw just wrong solutions, which were traced back to the use of scipy.sparse.linalg.lsqr (possibly related due to the fact that the code was only using dense data). The switch to numpy.linalg.lstsq fixes this.
  • Showing trends in the GUI also failed when some stations did not have the required Timeseries or Model, now those stations are just ignored.
  • UNRTimeseries no longer fails when loading data with multiple reference longitudes, a sign for bad data.

Full Changelog: https://github.com/tobiscode/disstans/compare/v1.1.1...v1.1.2

- Python
Published by tobiscode about 3 years ago

disstans - DISSTANS Version 1.2 Beta

This is a beta release of version 1.2 which includes a couple of notable changes, including:

  • Multiple timescales for individual Exponential & Logarithmic models, including an option for the lasso_regression solver to enforce sign constraints. (Support for other solvers is planned.)
  • A DecayingSplineSet that is one-sided (becoming a child class of the new parent BaseSplineSet class).
  • Network availability plots for regular Network objects.
  • Added support for UNR's highrate timeseries file format .kenv.

Most of these changes are barely tested, and will therefore be in beta stage for now.

Full Changelog: https://github.com/tobiscode/disstans/compare/v1.1.1...v1.2-beta

- Python
Published by tobiscode over 3 years ago

disstans - DISSTANS Version 1.1.1

The paper describing DISSTANS is now accepted and published by Computers & Geosciences: Decomposition and Inference of Sources through Spatiotemporal Analysis of Network Signals: The DISSTANS Python package. This version adds the updated links, and fixes some documentation issues. Please consider this version as the final version for the published study.

Full Changelog: https://github.com/tobiscode/disstans/compare/v1.1...v1.1.1

- Python
Published by tobiscode over 3 years ago

disstans - DISSTANS Version 1.1

This version includes the code and documentation for the revisions suggested in the review process of the submitted manuscript.

Most notably, this version includes two methods to calculate average velocity fields from station velocities, updates dependencies, and adds smaller helper functions.

Full Changelog: https://github.com/tobiscode/disstans/compare/v1.0.2...v1.1

- Python
Published by tobiscode almost 4 years ago

disstans - DISSTANS now available on PyPI with v1.0.2

This release adds the necessary configuration changes to enable publishing the package to the Python Package Index (PyPI), where pip gets its packages from. Check out the project homepage there: https://pypi.org/project/disstans/

The installation instructions have been updated accordingly; PyPI is now the recommended minimal installation method.

Full Changelog: https://github.com/tobiscode/disstans/compare/v1.0.1...v1.0.2

- Python
Published by tobiscode almost 4 years ago

disstans - Minor bugfix release v1.0.1

This release addresses a locale bugfix in parseunrsteps() and a DeprecationWarning in StepDetector.

Full Changelog: https://github.com/tobiscode/disstans/compare/v1.0...v1.0.1

- Python
Published by tobiscode almost 4 years ago

disstans - First full DISSTANS release

I'm happy to officially release the first full version of DISSTANS.

This version contains the code with which the data, fits, and figures were created that were used in the submitted manuscript. (You can find a preprint here.)

If you find any bugs, please raise a GitHub issue.

- Python
Published by tobiscode about 4 years ago