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.3.5.tar.gz (89.5 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: python-multem-0.3.5.tar.gz
  • Upload date:
  • Size: 89.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for python-multem-0.3.5.tar.gz
Algorithm Hash digest
SHA256 f1eea6103e2757f10869c32af90706f3f87a164f1baca5a18f7b87d12a9d41b2
MD5 0277863b0929ce5eea61af0399c4e82e
BLAKE2b-256 6d5eda6b82a701110a1de286527e10267ce69c439ecd1edc109b13f5b80fb759

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