microsoft / microsoft/Qcodes

Feature / Let measurement class register a ParamSpec

Open
#1,220 16 comments 2 reactions 0 assignees View on GitHub
new dataset
Dominant language
Python
Stars
459
Forks
359
Avg merge
3d 6h
Merged PRs (30d)
73

Description

There is no way (exposed by the API) to register a `ParamSpec` directly with a `Measurement` object. That's a petty, since doing that is necessary in many situations.

Let's fix that! I suppose the only question is: do we extend `register_custom_parameter` or make a new `register_paramspec`?

@QCoDeS/core @cgranade

Contributor guide

Open the contributing guide

Research direction

Start with the Measurement API and its existing register_custom_parameter entry point, then trace how ParamSpec objects are represented. Done means the public API supports registering a ParamSpec directly, with the choice between extending the existing method or adding a new one settled and the behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.