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.3.tar.gz
.
File metadata
- Download URL: python-multem-0.3.3.tar.gz
- Upload date:
- Size: 89.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b411d16b59c79853f9c7e45a93645821c5f51a2139e29b3cfd770fb433b05439 |
|
MD5 | e8a1bdab754ef521b1ba181472094c13 |
|
BLAKE2b-256 | bab2d608e1d5138d059bee8a4a9cc7f8fdd6c847ee3ad0d0f85f6195e8a81995 |