diff --git a/scripts/DA/TestDA.py b/scripts/DA/TestDA.py index 20e55d3..e9236f8 100644 --- a/scripts/DA/TestDA.py +++ b/scripts/DA/TestDA.py @@ -1,3 +1,5 @@ + +#---IGNORE UNTIL--- from lyse import Run as lyse_run import h5py import sys @@ -9,7 +11,8 @@ import lmfit from matplotlib import pyplot as plt -#here it looks for the DA file, if not in the same folder as NNDy you can specify the folder in new_path + +#imports for some analysis tools written by the group new_path = r'C:\Users\DyLab\PrepLab\Data_Analysis' if new_path not in sys.path: sys.path.append(new_path) @@ -31,6 +34,10 @@ cost_scaling_factor = { 'peak_intensity': 10 } + + +#---HERE--- + # THE COST FUNCTION # #in every DA script for NNDy we need a cost function defined as below