SLIDE 6 intuitive graphical user interface which integrates scientific visualisation with an enhanced data lan-
- guage. Many high level modules are predefined to
enable interactive data analysis and visualisation
- f 2D, 3D data and atomistic representations.
The input in the software consists of the col- lected raw data and a proxi file, which is a file written in IDL language. IDL, short for Inter- active Data Language, is a popular programming language used for data analysis in areas of science, such as astronomy, atmospheric physics and med- ical imaging. The programme also requires some instrumental parameters. For this specific project, several proxi files were written with the purpose of correcting the raw data recorded on the instrument and working with it in order to get the results needed. As it shows in Listing 1, LAMP reads the run-numbers of the experiment selected and using numerous functions (Table 3), the desired information is stored in sev- eral workspaces, from which it can be exported for a deeper treatment.
w1=rdrun(1234) reads run number 1234 into w1 rdsum(1234,1237) sums together runs 1234 to 1237 rdand(1234,1237) join together runs 1234 to 1237 rdopr(’1234+1237’) would sum runs 1234 and 1237 elascan_format transforms into common for- mat elascan_groupt groups temperature if neces- sary bsnorm normalizes to total monitor counts elascan_slab corrects sample data from an elastic scan. elascan_vnorm averages values and normal- izes elascan_remove removes bad detectors elascan_logplot changes x-axis and intensi- ties in order to plot ln I(Q) vs Q2 elascan_phi2q transforms x-axis from angle to Q and sort and join detec- tors w1_output exports files containing the
Table 3: LAMP functions
As it was mentioned, it is necessary to correct the raw data recorded on the instrument. In the neutron scattering intensity we have contributions coming from the sample holder and the aluminium paper folder that must be subtracted with the soft- ware programme. In order to do that, some mea- surements of the empy sample holder and only the aluminium folder are done. Furthermore, the scattered intensity of the sam- ple is lower in reality, because there are absorption and multiply scattering effects. For that reason, the measurements are normalized with respect to vanadium, since it is an element whose incoher- ent scattering cross section is close to zero. This permits to correct the detector eficiency.
Listing 1: Extract of a Proxi file ;*************************************** ;********** ECOLI ********************** ;*************************************** ;++++++++++ Empty cell ++++++++++++++++++ w1=rdsum(80707,80711) w1=elascan_format(w1) w1=bsnorm(w1) ;++++++++++++++ Aluminium ++++++++++++++ w2=rdsum(80713,80717) w2=elascan_format(w2) w2=bsnorm(w2) ;++++++++++++++++ Vanadium +++++++++++++ w3=rdsum(80434,80437) w3=elascan_format(w3) w3=bsnorm(w3) ;+++++++++++++++ Ecoli ++++++++++++++++++ w4=rdopr(’80720:80764’) w4=elascan_format(w4) w4=elascan_groupt(w4,dt=1,sort=1,average=1) w4=bsnorm(w4) ;+++++++++++ Correction sample+++++++++++ w5=elascan_slab(w4,background_w=2,angle=135, t_s=0.924,t_c=0.99,twice=1,f=1,corr=20) ;++++++++ Correction Vanadium+++++++++++++ w6=elascan_slab(w3,background_w=1,angle=135, t_s=0.83,t_c=0.99,twice=1,f=1,corr=20) w7=elascan_vnorm(w5,w6) w8=elascan_remove(w7,[1,24,25,26,27,28,29, 30,31,32,33,34,35,36,37,38]) w9=elascan_phi2q(w8,dQ=0.01) w10=w9[*,0:6] w11=total(w10,2) w12=elascan_logplot(w10) elascan_output,w11,file=’Ecoliw11’ elascan_output,w12,file=’Ecolilog’
6