6.5.8. qumada.utils.parameter_file_helpers

class qumada.utils.parameter_file_helpers.ParameterDict[source]

Bases: dict

Changes operator | and |= of dict to overwrite entries, that are dict and have a key ‘type’.

qumada.utils.parameter_file_helpers.dynamic_dac_entry(dac, start, stop, num_points=100, delay=0.025)[source]

Generate a “dynamic” dac parameter.

Return type:

ParameterDict

qumada.utils.parameter_file_helpers.excel_to_dac_parameter_file(excel_file, parameter_file_path, sample_header='Sample', dac_header='DAC/AWG')[source]

Read dac parameters from Excel file and save them (with dummy channels) to new parameter file.

qumada.utils.parameter_file_helpers.gettable_dac_entry(dac, **kwargs)[source]

Generate a “gettable” dac parameter.

Return type:

ParameterDict

qumada.utils.parameter_file_helpers.intialize_dac_parameter_file(mapping, parameter_file_path)[source]

Write new dac parameter file with dummy channels before relevant entries.

qumada.utils.parameter_file_helpers.static_dac_entry(dac, value, gettable=False)[source]

Generate a “static” dac parameter.

Return type:

ParameterDict

qumada.utils.parameter_file_helpers.static_smu_entry(smu, parameter, value, gettable=False)[source]

Generate a static (gettable) SMU parameter.

Return type:

ParameterDict

qumada.utils.parameter_file_helpers.update_parameters(parameter_file_path, new_parameters)[source]

Write or overwrite parameters to a file.