Skip to main content

Simple GUI that acquires data from input devices, plot and export files.

Project description

# Wavy Tool

Wavy acquire signals from microphone input device, plot and saves as data (.csv) or exports as image (.png, .tif, etc). Wavy has two graphic areas, which represents the real time data from input (started when the software runs), and the recording area that starts when clicked on Record button. All saved data is relative to visible recording area.

![alt tag](https://cloud.githubusercontent.com/assets/5084939/7890891/5014ffee-061f-11e5-84c9-b3c77f91f123.png)

The recording area has three states: recording when the line is red, paused when the line is orange, and green when the recording was stopped. Wavy automatically suggests the name for your data when is saved as the new_wavy_data_yymmddHHMMSS.ext.

Please, if you use this software cite us: [![DOI](https://zenodo.org/badge/31438894.svg)](https://zenodo.org/badge/latestdoi/31438894)

You know [Zenodo](https://zenodo.org/)? A way to cite software using DOI!

## Download binaries

To be practical, now we can provide binaries for Windows and Linux. The binaries are not small (200MB) but have everything you need. You don’t need to install, just download and click to execute.

Please, see Releases page: https://github.com/dpizetta/wavy/releases

## First steps with Wavy

After download Wavy you can extract the executable. We suggest you create a folder Wavy to put the executable and the configuration file that will be created, creating a link (icon) to access it from Desktop area. To run it, just double click.

When you run it the first time, it will let you to choose the default folder to place future data files. We suggest that you create a new folder “Wavy Data” in Documents or Desktop area for easy access. This procedure will create a file that stays with the executable called “wavy.config”, to keep that information and future configurations.

The control of the program is very easy. The top plot show the real time data from input device. Then we can start recording by clicking the Record button.

Also, if you need, you can pause using the Pause button and start recording again by clicking on Pause once more.

And finally, you can stop recording by clicking on Stop button. Now, the buttons to save and export will be enabled.

By clicking on save button you can save data from recording area to CSV file. Also, you can export an image file using the exporter.

### Note about saving recorded data

If you zoom in the recording plot, the data saved will represent just the data visible in the window. So make sure you not lost data.

### Some other features on plots

The plots are provided by PyQtGraph, and if you right click on the plot you will see some nice features including other options to export data. Also you can zoom in and out using the mouse and move it.

### Input device not found

If the is no input device plugged in (or internal microphone) the program will show a message and exit at this moment, we need future improvement in this way.

## Problems and improvements

If you find any problems in this program, please let us know using the [Issues System](https://github.com/dpizetta/wavy/issues) provided by GitHub. This is the correct way to keep us alert and how provide information about the development for you. Thanks in advance.

## About

Wavy was developed to be a simple software to acquire data from microphone channel, plot and save data. The main use is to provide an acquisition software for Ruchardt’s method in Physics Laboratory at Sao Carlos Institute of Physics - University of Sao Paulo.

## Authors

## Acknowledgment

Professors

  • PhD Fernando Fernandes Paiva

  • PhD Valmor Roberto Mastelaro

Technicians

  • Antenor Fabbri Petrilli Filho

  • Cláudio Boense Bretas

  • Jae Antonio de Castro Filho

## Dependencies

  • Python 3.4+

  • PyQt5 or PySide2 or PyQt4 or PySide

  • pyqtgraph

  • numpy

  • PyAudio (also PortAudio)

Notes: The easiest way to install all those things is: * Install Python 2.7 (or Anaconda/Miniconda that comes with numpy and other better libraries) * Use pip install pyqtgraph (installs PyQt4 automatically) * Use pip install numpy * Use pip install pyaudio

For Windows users, PyAudio requires more things, the better way is to download the .exe installer from PyAudio website (that includes PortAudio) and install it. If you are using Anaconda or Miniconda, replace the ‘pip’ command for ‘conda’.

## Running the code

To run wavy without installing, use

$ python run.py

## Installing

To install it, do the following, inside main Wavy folder

$ pip install .

## Installing as developer

To install it as a developer, which means install it like a library but keeping it in the same place it is and providing the auto update if any changes are made.

$ pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wavytool-2.0.tar.gz (544.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wavytool-2.0-py3-none-any.whl (578.2 kB view details)

Uploaded Python 3

File details

Details for the file wavytool-2.0.tar.gz.

File metadata

  • Download URL: wavytool-2.0.tar.gz
  • Upload date:
  • Size: 544.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wavytool-2.0.tar.gz
Algorithm Hash digest
SHA256 2f4fcf8ae4204bdb753c13b539c00ce3ba7aa6e0126f312695d8d91ecccf1057
MD5 1456d57f97e57555d3e680a839009536
BLAKE2b-256 74f0be70449aacfe438843faca316eaf6740c1b7d06130c0051cb6a66cf82af0

See more details on using hashes here.

File details

Details for the file wavytool-2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wavytool-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8d11fabc887b41baa88c9642e6ffec45bfeeb23edc351f96038ea9a38d2dcf7
MD5 541b50fd93377398e08f42be52f688fc
BLAKE2b-256 3677bfd8ae61c2adc81a65e159e576d220ba9ecd32fa479ca90559e7c511b16e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page