Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DoNd register parameters #197

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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