Skip to main content

A library of common utils for the AI Amplitudes project

Project description

aiamplitudes_common_public

Common public utils library for the "AI for Scattering Amplitudes" project. The package should be a simple install with pip, but please notify me if this is not the case! If there are issues with hatch, simply install an editable version (pip install -e .) into your local conda environment.

src/ init.py- import-level objects and functions. These include the Phi2 and Phi3 symbols, the front and back spaces and relations in various weights and formats, run-polynomials, and their coeffs. For example use-cases, please explore the Amplitudes_101 jupyter notebook!

download_data.py - contains the scripts to download a (compressed) version of the data files. Call download_all(DATA_DIR_NAME) to download the files. This is useful for EDA and generators, but should not be called every time- for large-scale generation, it may be useful to pre-install these files in a Docker container.

file_readers.py - functions to read the files. convert() is a multipurpose function that is called often, while the others are more specialized to different cases. Most of these are called within functions and should not need to be called by the typical user.

fbspaces.py - Utils for the front and back spaces. This includes coproducts, lookups, etc.

rels_utils.py- Table of homogeneous relations (as defined in the "Bootstrapping a Stress Tensor..." paper), relation eval functions, etc.- this is called often!

commonclasses.py - Common wrappers used for generating and processing relation-instances.

polynomial_utils.py - functions related to analysis of the "d-ray" polynomials mentioned in the "Recurrent Features of Amplitudes..." paper.

notebook/ Amplitudes_101.ipynb- a notebook that displays some simple exploratory data analysis functions of this package.

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

aiamplitudes_common_public-0.1.dev51.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file aiamplitudes_common_public-0.1.dev51.tar.gz.

File metadata

File hashes

Hashes for aiamplitudes_common_public-0.1.dev51.tar.gz
Algorithm Hash digest
SHA256 058cb5eff5931ff57e9b8e62abf711544e472c4f119b81c8f52cc9ec98c46bca
MD5 60a7366ea45003147a3d8e615d126a2b
BLAKE2b-256 05144237868683e00cbcb8e30e4de2bf1a2c92444f8e4c376193e72db94e448b

See more details on using hashes here.

File details

Details for the file aiamplitudes_common_public-0.1.dev51-py3-none-any.whl.

File metadata

File hashes

Hashes for aiamplitudes_common_public-0.1.dev51-py3-none-any.whl
Algorithm Hash digest
SHA256 268cca99bc53e7d76f168d0fb1fa385f110bb3fd9849d711a4715e93126f4737
MD5 bcac9a6a69eebef0d63cbf830103d89b
BLAKE2b-256 abda8625b576e4d583f6064480611f08c3f919c3afdbe8d35429609a93c3c987

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