When you call the CompositeHexagonalApertuere class / _composite_hexagonal_aperture function, it looks like there is a reference to the np.bool type -- which was deprecated with Numpy 1.20.0. Any use of np.bool should be replace with bool -- previously this was just an alias for the builtin type.
In the meantime, a somewhat hacky work around is simply to manually define that alias before import, i.e.: np.bool = bool.
When you call the
CompositeHexagonalApertuere
class /_composite_hexagonal_aperture
function, it looks like there is a reference to thenp.bool
type -- which was deprecated with Numpy 1.20.0. Any use ofnp.bool
should be replace withbool
-- previously this was just an alias for the builtin type.In the meantime, a somewhat hacky work around is simply to manually define that alias before import, i.e.:
np.bool = bool
.Full error message attached.