-
Notifications
You must be signed in to change notification settings - Fork 343
Unpacking of inferred params for pws setpoints #7732
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
base: main
Are you sure you want to change the base?
Unpacking of inferred params for pws setpoints #7732
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7732 +/- ##
=======================================
Coverage 59.80% 59.80%
=======================================
Files 352 352
Lines 31805 31806 +1
=======================================
+ Hits 19022 19023 +1
Misses 12783 12783 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@microsoft-github-policy-service agree |
|
Hi Andreas, Thank you for this contribution. I had also discovered this lack of capability and had been thinking about ways to approach the problem. After looking at your code, I have a few thoughts:
This last point is pretty sticky, and it's where I've struggled the most. In a high-dimensional space, or one in which one axis is significantly larger than the others (eg. where one axis is time), we could end up creating a large number of matrices to save to the dataset that are highly redundant. Curious to hear your thoughts on these issues. Thanks again!
|
Added parameters that are controlled by the setpoints of a
ParameterWithSetpointsto the newunpack_selfmethod (v0.54.0).Setpoints and their corresponding inferred parameters are already being registered automatically when the ParameterWithSetpoints is registered to the measurement. This contribution adds automatic unpacking of the inferred parameters during
add_result.Potential further implementation:
This PR adds automatic adding of all parameters that are in setpoint.has_control_of. Should this also be added for setpoint.is_controlled_by? If yes I am happy to add that as well.
Very keen for feedback and opinions!