Observed since 20 Oct, 17:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
accelerator-toolbox
Accelerator Toolbox
pyAT
====
Introduction
------------
Accelerator Toolbox is a code used for simulating particle accelerators, used
particularly for synchrotron light sources. It is hosted on `Github
<https://github.com/atcollab/at>`_. Its original implementation is in Matlab.
pyAT is a Python interface to the Accelerator Toolbox. It uses the 'pass methods'
defined in Accelerator Toolbox, implemented by compiling the C code used in the
AT 'integrators' into a Python extension. These pass methods are used by
higher-level functions to provide physics results.
See the `pyAT website <https://atcollab.github.io/at/p/index.html>`_ for a
more detailed introduction.
pyAT supports Python 3.10 to 3.14.
Installation
------------
Install accelerator-toolbox from PyPI::
$ pip install accelerator-toolbox
Usage
-----
Example usage::
>>> import at
>>> ring = at.Lattice.load('machine_data/hmba.mat')
>>> print(at.radiation_parameters(ring))
Frac. tunes: [0.2099983 0.34001317 0.00349013]
Tunes: [76.2099983 27.34001317]
Chromaticities: [5.73409894 3.91761206]
Momentum compact. factor: 8.506669e-05
Slip factor: -8.505944e-05
Energy: 6.000000e+09 eV
Energy loss / turn: 2.526189e+06 eV
Radiation integrals - I1: 0.07179435013387388 m
I2: 0.13844595446798158 m^-1
I3: 0.003357584058614851 m^-2
I4: -0.07375725030666251 m^-1
I5: 5.281495714523264e-07 m^-1
Mode emittances: [1.3148797e-10 nan nan]
Damping partition numbers: [1.53275121 1. 1.46724879]
Damping times: [0.00872477 0.0133729 0.00911427] s
Energy spread: 0.000934463
Bunch length: 0.0030591 m
Cavities voltage: 6000000.0 V
Synchrotron phase: 2.70701 rd
Synchrotron frequency: 1239.74 Hz
For more examples of how to use pyAT, see ``pyat_examples.rst``.
Developer Notes
---------------
Developer notes are in ``developers.rst``.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
numpyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | numpy>=1.23.5 | runtime |
scipyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | scipy>=1.10.0 | runtime |
h5pyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | h5py>=3.0 | runtime |
mpi4pyEnvironment{
"extras": "",
"marker": "extra == \"mpi\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | mpi4py; extra == "mpi" | runtime |
matplotlibEnvironment{
"extras": "",
"marker": "extra == \"plot\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | matplotlib; extra == "plot" | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pytest>=2.9; extra == "dev" | runtime |
pytest-covEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pytest-cov; extra == "dev" | runtime |
flake8Environment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | flake8; extra == "dev" | runtime |
SphinxEnvironment{
"extras": "",
"marker": "extra == \"doc\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | Sphinx~=9.0; extra == "doc" | runtime |
myst-parserEnvironment{
"extras": "",
"marker": "extra == \"doc\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | myst-parser; extra == "doc" | runtime |
myst-nbEnvironment{
"extras": "",
"marker": "extra == \"doc\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | myst-nb; extra == "doc" | runtime |
pydata-sphinx-themeEnvironment{
"extras": "",
"marker": "extra == \"doc\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pydata-sphinx-theme; extra == "doc" | runtime |
sphinx_designEnvironment{
"extras": "",
"marker": "extra == \"doc\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | sphinx_design; extra == "doc" | runtime |
sphinx-copybuttonEnvironment{
"extras": "",
"marker": "extra == \"doc\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | sphinx-copybutton; extra == "doc" | runtime |
bdist_wheel · 2,177.9 KB · Python cp310
bdist_wheel · 2,194.9 KB · Python cp310
bdist_wheel · 3,460.28 KB · Python cp310
bdist_wheel · 3,451.38 KB · Python cp310
bdist_wheel · 2,283.25 KB · Python cp310
bdist_wheel · 2,177.88 KB · Python cp311
bdist_wheel · 2,194.87 KB · Python cp311
bdist_wheel · 3,468.68 KB · Python cp311
bdist_wheel · 3,459.71 KB · Python cp311
bdist_wheel · 2,283.06 KB · Python cp311
bdist_wheel · 2,180.36 KB · Python cp312
bdist_wheel · 2,194.9 KB · Python cp312
bdist_wheel · 3,576.4 KB · Python cp312
bdist_wheel · 3,562.35 KB · Python cp312
bdist_wheel · 2,284.78 KB · Python cp312
bdist_wheel · 2,180.37 KB · Python cp313
bdist_wheel · 2,194.91 KB · Python cp313
bdist_wheel · 3,581.26 KB · Python cp313
bdist_wheel · 3,564.8 KB · Python cp313
bdist_wheel · 2,284.78 KB · Python cp313
bdist_wheel · 2,183.72 KB · Python cp314
bdist_wheel · 2,195.28 KB · Python cp314
bdist_wheel · 3,586.58 KB · Python cp314
bdist_wheel · 3,568.54 KB · Python cp314
bdist_wheel · 2,309.25 KB · Python cp314
sdist · 3,831.06 KB · Python source
Observed since 20 Oct, 17:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:02445778d2f6b245311880266fb0afb73fbc2ee27242eded6d3481386bc9bf14