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¶
- property start_datetime: Optional[str]¶
- property record_name: str¶
- 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