Total Complexity | 0 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """Contains the FloatArray and IntArray types.""" |
||
2 | |||
3 | from typing import Union |
||
4 | |||
5 | import numpy as np |
||
6 | import numpy.typing as npt |
||
7 | |||
8 | FloatArray = npt.NDArray[Union[np.float32, np.float64]] |
||
9 | UIntArray = npt.NDArray[Union[np.uint32, np.uint64]] |
||
10 | AtomTypeArray = npt.NDArray[Union[np.uint8, np.uint16, np.uint32, np.uint64]] |