Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
SciBmad Documentation
Light Logo Dark Logo
  • Overview
  • Table of Contents

Getting Started

  • Installation
    • Jupyter Kernel Installation
    • Adding Other Packages
    • Adding GPU Support
    • Plotting
    • Julia and Python
    • Next Steps
  • Quickstart
    • A Simple Copy-Paste Example
    • Step-By-Step Description
    • Where to Go Next

Tutorial

  • Ring Design Tutorial
    • 1. FODO Cells
    • 2. Dispersion Suppressor
    • 3. Matching the Dispersion Suppressor to the Straight Section
    • 4. Machine Coordinates
    • 5. Constructing the Ring
    • 6. Low-Beta Interaction Region Insertion
    • 7. Tune Cell
    • 8. Particle Phase Space Coordinates
    • 9. RF Cavities
    • 10. Introduction to Long Term Tracking
    • 11. Deferred Expressions and Contexts
    • 12. Dynamic Aperture
    • 13. Comparing Lattices
    • 14. Orbit Correction
    • 15. Spin Tracking with Ramping
    • Answers to Selected Exercises
    • How the tutorial works

Lattice

  • Defining a LatElement
    • Element Kinds
    • Parameters
    • Parameter Groups
  • Defining a Beamline
    • Finding LatElements in a Beamline
    • Multiple LatElements in (multiple) Beamlines
    • Beamline-Dependent LatElement Parameters
  • Deferred Expressions and Contexts
    • Getting the Deferred Expression Itself
  • Definition Tools
    • Phase Trombone

Particle Tracking

  • Track
    • Basics
    • Saving Particle Data at Certain Locations
    • Starting at a Different Location
    • Saving the Reference Time/Energy
    • Spin Tracking
    • Configuration Settings
    • The Bunch Struct
    • Tracking a Different Species
    • Callbacks
    • Coordinates Number Type
    • CPU Parallelization
    • GPU Parallelization
  • Tracking Methods
    • Integration Steps and Slices
    • Symplectic Integrators
    • Exact
    • Runge Kutta
    • Sagan Cavity
  • Collective Effects
    • Intra-Beam Scattering
  • Time-Dependent Parameters and Ramping
    • Time-Dependent Parameters
    • Energy Ramping
    • Limitations
  • Batch Parameters
    • Basics
    • Limitations
    • GPU Batch Parameter Simulation
  • (GPU-)Batched Closed Orbit Finder
    • δ-Dependent Closed Orbits
    • Closed Orbits with Batch Parameters
  • (GPU-Batched) Dynamic Aperture
    • Reading the Result
    • Batched Dynamic Aperture Scans

Analysis

  • Twiss
    • Basics
    • Choosing rows and columns
    • Chromatic and amplitude-dependent quantities
    • Synchrotron motion and radiation
    • Spin
    • Open lines
    • A part of a beamline
    • Resonance driving terms and detuning (h columns)
    • Reference
  • Parametric Normal Form
    • Derivatives with respect to lattice parameters
    • Taylor series in the parameters with GTPSA
  • Frequency Map Analysis

Optimization

  • Matching and Optimization
    • A First Match
    • Quantities and Locations
    • Values and Derivatives
    • More on Optimization
  • Targets, Knobs and Solvers
    • Targets
    • Objectives
    • Knobs
    • Solvers
  • Orbit Correction, LOCO and Open Lines
    • Orbit Correction
    • Lines That Are Not Periodic
  • Dynamic Aperture Optimization
    • A First Optimization
    • Targets
    • Repeats
    • Several Objectives
    • Fidelity Levels
    • Linear Targets and Periodic Knobs
    • Restarts
    • Continuing and Saving
  • Using Other Optimizers
    • How It Works

Examples

  • Examples
    • Nonlinear Twiss
    • Dynamic aperture (GPU)
    • Automatic differentiation
    • Orbit response
    • AGS spin ramp

Physics

  • Coordinates
    • Phase Space Coordinate System
    • Nomenclature
    • Coordinate Systems Used to Describe a Machine
    • Element Entrance and Exit Coordinates
    • Branch Coordinate Construction
    • Coordinate Frames
    • Lattice Element Positioning
    • Particle Position Transformation
    • Transformation Between Branch and Element Body Coordinates
  • SaganCavity Tracking
    • Introduction
    • SaganCavity Parameters
    • RF Parameters
    • Other Parameters
  • SaganCavity Physics
    • Overview
    • Justification
    • Kick-Drift-Kick Model
    • Edge Kick
    • Energy Kick
    • RF Phase
    • Standing-Wave Ponderomotive Focusing
    • Solenoid and Multipole Components
    • References
  • Miscellaneous
    • Reference Time in Misaligned Elements

About

  • Governance
    • Steering Committee
    • Technical Committee
    • Former Members
    • AI Contribution Guidelines
  • For Developers
    • Repository Layout
    • Working on the Julia Package
    • Working on the Python Package
    • Writing the Documentation
    • Continuous Integration
    • Making a Release
Back to top
Copyright © 2025, SciBmad Contributors
Made with Sphinx and @pradyunsg's Furo