help 2.part

This commit is contained in:
jfsScience 2020-12-29 15:39:04 +01:00
parent 4820b0a19a
commit cb6644ee02
3 changed files with 27 additions and 1 deletions

View File

@ -39,7 +39,7 @@ import CCDfiles
#jfs
from JFSphoto import *
import time
from JFShelp import *
class buildpanel(tk.Frame):
def __init__(self, master, CCDplot, SerQueue,JFSphoto):
@ -300,6 +300,8 @@ class buildpanel(tk.Frame):
self.jfstitel.grid(row=device_row,column=4,columnspan=2,sticky='w')
self.jfs4cal = tk.Button(self,text='Calibration',fg="blue", command=self.jf.do_calibrate)
self.jfs4cal.grid(row=device_row+1,column=4,sticky='e',padx=4)
self.jfs4calhp = tk.Button(self,text='?',command=lambda roots=self, helpfor=1: jfshelpme(roots,helpfor))
self.jfs4calhp.grid(row=device_row+1,column=5,sticky='e',padx=4)
self.jfs4nm_check = tk.Checkbutton(self,text="[nm] scale on/off",variable=self.jf.nm_checked,command=lambda CCDplot=CCDplot: self.updateplot(CCDplot))
self.jfs4nm_check.grid(row=shicg_row-1,column=4,sticky='w',padx=4)
self.jfsdark = tk.Button(self,text='save Darkline',fg="blue", command= darkline)

View File

@ -69,6 +69,8 @@ def jfshelpme(win,helpfor):
photoImg2= ImageTk.PhotoImage(image2)
image3 = Image.open(file_path+'kinetics.gif')
photoImg3= ImageTk.PhotoImage(image3)
image4 = Image.open(file_path+'xenon.gif')
photoImg4= ImageTk.PhotoImage(image4)
text.tag_configure('it', font=('Arial', 10, 'italic'))
text.tag_configure('h1', font=('Verdana', 16, 'bold'))
@ -89,6 +91,28 @@ def jfshelpme(win,helpfor):
text.insert(tk.END,"\n\nKinetic\n",'h2')
text.insert(tk.END,"\nThe instrument can messure in specific intervalls over time the change in absorbance. From this data it is possible to determine the rate of the reaction.\n")
text.image_create(tk.END,image=photoImg3)
text.insert(tk.END,"\n Baseline\n",'h1')
text.insert(tk.END,"\nIn order to messure the absorption of a compound in the cuvette, you have to messure the intensity of the the light passing through the reference cell.\n")
text.insert(tk.END,"The intensity of the light at a specific wavelength depends on the kind of lightsource. The spectrum of a tungstone lamp is different from a LED etc.\n")
text.insert(tk.END,"\nTo make things easy: the value <threshold for the baseline> cuts off the beginning and the end where the lightsource is not strong enought to give reasonable results ")
text.image_create(tk.END,image=photoImg4)
text.insert(tk.END,"\nFor example xenon-lamp as a source. If the value of the threshold is set to 100 (green), the baseline will start at 380nm and end at 510nm\n")
text.insert(tk.END,"If the value of the threshold is set to 50 (red), the baseline will start at 370nm and end at 695nm. The baseline determines the range of messurement\n")
elif (helpfor == 1): #do you need help with the device?
text.image_create(tk.END,image=photoImg)
text.insert(tk.END, " Calibration\n", 'h1')
text.insert(tk.END, "\nTo calibrate the Instrument we need two laserpointer of different colors und known wavelength.\nFor example a blue [405nm] and red [650nm] one.\n")
text.insert(tk.END, "1) First take two messurements with your device und save the files with the [Save] button under a comprehensible name (e.g. 405nm.data) \n")
text.insert(tk.END, "2) Open the calibration dialog and insert the wavelength in [nm] and afterwards select the respective file. <first peak> stands for the lower and <second peak> for the higher wavelength.\n")
text.insert(tk.END, "3) Now you can use the [Calibrate] button to calibrate the instrument and [Save Config] will the store the configuration.\n")
text.insert(tk.END,"\nAfter this procedure you can switch the [nm] scale on and use other option:\n")
text.insert(tk.END,'\nMethods\n','h2')
text.insert(tk.END,"\nAs a Photometer to messure the transmittance or absorbance depending on the concentration of colored compounds.\n\n")
text.image_create(tk.END,image=photoImg2)
text.insert(tk.END,"\n\nKinetic\n",'h2')
text.insert(tk.END,"\nThe instrument can messure in specific intervalls over time the change in absorbance. From this data it is possible to determine the rate of the reaction.\n")
text.image_create(tk.END,image=photoImg3)
### at the end
text.config(state=tk.DISABLED)
top.focus_set()

BIN
images/xenon.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB