atomica.yaml_calibration.BaseNode

class atomica.yaml_calibration.BaseNode(instructions, context, name)[source]

Bases: object

Node base class

The base node class implements basic node features. Typically there should not be any instances of this class, only instances of subclasses

Attributes

attributes

n_steps

repeats

Methods

apply

Perform the action associated with this node

validate

Validate/sanitize contents of this node

walk

apply(project, parset, savedir, *args, **kwargs)[source]

Perform the action associated with this node

Return type:

ParameterSet

validate()[source]

Validate/sanitize contents of this node

If the node isn’t valid, an error should be raised