- CIO programs
- Setup
- Spectra
- Scan
- Tools
- RBSIM
- Tests
- cio01.pro
- clocktest.pro
- copy.pro
- copy2.pro
- coredump.pro
- dipz.pro
- dmigo.pro
- facf.pro
- fonts.pro
- intst.pro
- mtrgo.pro
- nonstop.pro
- over.pro
- ppuls.pro
- recurs.pro
- sol23.pro
- splintdemo.pro
- stept.pro
- synchrotest.pro
- testchan.pro
- testchan2.pro
- testdips.pro
- testgauss.pro
- testp.pro
- testprint.pro
- teststep.pro
- tzero.pro
- vanalles.pro
- xytest.pro
CIO programs
CIO programs - online helpINDEX OF USER-READY PROGRAMS
Setup
In this category programs to initialize program CONTROL, and setup the equipment are listed.aliases.pro
Aliases and constants of general interest should be placed in here. Called by program INITRBS.
dmiset4.pro
Set parameters for data taking with **three** ADC's in singles mode. Called by program INITRBS.
initrbs.pro
Init control for rbs setup (os91).
insluis.pro
Move goniometer to "insluis" position.
magini.pro
Initialisations for program MSGNET.
rpdis.pro
Define aliases rp and ds. ds : display leis spectra a1 .. a4 rp : do so every 30 seconds
setcoin.pro
Setup dma for position sensitive detector (LEIS)
setsp4.pro
Define spectrum "sp" and subspectra, with RR as varlist. The subspectra should be addressed via RR[0] ... RR[3], so that other than the default r1 .. r4 may be used. Called by program INITRBS. Example: if adc2 is used for PIXE (2k spectrum), all that has to be changed is "set RR r1 a2 r3;".
setsp4b.pro
Define spectra bg and fg. Define spectrum "bg" and subspectra, with RB as varlist. Define spectrum "fg" and subspectra, with RF as varlist. Called by program INITRBS.
setuppix.pro
Additional setup used for PIXE meaurements. PIXE detector is a2 (2k spectrum).
setxy.pro
Initialize xy pos. Called by program STEPRBS.
steprbs.pro
Initialize xy pos. Initialize stepping motors for rbs. Initialize pulser. Called by program INITRBS.
Spectra
Programs to collect and manipulate ADC spectra.calib.pro
Asks two calibration points, (ch0, E0) and (ch1,E1). Defines a 1024 ch spectrum named "cal", containing the energy corresponding to each channel. For use with displays where the horizontal axis chould be "energy" instead of channel number.
cycle.pro
This program asks for a line of Notes, starts a measurement, when finished writes the results to disk, and repeats itself ad nauseam.
dsp.pro
Display the contents of all RBS spectra, rejected as well as accepted ones.
dsplog.pro
Logarithmic display all RBS spectra, rejected as well as accepted ones.
meet.pro
Beam on / do measurement / beam off.
wrt.pro
Use this program instead of CIO command PUT, but only to write the spectrum "sp" !!
wrtsp.pro
Subroutine of program WRT, to write the spectrum "sp".
Scan
Programs to make a series of measurements meanwhile varying some parameter. Most of these programs assume that 'windows' on the ADC spectra and arrays to store results have been defined in a standard way.See also programs SETANGSC and WINDOWS.
angscan.pro
Basic program to do an angular scan. Called by programs TRIANG and SQUARE.
angset.pro
Set values in array ang. Used to define the coordinates for display of an angular scan, e.g after using program GONSCAN.
ascan.pro
Program to do a quick scan, usually with only one motor. Spectra are not stored to disk.
circle.pro
Measure a 'circle' with the LEIS 3-axis goniometer.
conus.pro
Measure a conus around a given axis, or a polar scan. The results are placed in spectra scan[0], scan[1], etcetera ... If they should be also stored on disk, use program GONSCAN.
dipfind.pro
Basic program to locate a dip in a scan.
dipsfind.pro
Calls program DIPFIND for multiple windows.
findplan.pro
Program to automatically locate a plane. Use at your own risk. Not tested recently. (PJMS 1998)
gonscan.pro
General program for a scan defined in crystal coordinates. Each spectrum is written to disk. The program assumes the string coordinates have been given with GON I
gonscan1.pro
Subroutine, used by program GONSCAN.
gonscan2.pro
Variation on program GONSCAN1. Program GONSCAN1 writes each individual spectrum, program GONSCAN2 does not.
gonscant.pro
Another variation on program GONSCAN1. Program GONSCANT does not do actual movements, just for debugging. Logs coordinates to lu 7.
norma.pro
Normalize scans present in arrays scan[0], etcetera.
rbcircle.pro
Make circle with RBS goniometer, not LEIS. Not working (yet?).
setangsc.pro
Set parameters and spectra needed for angular scans. Called by program WINDOWS.
spscan.pro
Playback of data from disk. Similar to program ANGSCAN.
square.pro
Measure a square, in order to locate an axis.
stepfind.pro
Program to locate a step in a spectrum.
triang.pro
measure a triangle, in order to locate an axis.
windows.pro
Input windows and other stuff needed for angular scans.
xyscan.pro
Do a translational scan.
xyscan2.pro
Do a translational scan.
yscan.pro
Make a linear scan in the x y plane.
Tools
Tools to manipulate spectra, do simple calculations, etcetera.addspc.pro
Add disk spectra together. This program adds up a number of consecutive disk spectra. The logical unit, and first and last sequence numbers are asked from the user. The user should also supply spectrum names for "worksp" and "resultsp". The result is left in "resultsp".
ang001.pro
Calculate the angle of an axis [HKL] with the axis [001].
anghkl.pro
Calculate the angle of an axis [hkl] with the axis [HKL].
aver.pro
Calculate average and standard deviation of nn values.
brho.pro
Calculate the B x rho value for a given ion.
export.pro
Output a spectrum to an ascii file: a line of notes the clock time, and adc times the motor positions 1023 lines with chnr, sp1, sp2, sp3 Uses spectrum bg (6k) with subspectra b1, b2 b3 (1k each). The user is asked for output_lu, first and last seq_nr. The input_lu == 1
hfread.pro
Read an ascii spectrum in HFI format. The file should be already assigned to LU 4. First line is three numbers.
hklang.pro
Program to calculate H,K,L from (theta,phi). In the first pass the directions (hkl) of the z and x axes are asked.
makedist.pro
Plot the frequency distribution of the numbers present in an array.
mkdist2.pro
Make a 2-dim frequency distribution of the numbers present in 2 arrays.
outer.pro
Calculate outer product of two vectors h,k,l and H,K,L.
swallow.pro
Make an input file for RUMP.
tot.pro
Add a number of consecutive disk spectra, and write the accumulated result to disk.
RBSIM
rbsimO.pro
Simulate spectrum for 620 keV protons 18O(p,alpha)15N in Ag.
rbsimSiFeAg.pro
rbsim simulations using program apc. For 1 Mev alpha particles in Si covered with Ag Fe and S. Substrate 1000 nm. Others 1 atom per square angstrom.
Tests
cio01.pro
Some tests and demos of CIO. To start: type 'run -f cio01' in CONTROL.
clocktest.pro
Duurtest voor adc clocks. Test if all dmi clocks are running.
copy.pro
Test / demo program, copy one array of numbers to another.
copy2.pro
Test / demo program, copy one array of numbers to another.
coredump.pro
Program caused a coredump on the INDY. Now fixed (3/03/95).
dipz.pro
Tests command DIPSFIND.
dmigo.pro
Dummy 'dmi go'. For testing CIO programs without actually measuring data. First define : alias dmi lgo -w dmigo
facf.pro
Test / demo, calculate n!.
fonts.pro
Shows Hershey fonts.
intst.pro
Test CIO command INTERPOL.
mtrgo.pro
Dummy 'mtr go'. For testing CIO programs without moving the motors. First define: alias mtr lgo -w mtrgo
nonstop.pro
Test of various CIO commands.
over.pro
Test / demo, CIO command OVAR.
ppuls.pro
Test program for digital pulser.
recurs.pro
Test /demo: calculate factorial ( n! ) using recursion.
sol23.pro
Some floating point excercise: transmission function?
splintdemo.pro
Test CONTROL command SPLINT.
stept.pro
Stepping motor test program.
synchrotest.pro
Stepping motor test program (LEIS).
testchan.pro
Test CONTROL command CHAN2.
testchan2.pro
Another test of CONTROL command CHAN2. ###different results on nvsf11 with optimized versions.
testdips.pro
Test CONTROL command DIPS.
testgauss.pro
Test program GAUSS.
testp.pro
Test CIO command PRINT.
testprint.pro
Enother test of CIO command PRINT.
teststep.pro
Test stepping motors (LEIS).
tzero.pro
Test CIO command ZERO, compare with CONTROL command DIPS.
vanalles.pro
Test most CIO commands. NOTE. To skip commands that require user interaction, define a CIO variable NONSTOP before calling this program.
xytest.pro
Test xy movement.