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.
This PR makes
imageruler
applicable to periodic 1d or 2d binary patterns. The periodicity is specified by a new argumentperiodic_axes
, which can be0
,1
, or(0,1)
, corresponding to the indices of periodic directions. The default value isNone
, which indicates that the binary pattern is non-periodic in any directions.