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! To download the data in the "public" repo rather than the "Phase 1" repo, you will need to generate a github access token that has read access from the "data_public" repo and pass it to download_all(). Note that some functions involving front/back spaces etc. involve files that have not yet been made public, so this is necessary in order to explore the full functionality of the amplitudes package.

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.2.5.tar.gz (34.3 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.2.5-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

Details for the file aiamplitudes_common_public-1.2.5.tar.gz.

File metadata

File hashes

Hashes for aiamplitudes_common_public-1.2.5.tar.gz
Algorithm Hash digest
SHA256 acac28e6d673b2b1fa0173eb70a1876ce674c0bdb27dbe18b2974856e92d26b2
MD5 123ea17a1b048d184d9e5e7bd0d0169a
BLAKE2b-256 bbe50a0df2f7064a594690be94414dcf67a43bd257eabd7cb779b7a00de62cd3

See more details on using hashes here.

File details

Details for the file aiamplitudes_common_public-1.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for aiamplitudes_common_public-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3094bf9ef9b575a7d3d20ebea7ddb300eceadaa711b620bd2dba84475e5864a4
MD5 0f264c73b07045a6a60475e5d6084edc
BLAKE2b-256 67753b609cc558c91857e3e1b5c0cfccda9b724c48bcb0d08b42ccd8ecf71720

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