Setpoints are not handled correctly in measurement
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 459
- Forks
- 359
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 73
Description
Measuring two different ParametersWithSetpoints (say pws1, pws2) in one measurement fails when pws1 has p1 as setpoints and pws2 has p1 and p2 as setpoints. Individual measurements of pws1 and pws2 are running smoothly.
### Steps to reproduce
I will attach a jupyternotebook with an example.
### Expected behaviour
Measurement should complete with measuring the 1D and the 2D parameter.
### Actual behaviour
Measurement fails with the following error:
`ValueError: Incompatible shapes. Parameter data1d has shape (3,), but its setpoint t has shape (3, 2).`
### System
**operating system**
windows 10
**qcodes branch**
version 0.27.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue described in the promised Jupyter notebook, using two ParametersWithSetpoints where the first has p1 and the second has p1 and p2. Trace the measurement path that raises the incompatible-shapes ValueError, then verify that the measurement completes for both the 1D and 2D parameters without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100