From 8413125ade947a222cbf9e2d1f1b8ed49f5ab6af Mon Sep 17 00:00:00 2001
From: Yngve Levinsen <yngve.levinsen@esss.se>
Date: Tue, 28 Aug 2018 15:09:41 +0200
Subject: [PATCH] fixing documentation indendation

---
 ess/TraceWin.py | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

diff --git a/ess/TraceWin.py b/ess/TraceWin.py
index dc44acf..a0538a5 100644
--- a/ess/TraceWin.py
+++ b/ess/TraceWin.py
@@ -8,12 +8,12 @@ class dst:
 
     Class afterwards hold the following
     dictionary items:
-      - x [m]
-      - xp [rad]
-      - y [m]
-      - yp [rad]
-      - phi [rad]
-      - E [MeV] (kinetic energy)
+    - x [m]
+    - xp [rad]
+    - y [m]
+    - yp [rad]
+    - phi [rad]
+    - E [MeV] (kinetic energy)
     '''
     def __init__(self,
                  filename=None,
@@ -246,12 +246,12 @@ class plt:
 
     Class afterwards hold the following
     dictionary items:
-      - Ne (number of locations)
-      - Np (number of particles)
-      - Ib [A] (beam current)
-      - freq [MHz]
-      - mc2  [MeV] 
-      - Nelp [m] (locations)
+    - Ne (number of locations)
+    - Np (number of particles)
+    - Ib [A] (beam current)
+    - freq [MHz]
+    - mc2  [MeV] 
+    - Nelp [m] (locations)
 
     each plt[i], where i is element number, holds:
       - Zgen [cm] (location)
@@ -265,12 +265,13 @@ class plt:
       - E [array, MeV]
       - l [array] (is lost)
 
-      Example::
+    Example::
+
         plt=ess.TraceWin.plt('calc/dtl1.plt')
         for i in [97,98]:
-          data=plt[i]$
-          if data:
-            print(data['x'])
+            data=plt[i]
+            if data:
+              print(data['x'])
     '''
     def __init__(self, filename):
         # easy storage..
-- 
GitLab