Mentions légales du service

Skip to content
Snippets Groups Projects
type.py 369 B
Newer Older
DEBREUVE Eric's avatar
DEBREUVE Eric committed
from typing import Tuple, Union

import numpy as np_


array_t = np_.ndarray

tintegers_h = Tuple[int, ...] # tintegers=tuple of integers

number_h = Union[int, float]

site_h = tintegers_h
site_path_h = Tuple[site_h, ...]

py_array_picker_h = Tuple[tintegers_h, ...]
np_array_picker_h = Tuple[array_t, ...]
array_picker_h = Union[py_array_picker_h, np_array_picker_h]