Porespy

Latest version: v2.4.1

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

Scan your dependencies

Page 4 of 5

0.4.2

🚀 New features
- Added function for finding fraction of each phase in a multiphase image
- Added missing network props
- Added marching cubes surface area calculation to
- Added ability to generate voxel image from an `openpnm` network
- Added optional arguments to several functions for improved usability
- Added function `n_phase_boundary`

🍰 Enhancements
- Enhanced docs substantially
- Cleaned up requirements
- Move examples into main repo

🐛 Bugfixes
- Fixed calculation of pore center in SNOW algorithm to use peak instead of center of mass
- Fixed bug in marching cube area calculation when voxel_size < 1
- Fixed bug in `snow` that used blurred distance transform to re-generate binary mask
- Fixed a bug in chord length distribution
- Fixed bug in `porosimetry`
- Fixed usage of `squeeze` on 2d images
- Fixed `make_contiguous` to handle 0 and negative numbers

0.4.0

This minor version bump adds quite a lot of improvements and new features to PoreSpy. We are planning to release an official 1.0 in the very near future, so this release is a dress rehearsal in some ways.

🚀 New features
Added ``map_to_regions`` function for colorizing a region image by given values
Added a linear_density function based on Torquato's definition
Implemented the marching cubes algorithm for calculating surface areas
Added a function for adding boundaries to a region image

🐛 Bugfixes
- Fixed a bug in chord length distribution
- Fixed make_continuous to work properly on images with 0
- Ensure im.copy() is used throughout package
- Fixed bug in snow extraction that used blurred image to create mask
- Improved chord spacing in apply_chords
- Fixed artifacts in some of the porosimetry modes
- Changing use of squeeze on 2D images

⚠️ API changes
- Tweaking count_chords and chord_len_dist to accept bool or labeled chords
- Added bins='None' functionality for chord_length_distribution
- Added optional arguments to several functions for improved usability

🍰 Enhancements
- Added type annotations to some functions in ``generators``
- Added an examples subfolder to ensure they are always up to date
- Increased code coverage
- Adding more network properties to SNOW extraction

0.3.9

This version now works on PIP

0.3.7

This version bump renames the ``export`` module to ``io`` to be more future-proof.

0.3.6

This release contains a few major changes, but mostly to remove the RandomWalk code, which is being packaged into its own repo.

0.3.5

This adds some incremental changes, like improving docstrings, changing argument names, removing unneeded functions, and some minor refactoring. Importantly it adds some submodules to the setup.py file so they import correctly.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.