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

File metadata

  • Download URL: longitudinal-tomography-3.4.dev6.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.dev6.tar.gz
Algorithm Hash digest
SHA256 d5d03624befb4254ea27565e9adcc3b845fe119b3ae213aa02f0f91e4ba34176
MD5 e0818a04cbf6c6956252c78e6ff2ca04
BLAKE2b-256 f054bdb086430d45818704f5030783d7017999e566e3982774e4f7477ae57a28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev6-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6e6b2509679fb81fb7c0c42b3762e022cd38f612dfda8f144f544f289a5ddbba
MD5 05431a7435d6238685762856fd01c652
BLAKE2b-256 2e143b58627de9fdb4cba75f19a3465153bf455ded7b9ff1c72e90170c4d73e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev6-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df7bf1bda3403bf2efd3c0f85d3e715b56db8f6c2d3fae4ec5a8f56a6c407495
MD5 a7c78101130bbb4278ee3088401a386c
BLAKE2b-256 c49704ebf30438d1a2f66d29e77a7e7f93831f9843c61d1dedcff08ae9b820ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev6-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30af4d91a5d4f0dbc1e7fabeadbbdb82de9f5435d04a78e1da15ece1c7779e90
MD5 b696108af31fdd2a82173bdde93cf5d7
BLAKE2b-256 bc5f279135827c277da5b02097bb7700b52c6e99488500924c6de19088bf2541

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev6-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d45a0331eb115f13d645eacb86f810c53f3faf2f1f16de3eebfb209c9c6327e8
MD5 2a9133ed0b6c8685508af13acf052528
BLAKE2b-256 3f10242bff54807939162f172798e2a2cabca0ea0cc02915255b4c1443f1baa1

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