neclib.coordinates package#

Aliases#

AbsoluteModuloUnwrapConfig

AbsoluteModuloUnwrapConfig(enabled: ‘bool’ = False, period_deg: ‘float’ = 360.0, raw_min_deg: ‘float’ = 0.0, raw_max_deg: ‘float’ = 360.0, drive_min_deg: ‘float’ = 0.0, drive_max_deg: ‘float’ = 360.0, zero_offset_deg: ‘float’ = 0.0, sign: ‘int’ = 1, max_jump_deg: ‘Optional[float]’ = None)

AbsoluteModuloUnwrapper

Stateful unwrap calculator for one absolute modulo encoder axis.

AmbiguousBranchError

Raised when a raw modulo angle maps to multiple valid branches.

AngleUnwrapError

Base class for absolute encoder unwrap errors.

AngleUnwrapResult

AngleUnwrapResult(raw_deg: ‘float’, modulo_deg: ‘float’, continuous_deg: ‘float’, branch: ‘int’, branch_changed: ‘bool’, state: ‘str’)

BranchJumpError

Raised when the selected continuous angle jumps implausibly.

CoordCalculator

Collection of basic methods for celestial coordinate calculation.

CoordinateDelta

CoordinateDelta(d_lon: Union[int, float, numpy.ndarray[Any, numpy.dtype[numpy.number]], neclib.core.types.Array[Union[int, float]], astropy.units.quantity.Quantity], d_lat: Union[int, float, numpy.ndarray[Any, numpy.dtype[numpy.number]], neclib.core.types.Array[Union[int, float]], astropy.units.quantity.Quantity], frame: Union[Type[astropy.coordinates.baseframe.BaseCoordinateFrame], astropy.coordinates.baseframe.BaseCoordinateFrame, str], unit: Union[astropy.units.core.UnitBase, str, NoneType] = None, cos_correction: bool = False, cos_correction_ref: str = ‘here’, cos_correction_ref_lat: Union[int, float, numpy.ndarray[Any, numpy.dtype[numpy.number]], neclib.core.types.Array[Union[int, float]], astropy.units.quantity.Quantity, NoneType] = None)

CoordinateGeneratorManager

None

CoordinateLike

Type variable.

DriveLimitChecker

Find optimum and safe angle to drive to.

GridSpec

None

NoValidBranchError

Raised when no continuous candidate is inside the drive range.

OTFSpec

None

Observer

None

OpticalPointingSpec

None

PSWSpec

None

PathFinder

None

PointingError

Calculate pointing error offset.

RadioPointingSpec

None

RawAngleRangeError

Raised when an absolute encoder raw angle is unusable.

ScanBlockLine

High-level description of one observed line inside a scan block.

ScanBlockSection

Low-level section description consumed by PathFinder.scan_block().

describe_frame

Get string representation of a frame.

parse_frame

Parse a frame string and create a frame object.

Subpackages#

Submodules#