help methods implemented

This commit is contained in:
jens 2021-01-03 22:12:00 +01:00
parent 8a0097624a
commit 83c869cc6f
4 changed files with 13 additions and 1 deletions

View File

@ -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')

View File

@ -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 <Edit the method> 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 <Do messurements>")
### at the end
text.config(state=tk.DISABLED)
top.focus_set()

BIN
images/methods.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 135 KiB