Skip to content

Types

siapy.core.types

SpectralLibType module-attribute

SpectralLibType = BilFile | BipFile | BsqFile

XarrayType module-attribute

XarrayType = DataArray | Dataset

ImageType module-attribute

ImageType = SpectralImage | ndarray | Image

ImageSizeType module-attribute

ImageSizeType = int | tuple[int, ...]

ImageDataType module-attribute

ImageDataType = (
    uint8
    | int16
    | int32
    | float32
    | float64
    | complex64
    | complex128
    | uint16
    | uint32
    | int64
    | uint64
)

ImageContainerType module-attribute

ImageContainerType = SpectralImage | SpectralImageSet

ArrayLike1dType module-attribute

ArrayLike1dType = (
    ndarray | Series | Sequence[Any] | ArrayLike
)

ArrayLike2dType module-attribute

ArrayLike2dType = (
    ndarray | DataFrame | Sequence[Any] | ArrayLike
)