numina.core.oresult — Observation Result

Results of the Observing Blocks

class numina.core.oresult.ObservationResult(instrument='UNKNOWN', mode='UNKNOWN')

The result of an observing block

metadata_with(datamodel: DataModel) dict

Extract metadata from the OB using a DataModel object

class numina.core.oresult.ObservingBlock(instrument='UNKNOWN', mode='UNKNOWN')

Description of an observing block

get_sample_frame()

Return first available frame in observation result

numina.core.oresult.dataframe_from_list(values)

Build a DataFrame object from a list.

numina.core.oresult.oblock_from_dict(values: dict) ObservingBlock

Build a ObservingBlock object from a dictionary.

numina.core.oresult.obsres_from_dict(values: dict) ObservationResult

Build a ObservationResult object from a dictionary.

numina.core.taggers — Extract information from OBs

Function to retrieve tags from Observation results.

numina.core.taggers.get_tags_from_full_ob(ob, reqtags=None)
Parameters:
  • (ObservationResult) (ob) –

  • (iterable) (reqtags) –

Return type:

A dictionary