array

function of dascore.compat source

array(
    array ,
)

Preserve array-like inputs for patch creation and reconstruction.

NumPy arrays and array-likes with a writable flag are marked read-only when possible. Other preserved array-likes are treated as logically immutable, but DASCore does not guarantee physical immutability for them.