{"id":14970911,"url":"https://github.com/samirmartins/pydaq","last_synced_at":"2025-10-26T14:30:31.955Z","repository":{"id":158150349,"uuid":"607357121","full_name":"samirmartins/pydaq","owner":"samirmartins","description":"Data Acquisition and Experimental Analysis with Python and Graphical User Interface","archived":false,"fork":false,"pushed_at":"2025-08-28T14:27:20.000Z","size":103796,"stargazers_count":20,"open_issues_count":12,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-17T21:34:25.518Z","etag":null,"topics":["arduino","arduino-library","graphical-user-interface","national-instruments","nidaq","nidaqmx","pyside6","python","real-datasets","step-response"],"latest_commit_sha":null,"homepage":"https://pydaq.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samirmartins.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-27T20:29:21.000Z","updated_at":"2025-09-25T14:43:11.000Z","dependencies_parsed_at":"2023-07-12T20:15:07.357Z","dependency_job_id":"c6b879a6-c621-4bfd-8b49-987fcfec89f7","html_url":"https://github.com/samirmartins/pydaq","commit_stats":{"total_commits":213,"total_committers":5,"mean_commits":42.6,"dds":"0.14084507042253525","last_synced_commit":"77d390e2f689152f889dc0590c1a2b79316043e2"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/samirmartins/pydaq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samirmartins%2Fpydaq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samirmartins%2Fpydaq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samirmartins%2Fpydaq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samirmartins%2Fpydaq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samirmartins","download_url":"https://codeload.github.com/samirmartins/pydaq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samirmartins%2Fpydaq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280742541,"owners_count":26382926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","arduino-library","graphical-user-interface","national-instruments","nidaq","nidaqmx","pyside6","python","real-datasets","step-response"],"created_at":"2024-09-24T13:44:20.532Z","updated_at":"2025-10-26T14:30:31.949Z","avatar_url":"https://github.com/samirmartins.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"logo/pydaq-logo.png\" alt= “PYDAQ” class=“center” width=\"50%\" height=\"50%\"\u003e\n\u003c/p\u003e \n\n[![PyPI version](https://img.shields.io/pypi/v/pydaq?color=a26969)](https://github.com/samirmartins/pydaq)\n[![License](https://img.shields.io/pypi/l/pydaq?color=a26969)](https://opensource.org/licenses/BSD-3-Clause)\n[![python](https://img.shields.io/pypi/pyversions/pydaq?color=a26969)](https://pypi.org/project/pydaq/)\n[![status](https://img.shields.io/pypi/status/pydaq?color=a26969)](https://pypi.org/project/pydaq/)\n[![contributors](https://img.shields.io/github/contributors/samirmartins/pydaq?color=a26969)](https://github.com/samirmartins/pydaq/graphs/contributors)\n[![downloads](https://static.pepy.tech/badge/pydaq/month)](https://pepy.tech/projects/pydaq)\n[![openissues](https://img.shields.io/github/issues/samirmartins/pydaq?color=a26969)](https://github.com/samirmartins/pydaq/issues)\n[![issuesclosed](https://img.shields.io/github/issues-closed-raw/samirmartins/pydaq?color=a26969)](https://github.com/samirmartins/pydaq/issues)\n[![forks](https://img.shields.io/github/forks/samirmartins/pydaq?color=a26969\u0026style=social)](https://github.com/samirmartins/pydaq/network/members)\n[![stars](https://img.shields.io/github/stars/samirmartins/pydaq?color=a26969\u0026style=social)](https://github.com/samirmartins/pydaq/stargazers)\n\n\n# PYDAQ - Data Acquisition and Experimental Analysis with Python\n\n## www.pydaq.org\n\n\n----\nUsing Python for applications with experimental data (Arduino and NIDAQ boards)\n----\n\nThis package was initially designed to use an experimental device for data \nacquisition and signal generation when performing different experiments, \nsuch as a step-response test. However, from version v0.0.5 onwards, \nPYDAQ introduces different functionalities, including real-time system \nidentification using experimental data.\n\nOne can use PYDAQ using different boards [(check jupyter notebook examples folder)](examples), \nthrough a Graphical User Interface or via command line. \n\nIt is noteworthy that this application makes data acquisition, system identification\nand empirical experiments simpler, faster and easier. This is relevant\nwhen the user needs empirical data to construct black box linear and\nnonlinear models, commomly used in research projects in forecasting and \nmodel-based control schemes.\n \nThe code provided here allows user to save acquired data in .dat files in \na path specified by the user (or at Desktop, if no path is provided), as well\nas send a user-defined data, which can be any nonlinear input signal \n[(you are strongly advised to check the docs)](https://pydaq.org)\n\nIn what follows you will find\n\n- Installation and Requirements\n- Quick view and Main features \n- Using Graphical User Interface\n- Screenshots\n\n\n\n---\nInstallation and Requirements\n---\n\nThe fastest way to install PYDAQ is using pip:\n\n```console\npip install pydaq\n```\n\nPYDAQ requires:\n\n- Driver of the board used (Arduino or National Instruments NIDAQ)\n- nidaqmx (\u003e=0.6.5) for data acquisition from National Instruments Boards\n- matplotlib (\u003e=3.5.3) as a visualization tool\n- numpy (\u003e=1.22.3) to process data\n- PySide6 (\u003e=6.7.1), PySide6_Addons, PySide6_Essentials and shiboken6 as a Graphical User Interface framework\n- pyserial (\u003e=3.5) to manage data to/from Arduino\n- sysidentpy (==0.3.4) and bitarray (\u003e=3.0.0) for model acquisition/signal generation\n- packaging (\u003e=24.1).\n\n**NOTE 1:** In this version of pydaq (0.0.5), [(NI-DAQmx drivers)](https://www.ni.com/en/support/downloads/drivers/download.ni-daq-mx.html#494676) must be installed, even if \nthe user is only using Arduino Boards. This issue will be addressed in future versions, allowing\nArduino users to use PYDAQ without having to install NI-DAQmx drivers.\n\n**NOTE 2:** PYDAQ is fully tested up to Python 3.10. It may run on versions above this, but without guarantees. \n\n\n---\nQuick view and Main features\n---\n\n| Feature                       |                                                                                                                                                                                                                                                                                                                                                                           Description |\n|-------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|\n| Send Data (Arduino/NIDAQ)     |                                                                                                                                                                                                                                                                            This feature allows the user to send data through any Arduino/NIDAQ board using a graphical user interface |\n| Get Data (Arduino/NIDAQ)      |                                                                                                                                             Here the user is able to get data from a(n) Arduino/NIDAQ board (using any terminal configuration - Diff, RSE, NRSE - in NIDAQ case), sample time and other parameters. Acquired data can also be saved and plot for further applications |\n| Step Response (Arduino/NIDAQ) |                                                                                                                         In this feature one can perform an automatic step response experiment using a(n) Arduino/NIDAQ board. Data genereted by the experiment can also be saved to be used in further applications, such as obtaining linear and nonlinear models from acquired data |\n| Get Model (Arduino/NIDAQ)     | The user can obtain mathematical models experimentally using Arduino/NIDAQ boards, with various customization options available. The input signal is a PRBS, which can be customized to meet specific needs, and both the input and output signals obtained can be saved for future applications. PYDAQ uses [SysIdentPy](www.sysidentpy.org) as a backend for obtaining the models. |\n \n\n---\nUsing GUI (more details in [documentation](https://samirmartins.github.io/pydaq/) and [jupyter notebook examples](examples)):\n---\n\nAll functionalities for all boards are incorporated in one single window.\n\n### Launching the GUI:\n\n```python\nfrom pydaq.pydaq_global import PydaqGui\n\nPydaqGui()\n```\n\nFurther details can be found in [documentation](https://pydaq.org).\n\n---\nScrenshots (v0.0.5)\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs//img/pydaq_long.gif\" alt= “” class=“center” width=\"75%\" height=\"75%\"\u003e\n\u003c/p\u003e\n\n---\nContributing\n---\n\nYou are more than welcome to make your contribution and submit a pull request. To contribute, [read this guide](/CONTRIBUTING.md).\n\n\n---\nCITATION\n---\n[![DOI](https://joss.theoj.org/papers/10.21105/joss.05662/status.svg)](https://doi.org/10.21105/joss.05662)\n\nIf you are using PYDAQ on your project, you can cite us as following: \n\n- Martins, S. A. M. (2023). PYDAQ: Data Acquisition and Experimental Analysis with Python. Journal of Open Source Software, 8(92), 5662. https://doi.org/10.21105/joss.05662\n\n```bibtex\n@article{Martins_PYDAQ_Data_Acquisition_2023,\n  author = {Martins, Samir Angelo Milani},\n  doi = {10.21105/joss.05662},\n  journal = {Journal of Open Source Software},\n  month = dec,\n  number = {92},\n  pages = {5662},\n  title = {{PYDAQ: Data Acquisition and Experimental Analysis with Python}},\n  url = {https://joss.theoj.org/papers/10.21105/joss.05662},\n  volume = {8},\n  year = {2023}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamirmartins%2Fpydaq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamirmartins%2Fpydaq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamirmartins%2Fpydaq/lists"}