Skip to main content

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

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

pyg4ometry-1.0.5.tar.gz (95.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyg4ometry-1.0.5-cp311-cp311-macosx_13_0_x86_64.whl (23.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pyg4ometry-1.0.5-cp311-cp311-macosx_12_0_arm64.whl (25.4 MB view details)

Uploaded CPython 3.11macOS 12.0+ ARM64

pyg4ometry-1.0.5-cp310-cp310-manylinux_2_31_x86_64.whl (123.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.31+ x86-64

pyg4ometry-1.0.5-cp310-cp310-macosx_13_0_x86_64.whl (23.5 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pyg4ometry-1.0.5-cp310-cp310-macosx_12_0_arm64.whl (25.4 MB view details)

Uploaded CPython 3.10macOS 12.0+ ARM64

pyg4ometry-1.0.5-cp39-cp39-manylinux_2_31_x86_64.whl (123.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.31+ x86-64

pyg4ometry-1.0.5-cp39-cp39-macosx_13_0_x86_64.whl (23.5 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

pyg4ometry-1.0.5-cp39-cp39-macosx_12_0_arm64.whl (25.4 MB view details)

Uploaded CPython 3.9macOS 12.0+ ARM64

File details

Details for the file pyg4ometry-1.0.5.tar.gz.

File metadata

  • Download URL: pyg4ometry-1.0.5.tar.gz
  • Upload date:
  • Size: 95.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyg4ometry-1.0.5.tar.gz
Algorithm Hash digest
SHA256 1aeffdc4b64e7d6f73484fdb9a7c5fc8dd3bc460491f36257ae3a8f2d6f7d209
MD5 d858829c0930af3a7c86bec5c52f8669
BLAKE2b-256 95236b159a6251ffa78c81bd522230fc5029cbcf0225380229df049358384ca0

See more details on using hashes here.

File details

Details for the file pyg4ometry-1.0.5-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyg4ometry-1.0.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ea6a615d87bf34fb6e16f95e3c6f6dc7b2ed90828f48f8fccb75f057fa002a58
MD5 f6c45d202444ad88377c29dc21c056df
BLAKE2b-256 ebd0e72efa1919ffb633c9fa359e113004f95bec1210c9dcfe56254bd440ebcc

See more details on using hashes here.

File details

Details for the file pyg4ometry-1.0.5-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pyg4ometry-1.0.5-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 c2b079adfdff797f33301375589899a948df45fe6a4c93d9214756e560488eb5
MD5 f626ca33fae3071378d741598cbf3899
BLAKE2b-256 009e4213f56ae1778e279a3f25c0fa2751b592fdbcf5ae08478e3deb77ea5a14

See more details on using hashes here.

File details

Details for the file pyg4ometry-1.0.5-cp310-cp310-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for pyg4ometry-1.0.5-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 57668f6c1b3a98b020fcc6934986baae61a8ff5be13f5e81527b1c89d3aeef9d
MD5 fd92f115f6b83178e48c1c8982a2f169
BLAKE2b-256 bdcc8f0062623752f5806f7385563406e9271252fcc09ef72ff012dc22942069

See more details on using hashes here.

File details

Details for the file pyg4ometry-1.0.5-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyg4ometry-1.0.5-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 46be9ad5eab09821669c97e2f59a3a49598ec0cb28d3de58bdfbd47369e00ad7
MD5 5c8d08706706223b2baabeb20dd7e6fe
BLAKE2b-256 5f0d48c925d2bf42f59f68394320cb842140421c93cbcb66196180ce89ac34e4

See more details on using hashes here.

File details

Details for the file pyg4ometry-1.0.5-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pyg4ometry-1.0.5-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 8a9561cf7e730d1c7019f46796024d072b79fe44cfa9db9be74267e8abf6c680
MD5 afacea17bcbcf368e4f2ba794e4e4980
BLAKE2b-256 60e7d06c7ce90aa0c57cacbf35e72d1d7eeee8672c69b359bc38fed19132f1db

See more details on using hashes here.

File details

Details for the file pyg4ometry-1.0.5-cp39-cp39-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for pyg4ometry-1.0.5-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a3f12aeb9d6151e9732273d268e3e6669d4300f735e8a5153383ea4cfa7e6066
MD5 fa69a7ca67138ff0c1c95811672b8d99
BLAKE2b-256 cd41af7a7a76b8440af7a7fbbb3a025d76032432d18e78742dbb5079f776ba04

See more details on using hashes here.

File details

Details for the file pyg4ometry-1.0.5-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyg4ometry-1.0.5-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 44598f04c4cf615a7acc453cce6e24f7272c66c91190e7b23ed2295ab4fee305
MD5 53a3741f22c03e77a2e76fb9633f67cb
BLAKE2b-256 d54cb610bfda46cb5ef2e53d7d84c3dc9b705f1908332705f81e1f879f1b0139

See more details on using hashes here.

File details

Details for the file pyg4ometry-1.0.5-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pyg4ometry-1.0.5-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 d390a8da080af18d1d455f60b4f4da6e885aa511d999b311a3480d17c636541c
MD5 53a87f576acba18c9f15b92126b4539c
BLAKE2b-256 a799cba6776e2053754ad3e5ae31eaa93a6e12ae7600dacba8474a9764643e60

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