Skip to main content

PyTao is the Python interface for Bmad's Tao

Project description

PyTao

PyTao is Python interface for Tao, which is based on the Bmad subroutine library for relativistic charged–particle and X-ray simulations in accelerators and storage rings.

Documentation for Bmad and Tao, as well as information for downloading the code if needed is given on the Bmad website.

Documentation
Documentation
Documentation

Installation

See the PyTao installation instructions for details. The preferred installation method is using conda:

conda install -c conda-forge pytao

Currently PyTao requires an installed Bmad distribution compiled with the ACC_ENABLE_SHARED="Y" flag. This can be set in the bmad_dist/util/dist_prefs file.

Current Build status and Release Info

All platforms:
Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Resources

Bmad website

Quickstart

Start a quick pytao session with IPython using:

$ pytao -init tao.init
------------------------------------------------------------
Initializing `tao` object with the following: -init tao.init
Type`tao.` and hit tab to see available commands.
------------------------------------------------------------

Python 3.12.0 | packaged by conda-forge | (main, Oct  3 2023, 08:36:57) [Clang 15.0.7 ]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.18.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: tao
Out[1]: <pytao.interface_commands.Tao at 0x13c43d4f0>

Start pytao's GUI from the command-line with:

pytao-gui -init tao.init

License

GNU General Public License

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

pytao-0.4.3.tar.gz (10.4 MB view details)

Uploaded Source

File details

Details for the file pytao-0.4.3.tar.gz.

File metadata

  • Download URL: pytao-0.4.3.tar.gz
  • Upload date:
  • Size: 10.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pytao-0.4.3.tar.gz
Algorithm Hash digest
SHA256 3223a444bc7355a4ad30fe007a3f2ad52fe54248a3b2713706b4e3215b4d0abf
MD5 6f3869d8a243ec02356a6e7266d7bf9c
BLAKE2b-256 6e5000b6e29935de3b0b385615aedd6a08d0508c87de3893f857b7f82122ed5c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page