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, located at: https://github.com/AIAmplitudes/AIAmplitudes_common_public/

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 needed to load the symbols, etc., but does not need to be called often!

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-1.0.3.dev0.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

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

aiamplitudes_common_public-1.0.3.dev0-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

Details for the file aiamplitudes_common_public-1.0.3.dev0.tar.gz.

File metadata

File hashes

Hashes for aiamplitudes_common_public-1.0.3.dev0.tar.gz
Algorithm Hash digest
SHA256 42acdf5b06c08eeb444ec08314a3c76fc8ce1a73792dd08a8b63b9cd4a28d2ef
MD5 d9544ea17b3607a9442bd79ee17d8e05
BLAKE2b-256 bcdc0e02180bc8b9c8e608bd8ee3f4ef57d1edb60ca52f5d7b40219a614437a3

See more details on using hashes here.

File details

Details for the file aiamplitudes_common_public-1.0.3.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiamplitudes_common_public-1.0.3.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7d0746ad5ac75bfca7bd3d34c084f08d02f953d18897609ac9daaf442d697b7
MD5 0440b8689c1fa245fa90439b454d495d
BLAKE2b-256 2a5c0bea8bfac071d8262151b3d1edbc0955ac3e11b8b6128b62e50fa0265056

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