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.7.tar.gz (14.1 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.7-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file ps_signal-0.1.7.tar.gz.

File metadata

  • Download URL: ps_signal-0.1.7.tar.gz
  • Upload date:
  • Size: 14.1 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.7.tar.gz
Algorithm Hash digest
SHA256 232524e9cccb291e048624443f280745bc39dbbe54db17d07bf97d849731100b
MD5 f222af1f3408ea4b8cb5c4a6014c0be0
BLAKE2b-256 e4dcaa11e591ad4f3ad77680ce734ae6a78e24d12a2faf5ba85d0c0404f48c95

See more details on using hashes here.

File details

Details for the file ps_signal-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: ps_signal-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 18.4 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 913bc41a4a3384be97e105f05867ca0e538b9569575de2c2eb5f3a322df9764b
MD5 b50606155b991f099c6fec8f064935b7
BLAKE2b-256 57f69e1bc55dc42c1c33a21056080a800ef063086b243a60dba96dca40f97073

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