Metalayers

class caterva.meta.Meta(ndarray)

Class providing access to user meta on a NDArray. It will be available via the .meta property of an array.

Methods

__getitem__

Return the item metalayer.

__setitem__

Update the key metalayer with value.

get

Return the value for key if key is in the dictionary, else default.

keys

Return the metalayers keys

__iter__

Iter over the keys of the metalayers

__contains__

Check if the key metalayer exists or not