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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ps_signal-0.1.8.tar.gz
  • Upload date:
  • Size: 14.2 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.8.tar.gz
Algorithm Hash digest
SHA256 4691582d84438ce023994c07f9ce44121da90b46f94869cf7e68f628539c9eb5
MD5 6cdcdd567f000b8c3e78050c59abbaec
BLAKE2b-256 f746bcd01f4bbb910cbbb5d93ce77c4bd78e23282978dfe05ff125a9dec570d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ps_signal-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7abf3baf5eeaa9629d0398303f94571b277b1eb3cc47230775e6647605a7b6b3
MD5 da3132aa351743f43749cf8f09914c73
BLAKE2b-256 7d53d1cc983396f344f669afd435d950086982930ac58e0765f665cd58d768c1

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