rockpool.utilities.property_arrays

property_arrays.py - Collection of array classes to be used as properties to control

access to underlying object (e.g. to enable or disable item assignment).

Classes

ImmutableArray(arraylike[, name, custom_error])

ImmutableArray - np.ndarray subclass that prevents item assignment.

RefArray(arraylike[, reference])

RefArray - np.ndarray subclass that is generated from an array-like or torch.Tensor

RefProperty([fget, fset, fdel, doc])

RefProperty - The purpose of this class is to provide a decorator @RefProperty

SetterArray(arraylike, owner, name, dtype, ...)

SetterArray - np.ndarray subclass that can be used for class properties with