Skip to main content

Analysis/visualization of phase space distributions

Project description

psdist

This repository is a collection of analysis and visualization methods for six-dimensional position-momentum space (phase space) distributions.

The state of a classical system of particles in $n$-dimensional space is given by the coordinates of each particle in $2n$-dimensional phase space: $x$, $p_x$, $y$, $p_y$, $z$, $p_z$. Alternatively, some problems are formulated in terms of a smooth distribution function $f(x, p_x, y, p_y, z, p_z)$ that gives the density at each point in phase space.

The phase space coordinates of individual particles are often known in computer simulations. Individual particles can be measured in some cases (https://www.esa.int/Science_Exploration/Space_Science/Gaia); in other cases, all that can be measured is a $2n$-dimensional histogram (image) that approximates the distribution function (https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.121.064804).

Installation

https://pypi.org/project/psdist/

Examples

Some examples in accelerator physics that use methods from this repository:

Each subplot in the figure below shows the measured $x-p_x$ distribution of a hadron beam within a small box in $y-p_y-p_z$ space; $y$ varies along the columns, $p_y$ varies along the rows, and $p_z$ varies with the animation frame number.

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

psdist-0.1.2.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

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

psdist-0.1.2-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file psdist-0.1.2.tar.gz.

File metadata

  • Download URL: psdist-0.1.2.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for psdist-0.1.2.tar.gz
Algorithm Hash digest
SHA256 90d55a9a203bcbce6d6919e93a7cc73e5c0207fb85d0acb71d499b0ec0aa8d7d
MD5 8e759b3830b63b30f7b3f8e8e9c43717
BLAKE2b-256 5c7c29fecb12a9641c888f826506e92eea19ea7614e651a56432384177e3007b

See more details on using hashes here.

File details

Details for the file psdist-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: psdist-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for psdist-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71276ac68f69b55e6a9d6374d04c27c0002ca210296e7bbb1c3f77c9c4b6e42f
MD5 cee879870473696d822dfd8fc4e01b4a
BLAKE2b-256 7caaa72bff4c4789b96d9772a57f3bf993237598d8b0e96a563093dee7448ed0

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