microsoft / microsoft/Qcodes

dond to support time-dependence measurements (perhaps with ElapsedTimeParameter)

Open
#4,695 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
459
Forks
359
Avg merge
3d 6h
Merged PRs (30d)
73

Description

something like

```python
etp = ElapsedTimeParameter()
dond(etp, stuff_to_sweep_and_measure_here, ...)
```

first of all, `ElapsedTimeParameter` does not have a `set` method, so it can't be used in `dond` as an independent parameter. Secondly, the ask is to run a measurement until elapsed time is more than a specified value (e.g. until elapsed time is more than 10 minutes).

One quick workaround would be to use a dummy parameter as the `doNd` set parameter and include the `ElapsedTimeParameter` in the list of `meas_params`.

Originally requested by @guenp @samantha-ho

Contributor guide

Open the contributing guide

Research direction

Start by reading the dond entry point and the ElapsedTimeParameter implementation, focusing on how independent parameters are set and how measurement loops terminate. Done should include support for elapsed-time-based stopping and a usable ElapsedTimeParameter in dond, while preserving the described measurement workflow.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.