From 6d01fb23ed85bdcc7ff13a15324f49fc25cd6c42 Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Mon, 26 Feb 2024 14:21:19 +0100 Subject: [PATCH] comments --- Minimization/Fit_TSA.py | 2 +- Minimization/Tools.py | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Minimization/Fit_TSA.py b/Minimization/Fit_TSA.py index e9fdadc..87976dd 100755 --- a/Minimization/Fit_TSA.py +++ b/Minimization/Fit_TSA.py @@ -40,7 +40,7 @@ iters = int(sys.argv[2]) print("\n-- Reading Options") options = read_par.Options() -############### Read Function +############### Read Function, from the MODEL parameter "-- Reading Function" (function, pltOptions) = FitTools.ChooseFunction( options['function'] ) diff --git a/Minimization/Tools.py b/Minimization/Tools.py index 95720cd..ef67272 100755 --- a/Minimization/Tools.py +++ b/Minimization/Tools.py @@ -257,7 +257,12 @@ class Reading: ########################################################################################### class ReadData: - 'Read raw data from file' + """Read raw data from file. Format: + 1st column: q value + 2nd column: I value + 3rd column: error + """ + def __init__ ( self , datafile ):