Skip to content

Conversation

emartinez
Copy link
Contributor

This pull request adds a register_params argument to doNd functions, to register in the measurement additional setpoint parameters that are not being changed. This is useful e.g. when a N-dimensional scan is broken over several slices, to facilitate reconstructing the entire N-dimensional measurement.

setpoint_params = (param_set,) + tuple(register_params)
_register_parameters(meas, setpoint_params)
_register_parameters(meas, param_meas, setpoints=setpoint_params)
params_to_measure = param_meas + tuple(register_params)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@emartinez Could you elaborate the reasoning to add register_params as both set points and also parameters to be measured? Are there any down falls of this approach? Do we have any performance degradation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants