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

Conversion of input/output parameters #57

Open
MerlinSmiles opened this issue Mar 8, 2016 · 7 comments
Open

Conversion of input/output parameters #57

MerlinSmiles opened this issue Mar 8, 2016 · 7 comments
Assignees

Comments

@MerlinSmiles
Copy link
Contributor

Related to isue #56 there is another problem, internal conversion of values.

Sometimes the data you get or set in a measurement is not what that data actually represents.
For instance:

  • One might have a voltage divider at the output of a voltage source. Here I would like a conversion factor somewhere in the instrument that takes care of that. At the end of the day I'd like to say: bias.set(1e-3) but the instrument might have to output 1.213V.
  • There could be an analog instrument in from of the instrument you measure. For instance a Current amplifier that translates Amperes to Volts, When I measure the voltage this represents the current. At the end of the day I'd like to say current.get() and get something in Amperes.

Both cases deal with manual additions/changes to instruments, or rather the representation of their values.
Should we have, Is there, or is there planned to have a standardized conversion of this?

@giulioungaretti
Copy link
Contributor

@MerlinSmiles can you rephrase this?

@MerlinSmiles
Copy link
Contributor Author

@giulioungaretti Not sure how to rephrase, what does not make sense?
Its kindof related to the signal chan thing from @WilliamHPNielsen

@giulioungaretti
Copy link
Contributor

I am confused by this "Sometimes the data you get or set in a measurement is not what that data actually represents. "

@MerlinSmiles
Copy link
Contributor Author

Lets say you have a DMM measuring the output of and current amplifier, you measure voltage but it represents current.
Right now I use i.e. the parameter that is inside the ithaco driver or the parameter that is inside the SR560 diver, but the whole conversion thing is much more general and IMHO we should not write the same thing for each situation.
Right now I use the ithaco thing for a totally different instrument.

jenshnielsen referenced this issue in jenshnielsen/Qcodes Aug 8, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
jenshnielsen referenced this issue in jenshnielsen/Qcodes Aug 9, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
jenshnielsen referenced this issue in jenshnielsen/Qcodes Aug 10, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
jenshnielsen referenced this issue in jenshnielsen/Qcodes Aug 16, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
jenshnielsen referenced this issue in jenshnielsen/Qcodes Aug 18, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
jenshnielsen referenced this issue in jenshnielsen/Qcodes Aug 22, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
jenshnielsen referenced this issue in jenshnielsen/Qcodes Sep 21, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
nataliejpg pushed a commit to nataliejpg/Qcodes that referenced this issue Oct 11, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
jenshnielsen referenced this issue in jenshnielsen/Qcodes Oct 27, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
jenshnielsen referenced this issue in jenshnielsen/Qcodes Nov 21, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
jenshnielsen referenced this issue in jenshnielsen/Qcodes Nov 23, 2017
* Add simple click widget, still very much wip

* Fix add datacursor to viewer gui

* Fix: Clickwidget read labels from dataset

* Fix: more advanced widget

* Add titles to plots

* Needs mplcursors too

* WIP save func

* fix: correct event for button

* fix: disable buttons, calc bbox right

* fix: make save subplots more consistent and improve layout

* fix: improve savenames

* fix: better titles for saved subplots

* Trying to improve extend alg

* Fix don't include ticks. wrong ticks are includes when zooming

* fix: Move widget to its own module and partially fix for new labels

* Fix: change titles to use units correctly

* fix: remove unused import

* restore missing import

* improve non interactive logic for not showing plots
@jenshnielsen jenshnielsen self-assigned this Jul 20, 2018
@jenshnielsen
Copy link
Collaborator

I think this is mostly solved by the parameter aliases in the station configurator i.e. bx in this example https://github.com/qdev-dk/qdev-wrappers/blob/master/examples/station_configurator/exampleConfig.yaml
We plan to move the configurator into qcodes main

@astafan8
Copy link
Contributor

... or by DelegateParameter class which will also moved to qcodes main soon (with some rework).

@WilliamHPNielsen
Copy link
Contributor

The future looks bright 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants