Ticket #3381: CorT.py

File CorT.py, 334 bytes (added by Martyn Gigg, 9 years ago)
Line 
1#Corr
2import CorrTestFirst as Main
3
4
5def CorrBegin(prog,sname,cname):
6        geom = 'Cyl'
7        ana = 'graphite004'
8        ncan = 2
9        Main.CorrStart(prog,ncan,ana,sname,cname,geom)
10       
11
12prog = 'Correct'
13sname = 'osi92711'
14cname = 'osi92756'
15CorrBegin(prog,sname,cname)
16ns = 0
17res = sname +'_'+ prog +'_' + cname[3:8]
18plotSpectrum([sname,cname,res],ns)