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.dev8.tar.gz (79.1 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.dev8.tar.gz.

File metadata

  • Download URL: longitudinal-tomography-3.4.dev8.tar.gz
  • Upload date:
  • Size: 79.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for longitudinal-tomography-3.4.dev8.tar.gz
Algorithm Hash digest
SHA256 f818bab2edbc29be4c97442b29ba151fd6f2c62c654045d643820603684f5cc9
MD5 d90c4fc49809c3e4cc5f17151fccb964
BLAKE2b-256 cea0233a57d9492ef342d4b4a22ce169979250c4bc62aa511d9813f131c4361d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev8-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbb769de84f4d06aa6030205213e2d52c314a6fcd5ad8f1df8458f178a00cda1
MD5 9638216c228c2606c7f7f8f74dacd34c
BLAKE2b-256 7c54657f423259bb670401ae42c8c2aed7daaff473ec6425bdca4323825efa63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev8-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95bd77c59140ccb05e9d537de3cc35f52b7fb9990e7874d8b648e1aa6ba15e7e
MD5 3b7abd926ccc3dc1094711b0133db8d4
BLAKE2b-256 82ea2a50ae84bc95ae7df2b431761916ea16033aeac76165a5394338c727cf73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev8-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 169d4e6e7be6dc2f3014001552f6d062f97b0d34303f10c1abe4b70c409e1dd3
MD5 16033d259d961faa12c9ca935488bae6
BLAKE2b-256 51bf2ee075390a277b6767bd06aaf83c9ad4d5d5aed4708275d1844bcb7f7bf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev8-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 652317265995ec1e2f5effc3bd15102cc02f35d9534ffddcd7ddbf60675d39f9
MD5 313b3ed84b3c2247f95d5e665435d5f0
BLAKE2b-256 e62beba5d566f363d52fc4d098d10a6844b63ed855dac95d34ec0c5e08817d2e

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