A Python wrapper for MULTEM
Project description
python-multem
Python wrapper for MULTEM
Installation
To install from the github repository do the following
export CUDACXX=${PATH_TO_CUDA}/bin/nvcc
python -m pip install git+https://github.com/rosalindfranklininstitute/python-multem.git@master
To install from source, clone this repository. The repository has a submodule for pybind11 so after cloning the repository run
git submodule update --init --recursive
Then do the following:
export CUDACXX=${PATH_TO_CUDA}/bin/nvcc
python -m pip install .
If you would like to run the tests then, clone this repository and then do the following:
export CUDACXX=${PATH_TO_CUDA}/bin/nvcc
python -m pip install .[test]
Installation for developers
To install for development, clone this repository and then do the following:
export CUDACXX=${PATH_TO_CUDA}/bin/nvcc
python -m pip install -e .
Testing
To run the tests, follow the installation instructions and execute the following:
pytest
Issues
Please use the GitHub issue tracker to submit bugs or request features.
License
Copyright Diamond Light Source, 2019.
Distributed under the terms of the GPLv3 license, python-multem is free and open source software.
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
File details
Details for the file python-multem-0.3.2.tar.gz
.
File metadata
- Download URL: python-multem-0.3.2.tar.gz
- Upload date:
- Size: 89.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efc05a3fded7e2e403a4a3af00a0c60cbe83e04e82ddaa3ee1e464439e5a8f6d |
|
MD5 | ad3673e79e4452d15b85a5f2b46fd51e |
|
BLAKE2b-256 | 5dc993aac9ec95b286af93d2744ebbd511a0711505b92df5afdba9f27b7d2470 |