CalibrationPlan#

MemberKindWhat it is
to_dictmethodReturn the four members as JSON: a path as text, a date as ISO text.
calibrationattributeSignature only
phasesattributeSignature only
planattributeSignature only
protocolattributeSignature only
class CalibrationPlan(phases, calibration, protocol, plan)[source]#

What a calibration declares, with nothing run and nothing written.

phases holds the declared phases, empty for a file with one search. Each names the method it runs, and a phase that names none gets the one its criteria call for, with method_reason saying why. interval_width gives the width the phase reads its interval with and where it comes from. A phase that moves again a parameter an earlier phase passes on also names that phase, and says whether its engine starts from the passed value.

calibration is the whole [calibration] section a protocol unfolds into, without the protocol key, so it can be pasted in its place. A file naming no protocol gets its own section back, a configuration its section as it is.

protocol is None for a declaration naming no protocol, else name, version, citation (the first reference, short form) and inherited (true when the protocol comes from the base_config).

plan gives, for a file, what a launch would write: its case, session_dir, run_dir, version, phases, solves_in_parallel and save_runs. None for a configuration object.

to_dict()[source]#

Return the four members as JSON: a path as text, a date as ISO text.

calibration: dict[str, Any]#
phases: list[dict[str, Any]]#
plan: dict[str, Any] | None#
protocol: dict[str, Any] | None#