Introduction to the FreqDemod Package
This package provides functions for analyzing and plotting the time-dependent frequency and amplitude of a sinusoidally oscillating signal. Additional functions are provided for analyzing fluctuations in oscillator amplitude, phase, or frequency. The provided functions should work equally well for any oscillating signal, although the included data-fitting and -plotting functions have been written with an oscillating atomic force microscope cantilever in mind. The main frequency-demodulation algorithm’s only assumption is that the oscillating signal contains a single frequency component (the carrier, in FM-radio terminology).
Install
This package requires the following packages. If you use the Enthought Canopy Distribution, then you should install these packages first using Enthought’s package manager. If you do not install them first, then pip will install them for you
numpy 1.8.1
scipy 0.14.1
matplotlib 1.4.2
h5py 2.4.0
To install the package
pip install FreqDemod
To test that the installation worked, run
python -c "from freqdemod.demodulate import Signal"
Documentation and source code is available at
Documentation: http://FreqDemod.rtfd.org
Install the development version
To test the package, edit it, and compile the documentation, you will need
fabric 1.10.1
Sphinx 1.2.3
nose 1.3.4
ipython 2.3.1
To install the development version, first clone the package
git clone git@github.com:JohnMarohn/FreqDemod.git cd FreqDemod
To confirm that everything is working, in the FreqDemod directory run
nosetests
or
or nosetest -s -v
or
python setup.py test
If you make modifications to the code, and want to try test drive your modifications, then run
python setup.py develop
Your modified code should now load when you import FreqDemod in your code. To recreate the documentation, switch to the docs subdirectory, and run
fab html fab open
If successful, you should see the documentation appear in your webbrowser. The documentation is created in the directory FreqDemod/docs/_build/html.
There is an example ipython notebook in the FreqDemod/freqdemod/docs directory. Running the following command will convert the notebook to html and copy it to the documentation directory
fab html_full
Metadata
Release files for FreqDemod 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FreqDemod-0.2.1.tar.gz | 4.7 MB | Without provenance | Details for FreqDemod-0.2.1.tar.gz |
Release files / FreqDemod-0.2.1.tar.gz
| Download URL | FreqDemod-0.2.1.tar.gz |
|---|---|
| Size | 4.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e34ba017ce1eeb26f10e5ec7cbe081ae7f13726face402f62586db227e24681d
|
|
BLAKE2b-256 checksum How to use checksums |
fd8ad87fc89f28998d71fb731e447eb0ad69c0780cf4f73cfddd99eb2b7be26e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for FreqDemod 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.