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.dev3.tar.gz (66.8 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.dev3.tar.gz.

File metadata

  • Download URL: longitudinal-tomography-3.4.dev3.tar.gz
  • Upload date:
  • Size: 66.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for longitudinal-tomography-3.4.dev3.tar.gz
Algorithm Hash digest
SHA256 b1c8ff1c65d7d8bb3fb30c1f97b1a4f83dd66e24cb863ab218f909d236da6b4a
MD5 24c6a4129042d0c66d51b2fc7b1aee04
BLAKE2b-256 5433fd1ee97d2ec12039a570c7f0aff5394fdf3dee9df58f973caed4998ccd55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 685fb89c5ef1f6c4d0e6d991f4ffd6a023069fb789592d2c8c31cc1d6a817849
MD5 53fbe6f7f399ca5b7f80ec3025f67b85
BLAKE2b-256 949ac8a6258f0deadd9fc443f12b6cd78d2dd6037197709b902eb96bcd601f09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7a56a96b4a3df130328cb7c66dc488e4934b62c544a2e9f589962c20264b33c
MD5 afbe4563f46cbde8719565ecbbae2550
BLAKE2b-256 60068c27b66024fb2347824e3592fae330e720a6ce99ad9df9d34349759f996f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8fa85c425638361ad648093a2568ecf9c47e894ea8889afef21367dcf4d4ced9
MD5 221ec761fb0c7fbc4cdb25e065b5bab4
BLAKE2b-256 0ca7f89f68805d432807fbf80787dbc7549d446ccff9c0a37af25248b243feb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for longitudinal_tomography-3.4.dev3-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4236ff8c840e14073c84c06a55421c906db2033d6391f154559e506540e64ce8
MD5 2e0c20a2bb29352f1a54561d0fbb4746
BLAKE2b-256 e87fe997e5081df0834b56734091c1d4f50dcf318659eeec67405425bbc38e1b

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