Library providing Python implementations of MODA's algorithms.
Project description
PyMODAlib
PyMODAlib is a Python library containing the algorithms used by PyMODA. With PyMODAlib, you can write Python scripts to perform the same calculations as PyMODA.
Some of PyMODAlib's algorithms are MATLAB-packaged libraries, while some are Python translations of algorithms belonging to MODA.
Installing PyMODAlib
PyMODAlib can be installed using pip
. Open a terminal and run:
pip install pymodalib
Tip: on macOS/Linux, replace
pip
with the correct command for your system (e.g.pip3
).
Updating PyMODAlib
PyMODAlib is likely to be updated regularly. To update your installed version, open a terminal and run:
pip install -U pymodalib
Current status
PyMODAlib
is still early in development. Currently, the features implemented are:
- Detecting harmonics.
Examples
There are examples of using PyMODAlib's functionality in the examples
directory.
License
You may use, distribute and modify this software under the terms of the GNU General Public License v3.0. See LICENSE.
Developer notes
Developing PyMODAlib
When developing PyMODAlib, you can test your changes by installing the library locally in "editable" mode. From the root of the repository, run:
pip install -e .
Tip: After making changes to PyMODAlib, you don't need to run the
pip install
command again.
Switching back to the release version of PyMODAlib is simple:
pip uninstall pymodalib -y
pip install pymodalib
Packaging the project
From the documentation:
rm -r dist/
python setup.py sdist
python setup.py bdist_wheel
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for PyMODAlib-0.1.6b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa6e11b3818cb10a043527eb894b5b475280bc959301a2b62eb61d3ea886f527 |
|
MD5 | 72e833c1c1a7cfae0e2532666639fbca |
|
BLAKE2b-256 | f15dc5fbf2f36c684553dcfc1b62db1be0c6012060e7128c263304e5e9608cae |