tutorial on how to write a dashboard extension (and potentially more) #1025
Replies: 2 comments 2 replies
-
|
do you think you could send us the built files? Either a zip with htmls or a pdf (make pdf). That would be either than cloning, building each time on our side. |
Beta Was this translation helpful? Give feedback.
-
|
Hello everyone, Just having a quick look, I think this is a huge work, so thank you for that Bernhard! We can see the teacher's hand it is very pedagogical ;)
As a general remark, i would say that it is not necessary to have a completely polished tutorial before publishing it. You can modify it afterward without problem. So I would rather say that it is quite already ready for publication as it is. I hope the tutorial for publication is still quite clear and updated: https://pymodaq.cnrs.fr/en/latest/tutorials/write_documentation.html# That will be a very nice contribution for our documentation :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In parallel of getting together my first dashboard extension I've written up a draft of a tutorial on how to do just that. I got the feeling, the spread of PyMoDAQ will quite depend on people in labs being capable to implement specific experimental procedures which go further than what the generic means out of the PyMoDAQ box like a DAQ scan can provide.
Since the matter is yet rather new to me, I'd be happy if the PyMoDAQxperts out there (@seb5g, @malik-irain, @quantumm, @rgeneaux, @Ashwolaa ...) could have a look at it. The idea would be first getting the code into a decent PyMoDAQian form and then continue working on / updating the tutorial text.
git@github.com:/bernhardlang/pymodaq_extension_tutorial.git
git@github.com:/bernhardlang/pymodaq_plugins_tutorial_extension.git
Once out of draft state, the idea is to get all into a single repo with tagged commits corresponding to the sections / mile stones in the tutorial, at points where the code is ready to run so that one can play around with the result.
As a starting point I've chosen a diode-array spectro-photometer (like Ocean Optics, Avantes, etc) used to measure absorption spectra in a semi-automated fashion. But all on a simulated instrument, no need for hardware. With real hardware and in form of a custom app, that actually runs since a couple of month in our physical chemistry lab classes, being heavily exposed to "fuzzy testing" by undergrad students :-)
As for now the tutorial makes a recap on plugin and controller coding to set up the simulated devices, then populates the extension template with basic stuff so that it is just capable of doing what the plugin already does, displaying currently recorded data. Last step for now setting up and controlling actions needed for measuring an absorption spectrum.
Planned further route: handling H5 storage, using the configurator, implementing a data mixer, simulating the observation of a photo-chemical reaction using a sequencer I've started to implement. I could also imagine further chapters to cover other advanced material, perhaps like lecoizing things, implementing a pid model and whatever else could be useful and appropriate.
If you like the general idea but have suggestions of a better suited starting point for covering such stuff, at this early state it wouldn't be too much of work to change that.
Beta Was this translation helpful? Give feedback.
All reactions