From 953f3c5a1b425fbbc21a0c88931a1c740b2e4e90 Mon Sep 17 00:00:00 2001
From: Alexis Gamelin <alexis.gamelin@synchrotron-soleil.fr>
Date: Fri, 22 Mar 2024 11:17:07 +0100
Subject: [PATCH] Add to_pyat docstring to Synchrotron class

---
 mbtrack2/tracking/synchrotron.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mbtrack2/tracking/synchrotron.py b/mbtrack2/tracking/synchrotron.py
index be02931..c519d50 100644
--- a/mbtrack2/tracking/synchrotron.py
+++ b/mbtrack2/tracking/synchrotron.py
@@ -114,6 +114,8 @@ class Synchrotron:
     get_longitudinal_twiss(V)
         Compute the longitudinal Twiss parameters and the synchrotron tune for 
         single or multi-harmonic RF systems.
+    to_pyat(Vrf)
+        Return a pyAT simple_ring element from the Synchrotron element data.
     """
     def __init__(self, h, optics, particle, **kwargs):
         self._h = h
-- 
GitLab