Geometry package for high energy physics (Geant4, Fluka)
Project description
pyg4ometry Copyright (c) Royal Holloway, University of London 2015 - 2022
General Information
Stewart Boogert stewart.boogert@rhul.ac.uk (main contact)
Andrey Abramov andrey.abramov.2012@live.rhul.ac.uk
Laurie Nevay laurie.nevay@rhul.ac.uk
Will Shields william.shields.2010@live.rhul.ac.uk
Stuart Walker Stuart.Walker.2011@live.rhul.ac.uk
Installation Guide
- Required libraries VTK, CGAL, pybind11, opencascade
- Optional libraries ROOT, USD
- Install from pypi (pip install pyg4ometry)
- Install from source (git clone https://stewartboogert@bitbucket.org/jairhul/pyg4ometry.git; cd pyg4ometry; make install or make develop)
- Mac ports deps (cgal5, opencascade, boost, cmake, python3X)
- Mac brew deps (cgal, opencascade, cmake, python3X)
- Ubuntu deps (cgal, opencascade (V7_5_1) from source and patched, cmake, python3X)
Installation Guide Container
Build the docker container
- cd pyg4ometry/docker/
- docker build --build-arg PYG4OMETRY_VER=0 -t centos-pyg4ometry -f Dockerfile-centos-pyg4ometry .
If the pyg4ometry git
repository has changed change the value of PYG4OMETRY_VER variable
as this will for a clone and install
Run an image (here is my script for Mac and Docker Desktop)
- export ip=
(ifconfig en0 | grep inet | awk '$1 == "inet" {print $2}')
- xhost +$ip
- docker run -ti -v /tmp/.X11-unix:/tmp/.X11-unix -v /Users/sboogert/Physics:/tmp/Physics -e DISPLAY=$ip:0 centos-bdsim
Documentation
Main online manual can be found at http://www.pp.rhul.ac.uk/bdsim/pyg4ometry/
To build manual within this repository:
- cd pyg4ometry/docs/
- make html
- open build/html/index.html
Issues, bugs and feature requests
- For bug reports please use the bitbucket issue trackers
https://bitbucket.org/jairhul/pyg4ometry/issues
Citation and Academic Credit
- It pyg4ometry has been useful for your work, please in the first instance cite Computer Physics Communications Volume 272, March 2022, 108228
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for pyg4ometry-1.0.4-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13776a48402b1f576c2ec23b2eb9fd6468e1ffc9ce03998666bcbd1073a34c1b |
|
MD5 | 564362ad530c5fc79e7056f3590a9140 |
|
BLAKE2b-256 | 4a77e4004b5fd64bee2bac23ed0709d1144139d68d0e4db97b6df76f4ee8adbb |
Hashes for pyg4ometry-1.0.4-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8c5eb59082d63117f24ef6c4540b91a1c3fe1fa81014dc4591068253c017622 |
|
MD5 | 3aac423ad615826f538045672082c2f6 |
|
BLAKE2b-256 | cda3a07bf0d22fb796a9a24c399c4b6fd4ea6063d0274efd068ce536fa8ba851 |
Hashes for pyg4ometry-1.0.4-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9edf220d061317ee1a94256f1e9e657de16ce7a2026fb51182e973edd7250930 |
|
MD5 | d490e20918b2beba57005650cfd0db18 |
|
BLAKE2b-256 | be529a2634cb708e9a384846f0b4c494195a1b552271b3bb3cd01f614da0e600 |
Hashes for pyg4ometry-1.0.4-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da2e52176336125edfab7506357e10211fd5d68db8bcf0cd61e574af3810fa7d |
|
MD5 | 184059aadd33b57814f89d8c806284d1 |
|
BLAKE2b-256 | 2f1047582a722c709e7f375ef7ba972678282847a287aef59411eeb146b7d07a |
Hashes for pyg4ometry-1.0.4-cp39-cp39-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 252d0fc5875b45864d87f35983ca70dfa8d75daffc246b6a4f8a889f9b7170c4 |
|
MD5 | 9b5d982769a6f0043a0a5421cc0f729a |
|
BLAKE2b-256 | 26fcfcace8feb9d35d9e9e64c8198a49cbe1af04434f50806d92b9d4becd3681 |
Hashes for pyg4ometry-1.0.4-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3083efe9e457590c1bcfe7fa59d1ad67295e57366f96a70301995899bd77b03 |
|
MD5 | 631bc4c09d676b3e3773f32e43bc95b7 |
|
BLAKE2b-256 | 73769fb5e09982dd731e175e8042b6747a8f7a3b1f679519a0415b7e553c7c2d |
Hashes for pyg4ometry-1.0.4-cp38-cp38-manylinux_2_31_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c65d396b44b781f4a8534602fc200efe217a95fe24abc71d4cdcd26651fd18f5 |
|
MD5 | 298c90d06a0bca29a84c3d7a11b34c06 |
|
BLAKE2b-256 | e5f96f81972ac1edf5b843374acd13d117caeb8c88113b9f1f1414332088fe05 |
Hashes for pyg4ometry-1.0.4-cp37-cp37m-manylinux_2_31_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2336dfab1771a292920df5a7be8f911d5fd0b0c7d507e7ca6cf3703285d8f4f8 |
|
MD5 | e6de357ef06bfe4889467b0d08317197 |
|
BLAKE2b-256 | c5f9ee11ffa73a21297369d8f6561eb3bc02edb04b6b7d14e91ae3775b7a7685 |