NanoComp / imageruler

measure minimum solid/void lengthscales in binary image
https://nanocomp.github.io/imageruler/
MIT License
13 stars 6 forks source link

Add support for periodic patterns #7

Closed mawc2019 closed 1 year ago

mawc2019 commented 1 year ago

This PR makes imageruler applicable to periodic 1d or 2d binary patterns. The periodicity is specified by a new argument periodic_axes, which can be 0, 1, or (0,1), corresponding to the indices of periodic directions. The default value is None, which indicates that the binary pattern is non-periodic in any directions.

stevengj commented 1 year ago

Would be good to add a test. Also remove the extraneous commit to the README.