Skip to content

Commit

Permalink
Merge pull request #41 from tldr-group/release/v0.1.4
Browse files Browse the repository at this point in the history
Release/v0.1.4
  • Loading branch information
isaacsquires authored Jul 11, 2022
2 parents f2f3fb1 + 40de5cd commit 3b459ab
Show file tree
Hide file tree
Showing 8 changed files with 310 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,5 @@ ENV/
/xy_352_rep_49.tif.npy
/precision_tests.py
/PeriodicVerticalMirror.tif

temp
14 changes: 10 additions & 4 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@
=======
History
=======
------------------
0.1.4 (2022-07-11)
------------------

* Add TauE solver
* Add triple phase boundary calculations
* Fix cuboids not converging
* Fix convergence messaging

------------------
0.1.3 (2021-03-25)
------------------

* Hotfix code in taufactor.py

------------------

0.1.2 (2021-03-25)
------------------

* Added multi-phase and periodic solvers and metrics calculations

------------------


0.1.1 (2021-02-10)
------------------

* Removed CuPy from requirements and added installation instructions to README

------------------

0.1.0 (2021-02-08)
------------------

Expand Down
16 changes: 16 additions & 0 deletions docs/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,22 @@ s = tau.MultiPhaseSolver(img, cond=cond, iter_limit=1000)
s.solve()
```

### Electrode tortuosity factor solver

This solver implements the electrode tortuosity method from [Nguyen _et al._](https://doi.org/10.1038/s41524-020-00386-4)

```
import taufactor as tau
# load n phase segmented image
img = tifffile.imread('path/filename')
# create an electrode solver object and set an iteration limit
s = tau.ElectrodeSolver(img)
# call solve function
s.solve()
```

## Metrics

Metrics can be calculated using the metrics module
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.3
current_version = 0.1.4
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/tldr-group/taufactor',
version='0.1.3',
version='0.1.4',
zip_safe=False,
)
2 changes: 1 addition & 1 deletion taufactor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

__author__ = """Isaac Squires"""
__email__ = '[email protected]'
__version__ = '0.1.3'
__version__ = '0.1.4'

from .taufactor import *
Loading

0 comments on commit 3b459ab

Please sign in to comment.