Skip to main content

Module for parsing and analysing data from a picoscope.

Project description

Picoscope Signal Analyzer

Module used to import .csv files made form a pico scope and analyse the data.

How to install

Clone repository

$ git clone git@github.com:golgor/ps_signal.git

Navigate to the cloned repo

$ cd ps_signal

Install using pip

$ pip install .

How to use

This is a script using a Command Line Interface (CLI). Either you can run it by:

$ python -m ps_signal

or

$ ps_signal

Mandatory arguments

  • file - The path to a file containing data that have been exported to a .csv from the software Picoscope. The file have to be in the following format:
Time;Channel A
(ms);(mV)

-200,00015929;-0,21362960
-200,00004729;-0,73854790

Arguments

  • -h, --help - Showing a help message with all the available arguments.
  • -i lower upper - Set an interval in the x-axis (time). This can be used to isolate parts of a signal that is of interest.
  • -fff - Used to invoke running a FFT on the given signal.
  • -lp cutoff - Applying a low pass filter on the signal. Can be used to remove high frequency disturbances.
  • -hp cutoff - Applying a high pass filter on the singal. Can be used to remove low frequency disturbances.
  • -bs lower upper - Applying a band stop filter on the signal. Can be used to remove disturbances that is defined by a band in the frequency spectrum.
  • -o - Can be used to set an alternative output folder.
  • --version - Prints the current version of the package.

Data files

This module will work with .csv files as exported from PicoScope 6.14.x.

Other

Requirements

Using pipreqs to generate requirements.txt

Docstrings

Docstrings are following sphinx format according to: https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html

Installation?

https://github.com/pyinstaller/pyinstaller

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

ps_signal-0.1.6b8.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

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

ps_signal-0.1.6b8-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file ps_signal-0.1.6b8.tar.gz.

File metadata

  • Download URL: ps_signal-0.1.6b8.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for ps_signal-0.1.6b8.tar.gz
Algorithm Hash digest
SHA256 29f6b90d9439b566e541fb431b8d4d6599ccd042d45cfce59e69fd017a59516b
MD5 3b24e860cd32613e4a9317c1bc9338f6
BLAKE2b-256 cd46832acae204798220ed5be3edece4b68dc361eb1049fef4f25de4361295c6

See more details on using hashes here.

File details

Details for the file ps_signal-0.1.6b8-py3-none-any.whl.

File metadata

  • Download URL: ps_signal-0.1.6b8-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for ps_signal-0.1.6b8-py3-none-any.whl
Algorithm Hash digest
SHA256 68623a711203f652664cda29137790f0eae34342b25b7a368aec140da9738096
MD5 090b720d09f2ecbbf472fe2d0203f7f0
BLAKE2b-256 82d8c60785c94c345c08932408b026bc216d4fff3e2850174a5482f1c12bd982

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