Skip to main content

No project description provided

Project description

A Graph Neural Network Framework for High Energy Particle Physics

AnalysisG-Coverage-Action

building-analysisG

building-pyc

Publish to PyPI

tox-testing-analysisG

Getting Started:

Either read the docs here: Documentation Status

Introduction:

The aim of this package is to provide Particle Physicists with an intuitive interface to Graph Neural Networks, whilst remaining Analysis agnostic. Following a similar spirit to AnalysisTop, the physicist defines a custom event class and matches variables within ROOT files to objects that they are a representation of. A simple example of this would be a particle, since these generally have some defining properties such as the four vector, mass, type, etc.

From a technical point of view, the particle would be represented by some Python object, where attributes are matched to the ROOT leaf strings, such that framework can identify how variables are matched. A similar approach can be taken to construct event objects, where particle objects live within the event and are matched accordingly to any other particles e.g. particle truth matching. This hierarchical architecture allows for complex event definitions, first basic building blocks are defined and then matched according to some rule (see tutorial below).

To streamline the transition between ROOT and PyTorch Geometric (a Deep Learning framework for Graph Neural Networks), the framework utilizes event graph definitions. These simply define which particles should be used to construct nodes on a PyTorch Geometric (PyG) Data object. Edge, Node and Graph features can be added separately as simple python functions (see tutorial below). Post event graph construction, events are delegated to an optimization step, which trains a specified model with those graphs.

To avoid having to deal with additional boiler plate book keeping code, the framework tracks the event to the originating ROOT file using a hashing algorithm. The hash is constructed by concatenating the directory, ROOT filename and event number into a single string and computing the associated hash. This ensures each event can be easily traced back to its original ROOT file.

Or naviate to the tutorial folder, which outlines a few core concepts of this framework.

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

AnalysisG-4.1.4.tar.gz (1.9 MB view details)

Uploaded Source

Built Distributions

AnalysisG-4.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

AnalysisG-4.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

AnalysisG-4.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

AnalysisG-4.1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

AnalysisG-4.1.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (32.6 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

Details for the file AnalysisG-4.1.4.tar.gz.

File metadata

  • Download URL: AnalysisG-4.1.4.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for AnalysisG-4.1.4.tar.gz
Algorithm Hash digest
SHA256 a88b89aca6061aaed7addc5152b728053e2f8093c8c7bcc970d9ef2169dd68ed
MD5 7fdb2c04f47ad2d9a5812fa894bd4a70
BLAKE2b-256 797b067269154b894783de4569e23c45e49f24b224c631fd78eaa60c1d841678

See more details on using hashes here.

Provenance

File details

Details for the file AnalysisG-4.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for AnalysisG-4.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 28e42bc7c33b2ddd555e1358fef6b99cba3fb71db59fc21fbf88121dcccd422b
MD5 1b3c773ae720cd79345d7a3bf54b8b00
BLAKE2b-256 e784aa80ae99d3bdc7af356810b26e07bda2738364d8f5f44a702c827ebac106

See more details on using hashes here.

Provenance

File details

Details for the file AnalysisG-4.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for AnalysisG-4.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a23985f3ab8c3e89fcbfbc98a41137a941b4bd6767505beca5d55f8256571be9
MD5 a778f9c0a49c4a43e7caa8227e39cc6f
BLAKE2b-256 656a543c89a789972d118dfa00bdde8a78c1c3a995d629e9af90c378664b67d1

See more details on using hashes here.

Provenance

File details

Details for the file AnalysisG-4.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for AnalysisG-4.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 47a4d8c168c7aa9547ac6fcabde5640c4e79192725f4123afb970a5de40b860b
MD5 dd579d828035352fc49546f1ffe396f6
BLAKE2b-256 59544e9a186ad5b59f1017c7250167375bb3100198189ac9134f77dda0f9cd63

See more details on using hashes here.

Provenance

File details

Details for the file AnalysisG-4.1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for AnalysisG-4.1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d8bc750871da1f356a568563dde0583228335dc4fae5dcb4c3840359ee7ceab2
MD5 e310110632ac25ee4ec6a80f0267a2b6
BLAKE2b-256 ced8ffe7de9cf7ce858a6b66b7ba8cf0ea45724749aa4f62c7a30170ef6c6ee6

See more details on using hashes here.

Provenance

File details

Details for the file AnalysisG-4.1.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for AnalysisG-4.1.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6f32e315df04ed8f14fa73f8035bb2ccc32722918df3be7fb4ee2d504fa60fd0
MD5 28d9332bb25efd9f491eb7217188e1d7
BLAKE2b-256 972248444506a81c9f0d6b2c061d51d20c0ff7b459b5e0c088ffe8f17cf505eb

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page