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.dev0.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.dev0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (292.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4.1.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (293.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4.1.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (292.4 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4.1.dev0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (294.5 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4.1.dev0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (294.5 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

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

File metadata

  • Download URL: longitudinal_tomography-3.4.1.dev0.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.9.7

File hashes

Hashes for longitudinal_tomography-3.4.1.dev0.tar.gz
Algorithm Hash digest
SHA256 0ea84af787d1e6b0e1cbbd121de3974fa325ab00b437b75c7145c18f329ac4db
MD5 7e0d83d6a56162cbf2f3f06ac32e3277
BLAKE2b-256 c410ddd37ce98b72b42a03b86f836dace8ab0c5aaf03ec93eaa13173ee0330d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3a47d0b0120e27ecee02d1d58379478b34d76a3dfc763672b35358dfdc575f67
MD5 7c89c41103990399da9d417824449efd
BLAKE2b-256 739fd187ce9c6dfc164f8edbea07348180c40518530cfa4b09efc3268b008234

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 23c04668aeca9648b4341dc925ea9e3f2255a415d39eed894e1da2bc47e648ee
MD5 45deba38237683dbac9d2a68fd0de362
BLAKE2b-256 649961f33fe7bc76dbfdde942de4de1449e520921a11e98f7fbc4c57a62de670

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 abbfb77de3fea854b04122442a8e1f5feef4fb010d24a5571eb54f076a2836f0
MD5 6aac41fe692acd3fcd6ca89a21d655b8
BLAKE2b-256 b615d325e76675d4bc4e876bc5fdc08a44e8ea776e39a7a80e78e99ccb5dafd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 474074fbbc9a876f9153769118a59024451a2ca88793be72761600a6906a6331
MD5 8423d045b73a051291890ae1a138a01d
BLAKE2b-256 8ff656aab532a38a2d20155fc43cb7b647d49d8971da6420c17402d73fb992d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a7baf93566bc8eeadb82f00bfd9eba8dc5fb3ec8f715f0000bfd1b2477cf02c
MD5 955810ecd15c92e569c04bf5ca35cee7
BLAKE2b-256 72a32c5e631a2dd4405500ec6ce4c64db80a8f91dee06ffb40e93287f1724698

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.1.dev0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd08b4e0dd5d20c9c4cc6f18f382ec769cbac7b70ff5b4a875c08999d324c055
MD5 624022879e441210ef823eaaaef5a2d3
BLAKE2b-256 18f0d788afb11bfa939b8884f16d6f966d7dee39a6f84fcacabc49d5144277bf

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