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.dev7.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.dev7.tar.gz.

File metadata

  • Download URL: longitudinal-tomography-3.4.dev7.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.3

File hashes

Hashes for longitudinal-tomography-3.4.dev7.tar.gz
Algorithm Hash digest
SHA256 94dca8821a68215709a2d20ded03bdf23b1c46fbf929f65c9059869534fb6320
MD5 898b89b0d7ab680258452eb79d0c0137
BLAKE2b-256 d5db0179f0797a7f9a3bfb46807d2d6d410578215f514eb94864452ca7cf5cd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev7-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 40a743dd933749adb898e3408356e4caf1bccfb32dcdb2330729a03ef5ea0dd8
MD5 7f3528b120015ec5c1f6ce1d5be7934a
BLAKE2b-256 8e243e602e6b636919bd179489dd0f75b4bc01860a41a15684bcb31bba8e1d35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev7-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 acec57c38b85436d5d02f4f04a924505b926398b27eca0ed7133ba7329262c47
MD5 f9aad03bb710cbd02ac764caa009dbfb
BLAKE2b-256 c4289e8de5a51b55f50e4dea9656fc25ce98ea618ca49751ff0f2130f557e331

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev7-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7bfef2c45cb11f2b75631440b4ed523a8b44214bc2eb13ab2b4d8dfe3c9d3341
MD5 09428327afb120871ac66ae30c085ef8
BLAKE2b-256 a3ce71397287fc4fe5e5d922fc099fdcc35df734032f0b93d559fca77213b585

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev7-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a72dc9bef87c2901be9f89f5bf43ec4bc418c1d829485034ffa5691e803b0ead
MD5 ac5b7e9b66f5cdf4e202800d13d40053
BLAKE2b-256 2f1c459de49fc8c2c2f4e9c6397e5178b4d5e0282596f699472934981cc82fe3

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