neclib.coordinates.paths.path_base#

Aliases#

NPArrayValidator

Type validator, to force some instance variables to be Quantity.

class Path(calc, *target, unit=None, **kwargs)[source]#

Bases: ABC

Parameters:
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#

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.

properties_modified(**kwargs)[source]#
Return type:

Generator[None, None, None]

update(other, **kwargs)[source]#
Parameters:
Return type:

None