Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 15 additions & 81 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,99 +1,33 @@
pymodaq_plugins_template
pymodaq_plugins_waveform
########################

.. the following must be adapted to your developed package, links to pypi, github description...

.. image:: https://img.shields.io/pypi/v/pymodaq_plugins_template.svg
:target: https://pypi.org/project/pymodaq_plugins_template/
.. image:: https://img.shields.io/pypi/v/pymodaq_plugins_waveform.svg
:target: https://pypi.org/project/pymodaq_plugins_waveform/
:alt: Latest Version

.. image:: https://readthedocs.org/projects/pymodaq/badge/?version=latest
:target: https://pymodaq.readthedocs.io/en/stable/?badge=latest
:alt: Documentation Status

.. image:: https://github.com/PyMoDAQ/pymodaq_plugins_template/workflows/Upload%20Python%20Package/badge.svg
:target: https://github.com/PyMoDAQ/pymodaq_plugins_template
.. image:: https://github.com/PyMoDAQ/pymodaq_plugins_waveform/workflows/Upload%20Python%20Package/badge.svg
:target: https://github.com/PyMoDAQ/pymodaq_plugins_waveform
:alt: Publication Status

.. image:: https://github.com/PyMoDAQ/pymodaq_plugins_template/actions/workflows/Test.yml/badge.svg
:target: https://github.com/PyMoDAQ/pymodaq_plugins_template/actions/workflows/Test.yml
.. image:: https://github.com/PyMoDAQ/pymodaq_plugins_waveform/actions/workflows/Test.yml/badge.svg
:target: https://github.com/PyMoDAQ/pymodaq_plugins_waveform/actions/workflows/Test.yml


Use this template to create a repository on your account and start the development of your own PyMoDAQ plugin!
Design waveforms and send them to the analog outputs and arbitrary waveform generators of the Dashboard.

This branch targets **PyMoDAQ 5.3.x** (Python 3.10 to 3.13). Use the branch matching your PyMoDAQ version.
This package holds the Dashboard extension that builds a waveform from the factory of ``pymodaq_plugins_utils``
(sine, square, triangle, ramp, pulse, piecewise linear, array...), shows it, and sends it to any actuator whose plugin
follows the waveform output contract of ``pymodaq_plugins_utils.hardware.waveform_output`` (NI-DAQmx analog outputs,
Red Pitaya...). It is under development: nothing is released yet.

This branch targets **PyMoDAQ 5.3.x** (Python 3.10 to 3.13).

Authors
=======

* First Author (myemail@xxx.org)
* Other author (myotheremail@xxx.org)

.. if needed use this field

Contributors
============

* First Contributor
* Other Contributors

.. if needed use this field

Depending on the plugin type, delete/complete the fields below


Instruments
===========

Below is the list of instruments included in this plugin

Actuators
+++++++++

* **yyy**: control of yyy actuators
* **xxx**: control of xxx actuators

Viewer0D
++++++++

* **yyy**: control of yyy 0D detector
* **xxx**: control of xxx 0D detector

Viewer1D
++++++++

* **yyy**: control of yyy 1D detector
* **xxx**: control of xxx 1D detector


Viewer2D
++++++++

* **yyy**: control of yyy 2D detector
* **xxx**: control of xxx 2D detector


PID Models
==========


Extensions
==========


Installation instructions
=========================

* PyMoDAQ’s version.
* Operating system’s version.
* What manufacturer’s drivers should be installed to make this plugin run?


Development
===========

* Install your plugin in editable mode: ``pip install -e .``
* Check it, without any hardware: ``check_plugin`` (and ``pytest``)
* If you use an AI coding assistant, point it to ``AGENTS.md``: it describes the patterns to follow for instrument
plugins, Dashboard extensions (``CustomExt``, whenever instruments are involved) and standalone apps
(``CustomApp``, only if no instruments are needed).
* Sebastien Weber
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
[features] # defines the plugin features contained into this plugin
instruments = true # true if plugin contains instrument classes (else false, notice the lowercase for toml files)
instruments = false # true if plugin contains instrument classes (else false, notice the lowercase for toml files)
extensions = false # true if plugins contains dashboard extensions
models = false # true if plugins contains models of the extensions (PID, optimizers, data mixer, sequencer, ...)
h5exporters = false # true if plugin contains custom h5 file exporters
scanners = false # true if plugin contains custom scan layout (daq_scan extensions)

[urls]
package-url = 'https://github.com/PyMoDAQ/pymodaq_plugins_template' #todo modify url by your plugin url
package-url = 'https://github.com/PyMoDAQ/pymodaq_plugins_waveform'

[project]
name = "pymodaq_plugins_template" #todo modify template by your plugin short name
description = 'some word about your plugin' #todo: one sentence naming the instrument(s) and what it does, shown on PyPI
name = "pymodaq_plugins_waveform"
description = 'Design waveforms and send them to the analog outputs and arbitrary generators of the Dashboard'
keywords = [
"pymodaq",
"plugin",
"instrument control",
"data acquisition",
#todo: add the instrument, manufacturer and measurement type (camera, stage, spectrometer...)
"waveform",
"analog output",
"arbitrary waveform generator",
]
dependencies = [
"pymodaq>=5.3.7",
"pymodaq_utils>=5.3.1",
"pymodaq_gui>=5.3.0",
"pymodaq_data>=5.3.0",
#todo: list here all dependencies your package may have
"pymodaq_plugins_utils",
]

authors = [
{name = "Name Surname", email = "myname@test.fr"},
#todo: list here all authors of your plugin
{name = "Weber Sebastien"},
]
maintainers = [
{name = "Name Surname", email = "myname@test.fr"},
#todo: list here all maintainers of your plugin
{name = "Weber Sebastien"},
]

# nottodo: leave everything below as is!
Expand Down
130 changes: 0 additions & 130 deletions src/pymodaq_plugins_template/app/custom_app_template.py

This file was deleted.

Loading