atomica.yaml_calibration.build

atomica.yaml_calibration.build(instructions=None, context=None, name='calibration')[source]

Construct nodes representing a calibration

Parameters:
  • instructions – A dictionary of attributes/settings defined for this node OR a string filename containing a YAML file that can be loaded to provide instructions

  • context – A dictionary of attributes/settings inherited from parent nodes

  • name – The name to assign this node

  • fname – Optionally read the instructions from a file

Returns:

A Node subclass instance, the type of which depends on the instructions