necst.procedures.observation_base

class Observation(record_name=None, /, **kwargs)[source]

Bases: ABC

Observation runner.

Parameters
  • record_name (Optional[str]) – Record name. This will prefixed by auto-generated observation identifier necst_{start_datetime}_{observation_type}.

  • **kwargs – Keyword arguments passed to run().

Examples

>>> obs = necst.procedures.Observation(...)
>>> obs.execute()
observation_type: str
target: Optional[str] = None
execute()[source]
Return type

None

property start_datetime: Optional[str]
ros2env()[source]
Return type

Generator[None, None, None]

property record_name: str
record_parameter_files()[source]
Return type

None

abstract run(*args, **kwargs)[source]
Return type

None

hot(integ_time, id)[source]
Parameters
  • integ_time (Union[int, float]) –

  • id (Any) –

Return type

None

sky(integ_time, id)[source]
Parameters
  • integ_time (Union[int, float]) –

  • id (Any) –

Return type

None

off(integ_time, id)[source]
Parameters
  • integ_time (Union[int, float]) –

  • id (Any) –

Return type

None

on(integ_time, id)[source]
Parameters
  • integ_time (Union[int, float]) –

  • id (Any) –

Return type

None

binning(ch)[source]