Skip to main content

A python library for longitudinal particle beam tomography

Project description

https://gitlab.cern.ch/longitudinaltomography/tomographyv3/badges/master/pipeline.svg https://gitlab.cern.ch/longitudinaltomography/tomographyv3/badges/master/coverage.svg

Copyright 2020 CERN. This software is distributed under the terms of the GNU General Public Licence version 3 (GPL Version 3), copied verbatim in the file LICENCE.txt. In applying this licence, CERN does not waive the privileges and immunities granted to it by virtue of its status as an Intergovernmental Organization or submit itself to any jurisdiction.

INSTALLATION

The computationally intensive or time-critical parts of the library is written in C++ and python bindings are provided using pybind11. The installation and usage of the library is the same for all operating systems, but different dependencies are needed for different operating systems.

Prerequisites

Linux

You need a C++ compiler like g++ installed. This is not required if installing a prebuilt package from acc-py or pypi.

Windows

On Windows computers MSVC >= 14.0 with the Windows 10 SDK is required.

In MinGW and WSL environments the standard g++ compiler works out of the box.

MacOS

No offical tests have been done on MacOS, but presumably g++, clang/llvm should work.

Install

The Longitudinal Tomography package is available in prebuilt wheels for Python 3.6-3.9 on CERN Acc-Py and pypy.org as longitudinal-tomography. The package can thus easily be installed on a Linux machine using

pip install longitudinal-tomography

The package can be installed on a MacOS or Windows machine in the same manner, but the C++ extension will be built on install.

Other ways to install

Clone the repository and run

pip install .

The C++ extension will be built on install.

For development environments where it’s preferable to compile the C++ extension inplace, it’s possible to run the command

python setup.py build_ext --inplace

which will compile the C++ extension using the available compiler (decided by setuptools).

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

longitudinal-tomography-3.4.dev4.tar.gz (67.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file longitudinal-tomography-3.4.dev4.tar.gz.

File metadata

  • Download URL: longitudinal-tomography-3.4.dev4.tar.gz
  • Upload date:
  • Size: 67.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for longitudinal-tomography-3.4.dev4.tar.gz
Algorithm Hash digest
SHA256 e7252cd66737915601690cbe740c33a2115a31f8723a00350a1c591d9dd3cf2f
MD5 b31666d1a2657bf8ec8cfb13605632c6
BLAKE2b-256 a52672e161a90634ece1a27a537b314c17517dc24f0e62a506c213ba57a04257

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.dev4-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev4-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5ddac6a304ca94f4d87b265809e7ff5beb79c960d411a2bf8289baa72678b697
MD5 a503a098be595b39dfa3f07c5814a392
BLAKE2b-256 ff8151cbc07459e35af27adda8cbc93a0f11e95c3a3cda39ad9a863781599e71

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.dev4-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a72c0ee0f02ea668adec14a91e204f6d4eec8786c7f183d73e0901212de2b2d9
MD5 7c696de76850147cac21ae7fa41b820f
BLAKE2b-256 72796a5c6e47371063611ce090d3a843deab1f1713a4d983c908ec0f28efc2c6

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.dev4-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 363f19082356e114e64ea3131bb3d2e9366a0948b13cb0b269e3b9c0ca948f06
MD5 e1618fb2f355522c3fd6a2eb21a5844a
BLAKE2b-256 ad7212447968327d78a8b78f664023b13f80e7c3cc30d186660848f6c771753c

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.dev4-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev4-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6a02999c3fdade9ac426de84813440b691689f9b88809be3de8bf57264fc29e0
MD5 0fbcfe5ee7332c4eb1a46b04d6aa5a50
BLAKE2b-256 1ddb3f091bcd0ab6106cc2ef9d2329a53cc388bf9314aac59b418a12a22e7500

See more details on using hashes here.

Supported by

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