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.1.dev1.tar.gz (80.2 kB view details)

Uploaded Source

Built Distributions

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

longitudinal_tomography-3.4.1.dev1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (294.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4.1.dev1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (295.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4.1.dev1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (294.4 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4.1.dev1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (296.5 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4.1.dev1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (296.4 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

Details for the file longitudinal_tomography-3.4.1.dev1.tar.gz.

File metadata

  • Download URL: longitudinal_tomography-3.4.1.dev1.tar.gz
  • Upload date:
  • Size: 80.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for longitudinal_tomography-3.4.1.dev1.tar.gz
Algorithm Hash digest
SHA256 83ae5fe566b739a249c8ddd8e701d95bfd9e088419a74899a55fc4860ef14c67
MD5 01f460237a2ff15927a6995c37a76120
BLAKE2b-256 6e5b2a29b9c6c58f373226f424f814208bd92ad1b368da997203f2a8c97b9c39

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.1.dev1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 71e9fa7b30c16e88ce749c76bd2bab4add9603879f7a82e57c30edfdea702b41
MD5 4dbc406fab5d319d1a38f0b10fb70a71
BLAKE2b-256 0cfcca90190540de694e24cd0aa8bc9199fa7b97cdc737ea9e426d7dadb0ef91

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.1.dev1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aeb1e3c095593fa6529108fce36dbf1a6ed760dfe6321aedf41c4ae71fca3eb3
MD5 d20f557324e3c8c43be222ff7e47ec79
BLAKE2b-256 b473a0283be7b24d85a30bb24b41ab910e376a072b5677b8be3f39ac6c967031

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.1.dev1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b51a947ad8011a9fda67f1994a5082168fd7f934db33d61b3d589341051d4e1a
MD5 af9b02c7f30f2e0d5f9482886a48ba73
BLAKE2b-256 051e237d25fcda2574c043f42c3a9cd826bec3b0528c00157a59488bb804ddab

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.1.dev1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14e1e0ab30fb2032d3802de25c8f1084b285eb8473abb49f50142a57a12e39eb
MD5 5a5865866bd1f95b3194636cd38a4e87
BLAKE2b-256 215734e18b84474dd1fd9059df7a5ba7e75d9a75ddfd9ac1918a98e1bf79c7b2

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.1.dev1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4f07441ee5d413eafb52dd0257b86415aa8f7f982139ca897132d73bd32f3eea
MD5 7ddca0f9da368f7e27645c0c659c0f34
BLAKE2b-256 f0223e212ba1639ff3ba6581a2673060ef9823bd3c7f9b598f57defe1ab2c6ec

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.1.dev1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 22dbc1edf0bc681a51496a979de14d5a1bfb018809e21511bd46550ec2071cfe
MD5 c16a4eac3e04f0e0d36fc224562f2528
BLAKE2b-256 db4f6fb2f6faac7b93a3fb6da37129110fd97a6c45dc4eeaa87d90b663e69a82

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4.1.dev1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 043c2bcfdd07d9ed14ad8a4c7846f371de065d0a724cb1ab44a39fbd4110607b
MD5 dd54ae7cfcefb01a5cd9e7c6408f68ed
BLAKE2b-256 7e0ec9a0caf6e83235f717547ce2192a1f37b9a3229403b584f8a39d17462c88

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