Scripting language to fine-tune acquisition #574
Replies: 1 comment
-
|
Great idea! In the spirit of your short example I post here some pseudo code which would describe a femtosecond transient absorption measurement how it is implemented in my lab. Most important: I'd see the need for variables which are populated from "outside", i.e. GUI or whatever config file. The declaration of types could serve for automatically exposing these to the parameter trees. Furthermore, defining chunks of commands used at more than one spot as a function could be helpful as well. There are of course quite some not so trivial details about feedback coming from data treatment / GUI and how to possibly integrate such which I just scrub over here. At present merely as a collection of ideas what could be useful in the structure of such a script. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Again, with @seb5g we discussed about a scripting language for pymodaq. The goal is to provide the ability to automate and fine-tune acquisition workflows, also enabling some kind of software sequencing. It also should be able to "replace" the scan extension.
Here is a proposition of what the scripting language could look, just so you get the idea. Everything is yet to be defined:
The scripts would not be limited to text form but also be defined from a gui at a later time. From an implementation point of view, it could rely on LECO protocol or an our own interpreter.
Please give us insights on what you would like to especially what kind of control it should have?
Beta Was this translation helpful? Give feedback.
All reactions