ewoksndreg.io.input_stack.InputStackNumpy#

class ewoksndreg.io.input_stack.InputStackNumpy(arrays, inputs_are_stacks=None)[source]#

Bases: InputStack

Parameters:
  • arrays (Union[ndarray, Sequence[ndarray]])

  • inputs_are_stacks (Optional[bool])

count(value) integer -- return number of occurrences of value#
property dtype: dtype[Any] | None | type[Any] | _SupportsDType[dtype[Any]] | str | tuple[Any, int] | tuple[Any, SupportsIndex | Sequence[SupportsIndex]] | list[Any] | _DTypeDict | tuple[Any, Any]#
index(value[, start[, stop]]) integer -- return first index of value.#

Raises ValueError if the value is not present.

Supporting start and stop arguments is optional, but recommended.

property ndim: int#
property shape: Tuple[int]#