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.dev5.tar.gz (65.5 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.dev5.tar.gz.

File metadata

  • Download URL: longitudinal-tomography-3.4.dev5.tar.gz
  • Upload date:
  • Size: 65.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 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.dev5.tar.gz
Algorithm Hash digest
SHA256 5c6064baecae47fd4d4cc8c30b446e85499b7c0a958279cf825556d07da5e051
MD5 2795a129329a55a611816894e1bc7ac9
BLAKE2b-256 7c67f66e571032412cf6926cd5c9c5b98be9b05fd2e6c2e03ace7f5b94dc316c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev5-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a1e8b9e233975578bf1c5f13b9a08ec354ca435173098df604fd5a0e47a782c
MD5 31f4a2dcfcaa04d7e826e9e7519f7a00
BLAKE2b-256 80f375d16811c343902ce549c945134cdc1d722f9874e1d7cccdf9281ca4d3a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e1d13ef851b1e58bee894a5303f2f6dd8b1adc5b670da7e04157f91a690c6e5c
MD5 5ae9f3d05272753af429f695898d3767
BLAKE2b-256 335bdeba2dae6017eac3fea71711ac5f55b2f35908c5ad4372c3efbbdacf3dfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev5-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8245080d95caf3152ce65d20f47888324261a025211edaa7e240deb7a9c92b67
MD5 a62822040af83399a1a34abcf9467294
BLAKE2b-256 cc1981f326f8020fe350b3de6bd598b611344d0d59d8985d337d744536140174

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev5-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ec72903aa5f06184e34ac8e5cdb12e3b6bea364f26a7cde793ca3fe3b82e6bcf
MD5 a9ad342726203c1ee892b2875e21bad4
BLAKE2b-256 5a8f557bb1f5803a7f249757cc06daee8c273d803994296e32e654e870bb2b58

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