diff --git a/CCDpanelsetup.py b/CCDpanelsetup.py index 69d59bc..de3bc75 100644 --- a/CCDpanelsetup.py +++ b/CCDpanelsetup.py @@ -345,7 +345,8 @@ class buildpanel(tk.Frame): self.jfspdmath.grid(row=2,column=0,sticky='w') self.jfspdmeth = tk.Button(self,text='Methods',fg="blue", command=lambda JFSphoto=Jfsphoto: self.jf.do_methods(self)) self.jfspdmeth.grid(row=save_row,column=4,sticky='e',padx=4) - + self.jfsmethhp = tk.Button(self,text='?',command=lambda roots=self, helpfor=7: jfshelpme(roots,helpfor)) + self.jfsmethhp.grid(row=save_row,column=5,sticky='e',padx=4) ### Reset changes from loading phometerfile def reset_settings(self): print('reset settings 1') diff --git a/JFShelp.py b/JFShelp.py index 9bb6f25..20521a7 100644 --- a/JFShelp.py +++ b/JFShelp.py @@ -144,6 +144,17 @@ def jfshelpme(win,helpfor): elif (helpfor == 6): #text.image_create(tk.END,image=photoImg3) text.insert(tk.END,"\nMath on Kinetics\n",'h1') + elif (helpfor == 7): + text.image_create(tk.END,image=photoImg2) + text.insert(tk.END," Methods\n",'h1') + text.insert(tk.END,"\nIn this part of the programm it is possible to determine the concentration of a compound with the spectrometer.\n") + text.insert(tk.END,"1) Try out concentration of the compount,ICG,SH,lightsource etc. that works fine and give an absorbance of approx 1.\nCheck [nm], [Darkline] and [Baseline]\n") + text.insert(tk.END,"2) Dilute the solution for the standard curve.\nFor example if the last concentration in 30mmol and 5 solution are made. You have to prepare 6mmol,12mmol,18mmol,24mmol and 30mmol.\n") + text.insert(tk.END,"3) Complete the dialog and [add Method]. The method will appear in the methods window, with a line for each concentration.\n") + text.insert(tk.END,"4) Now insert the cuvette with the specific concentration and select the line.\nThe messurement takes place and the absorbance will be stored\n") + text.insert(tk.END,"5) If everything is ok, you can save the method and it's values.\n") + text.insert(tk.END,"\nThe fitting curve is determined by numpy's polyfit and the r2_score and displayed.\n") + text.insert(tk.END,"\nAfterwards an unknown concentration of a compound can be determined over the dialog ") ### at the end text.config(state=tk.DISABLED) top.focus_set() diff --git a/images/methods.PNG b/images/methods.PNG new file mode 100644 index 0000000..d991d91 Binary files /dev/null and b/images/methods.PNG differ diff --git a/images/methods.gif b/images/methods.gif index a72fbf2..5bf9c77 100644 Binary files a/images/methods.gif and b/images/methods.gif differ