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 Distribution
Built Distributions
Hashes for pyg4ometry-1.0.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea6a615d87bf34fb6e16f95e3c6f6dc7b2ed90828f48f8fccb75f057fa002a58 |
|
MD5 | f6c45d202444ad88377c29dc21c056df |
|
BLAKE2b-256 | ebd0e72efa1919ffb633c9fa359e113004f95bec1210c9dcfe56254bd440ebcc |
Hashes for pyg4ometry-1.0.5-cp311-cp311-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b079adfdff797f33301375589899a948df45fe6a4c93d9214756e560488eb5 |
|
MD5 | f626ca33fae3071378d741598cbf3899 |
|
BLAKE2b-256 | 009e4213f56ae1778e279a3f25c0fa2751b592fdbcf5ae08478e3deb77ea5a14 |
Hashes for pyg4ometry-1.0.5-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57668f6c1b3a98b020fcc6934986baae61a8ff5be13f5e81527b1c89d3aeef9d |
|
MD5 | fd92f115f6b83178e48c1c8982a2f169 |
|
BLAKE2b-256 | bdcc8f0062623752f5806f7385563406e9271252fcc09ef72ff012dc22942069 |
Hashes for pyg4ometry-1.0.5-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46be9ad5eab09821669c97e2f59a3a49598ec0cb28d3de58bdfbd47369e00ad7 |
|
MD5 | 5c8d08706706223b2baabeb20dd7e6fe |
|
BLAKE2b-256 | 5f0d48c925d2bf42f59f68394320cb842140421c93cbcb66196180ce89ac34e4 |
Hashes for pyg4ometry-1.0.5-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a9561cf7e730d1c7019f46796024d072b79fe44cfa9db9be74267e8abf6c680 |
|
MD5 | afacea17bcbcf368e4f2ba794e4e4980 |
|
BLAKE2b-256 | 60e7d06c7ce90aa0c57cacbf35e72d1d7eeee8672c69b359bc38fed19132f1db |
Hashes for pyg4ometry-1.0.5-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3f12aeb9d6151e9732273d268e3e6669d4300f735e8a5153383ea4cfa7e6066 |
|
MD5 | fa69a7ca67138ff0c1c95811672b8d99 |
|
BLAKE2b-256 | cd41af7a7a76b8440af7a7fbbb3a025d76032432d18e78742dbb5079f776ba04 |
Hashes for pyg4ometry-1.0.5-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44598f04c4cf615a7acc453cce6e24f7272c66c91190e7b23ed2295ab4fee305 |
|
MD5 | 53a3741f22c03e77a2e76fb9633f67cb |
|
BLAKE2b-256 | d54cb610bfda46cb5ef2e53d7d84c3dc9b705f1908332705f81e1f879f1b0139 |
Hashes for pyg4ometry-1.0.5-cp39-cp39-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d390a8da080af18d1d455f60b4f4da6e885aa511d999b311a3480d17c636541c |
|
MD5 | 53a87f576acba18c9f15b92126b4539c |
|
BLAKE2b-256 | a799cba6776e2053754ad3e5ae31eaa93a6e12ae7600dacba8474a9764643e60 |