Skip to main content

A python interface to MAD-NG running as subprocess and using Pexpect

Project description

pymadng

Python interface to MAD-NG running as subprocess and using Pexpect

Getting the examples working

To run the examples you will need a mad executable which can be found here; http://mad.web.cern.ch/mad/releases/madng/0.9/ You will also need the memory mapping mad file, which in the future will be packaged with the mad executable, this can be downloaded here: https://cernbox.cern.ch/index.php/s/eReVquPhXHZzUYX

Place these files in the folder with the python example that you would like to run and rename the mad exectuable to mad.

You can then run the example with python3 EXAMPLE_NAME.py

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

pymadng-0.0.4.tar.gz (3.2 MB view hashes)

Uploaded Source

Built Distribution

pymadng-0.0.4-py3-none-any.whl (24.0 kB view hashes)

Uploaded Python 3

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