neclib.coordinates.paths.path_base#
Aliases#
Type validator, to force some instance variables to be Quantity. |
- class Path(calc, *target, unit=None, **kwargs)[source]#
Bases:
ABC
- Parameters:
calc (CoordCalculator) –
unit (Optional[UnitType]) –
- tight: bool#
- infinite: bool#
- waypoint: bool#
- abstract property arguments: Tuple[Tuple[Any, ...], Dict[str, Any]]#
- property target_frame: Optional[Union[str, BaseCoordinateFrame, Type[BaseCoordinateFrame]]]#
- class Index(time: 'NPArrayValidator', index: 'NPArrayValidator')[source]#
Bases:
object
- Parameters:
time (NPArrayValidator) –
index (NPArrayValidator) –
- time: NPArrayValidator#
Type validator, to force some instance variables to be Quantity.
- index: NPArrayValidator#
Type validator, to force some instance variables to be Quantity.
- class ControlContext(tight: 'Optional[bool]' = None, start: 'Optional[float]' = None, stop: 'Optional[float]' = None, duration: 'Optional[float]' = None, infinite: 'bool' = False, waypoint: 'bool' = False)[source]#
Bases:
object
- Parameters:
tight (Optional[bool]) –
start (Optional[float]) –
stop (Optional[float]) –
duration (Optional[float]) –
infinite (bool) –
waypoint (bool) –
- tight: Optional[bool] = None#
If True, the section is for observation so its accuracy should be inspected.
- start: Optional[float] = None#
Start time of this control section.
- stop: Optional[float] = None#
End time of this control section.
- duration: Optional[float] = None#
Time duration of this control section.
- infinite: bool = False#
Whether the control section is infinite hence need interruption or not.
- waypoint: bool = False#
Whether this is waypoint hence need some value to be sent or not.
- update(other, **kwargs)[source]#
- Parameters:
other (ControlContext) –
kwargs (Any) –
- Return type:
None