Skip to main content

A Python wrapper for MULTEM

Project description

python-multem

Python wrapper for MULTEM

Language grade: Python Total alerts Building Publishing DOI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-multem-0.2.9.tar.gz (89.3 MB view details)

Uploaded Source

File details

Details for the file python-multem-0.2.9.tar.gz.

File metadata

  • Download URL: python-multem-0.2.9.tar.gz
  • Upload date:
  • Size: 89.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for python-multem-0.2.9.tar.gz
Algorithm Hash digest
SHA256 5191d82bb79a8a0698a31bd7068d89037b3074aaac531b81acea95381039818e
MD5 8836568f8eada4d673c274a2f8b63efd
BLAKE2b-256 aa24c88ce26618dfbdf9c7c25416c13fd6cf5673d2b3578ce19fd287f6fd5337

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page