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.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-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (282.5 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (288.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (288.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (288.4 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (289.0 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

longitudinal_tomography-3.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (289.0 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

Details for the file longitudinal_tomography-3.4.tar.gz.

File metadata

  • Download URL: longitudinal_tomography-3.4.tar.gz
  • Upload date:
  • Size: 80.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for longitudinal_tomography-3.4.tar.gz
Algorithm Hash digest
SHA256 2d08ba8112f0fe537c89e019e19c9a5163f46901733223449c5d80b7db75ffb5
MD5 600ba7da6631e01f3812cb7cf2c4df52
BLAKE2b-256 ac4ccb3045cb3f0f4b28af9cc6d1823278b07bfee9bab9207830fdd5200cfce4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 869163bf6e8f1fe70be816e7b7243205ceaa5d835293bf1a3195bbde194bc5ac
MD5 1f9e60ca7fb08e39a072aa4141d6a088
BLAKE2b-256 ca3ad57632534a4f50c83b866cb9cecbcacb4ba5882562a79ea59fd2cef93640

See more details on using hashes here.

File details

Details for the file longitudinal_tomography-3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for longitudinal_tomography-3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c0f90d9808cece19afa81df3afd18af38df9b6dc33a45064c295c0d46c24866
MD5 5ced37e337a34d89208e2c4d782fc4c0
BLAKE2b-256 fa9202971d820c9d0c9cbe8c9760f5b4b98759d4772efe2dc1969d5483f44d50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b8a66b59c680c9c24645e13d641ad32f2b180d4aebe3de2ddd7ad9bb6adc42fd
MD5 74563f82e1cfdaf99c87110e2ab31f44
BLAKE2b-256 8d5d7c72a9e29d3145cf7d074c71047d169530ce71bc26b3e915e992b205e01b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 541756457bfa49a30e19692aff071b7dfc2b851f12dae1bd88851b36c259bf78
MD5 222b0d81d892d9fb1bc901b3b81306a6
BLAKE2b-256 831923c2db77a3b05abbbdb71ad0a482bc8b9c367d1589c13874f0279bf05686

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c78608af015c5c367e1e554c669580067b8fd4f4dfcb6cb71a38adef58db4b24
MD5 662a408561fe08668007b1b144df118a
BLAKE2b-256 d2c88d11f8d9a3e8cac427857bb007d83382fb2b64816f54e5dd0d4736e9aab8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ea547cd7f3be3812a88c329233e115369a8c04b70fe74da3d8408d6a71e7fc37
MD5 64f1a10f0193389e60d4f241d092e86f
BLAKE2b-256 31054f9f8520c94307ce86e3e3a8c2c531ec9292cd31f8d28c88d7ce853996ac

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