neclib.core.types#

class Array(*args, **kwargs)[source]#

Bases: Protocol, Generic[T_co]

DimensionLess#

Type alias for values with no physical units.

alias of Union[int, float, ndarray[Any, dtype[number]], Array[Union[int, float]]]

UnitType#

Type alias for objects that represents physical unit.

alias of Union[UnitBase, str]

CoordFrameType#

Type alias for objects that represents coordinate frame.

alias of Union[str, BaseCoordinateFrame, Type[BaseCoordinateFrame]]

EquivalencyType#

Type alias for unit equivalency in astropy.units.

alias of Tuple[UnitBase, UnitBase, Callable[[float], float], Callable[[float], float]]

AngleUnit#

Type alias for supported angular units.

alias of Literal[‘deg’, ‘rad’, ‘arcmin’, ‘arcsec’]

CoordinateType#

Type alias for coordinate in (lon, lat, frame) format.

alias of Tuple[Quantity, Quantity, Union[str, BaseCoordinateFrame, Type[BaseCoordinateFrame]]]

class SupportsComparison(*args, **kwargs)[source]#

Bases: Protocol

class TextLike(*args, **kwargs)[source]#

Bases: Protocol

upper()[source]#
Return type:

TextLike

lower()[source]#
Return type:

TextLike

find()[source]#
Return type:

int

replace()[source]#
Return type:

TextLike

class IsDataClass(*args, **kwargs)[source]#

Bases: Protocol