Metadata-Version: 2.1
Name: accelerator-toolbox
Version: 0.1.0
Summary: Accelerator Toolbox
Home-page: https://github.com/atcollab/at
Author: The AT collaboration
Author-email: atcollab-general@lists.sourceforge.net
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=2.7.4
Requires-Dist: numpy (>=1.14.3)
Requires-Dist: scipy (>=0.16)

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>`_. Its original implementation is in Matlab.

pyAT is a Python interface to 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.

pyAT supports Python 2.7 (deprecated) and 3.5 to 3.8.

Installation
------------

Install accelerator-toolbox from PyPI::

    pip install accelerator-toolbox

Usage
-----

Example usage::

    >>> from at.load import load_mat
    >>> from at.physics import linopt
    >>> ring = load_mat('test_matlab/hmba.mat')
    >>> linopt(ring, refpts=range(5))

For more examples of how to use pyAT, see ``pyat_examples.rst``.

Developer Notes
---------------

Developer notes are in ``developers.rst``.



