py4sci

Previous topic

Madx example

Next topic

cern.cpymad.madx

This Page

API ReferenceΒΆ

There are two main components in CPyMAD:

  • cern.cpymad.madx.Madx serves as a lightweight wrapper for the MAD-X interpretor.
  • cern.cpymad.model.Model is derived from the JMad model definitions. It stores all preliminary setup for a given machine in built-in files, including knowledge about available optics and strength files to use for each, etc.