12.08.2013 Views

software to fit optical spectra - Quantum Materials Group

software to fit optical spectra - Quantum Materials Group

software to fit optical spectra - Quantum Materials Group

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

always come in pairs. All commands enclosed between BeginLoop and EndLoop are<br />

executed in a cycle.<br />

The command BeginLoop has one text parameter “LoopFile”, which contains the name<br />

(with a path, if necessary) of the so-called loop file. The loop file instructs RefFIT on how <strong>to</strong><br />

run the cycle. It is a text file, which has the same number of lines, as the desired number of<br />

cycle steps. Each line contains one or more words separated by space. The first word is the first<br />

cycle variable, the second word is the second variable and so forth.<br />

The cycle variables are used <strong>to</strong> modify text parameters of the commands in the cycle. If a<br />

text parameter contains combination “%1”, then it will be substituted by the first cycle variable.<br />

The combination “%2” is substituted by the second cycle variable etc. For instance, if the first<br />

cycle variable is “250”, then text string “C:\MYDATA\REFL_T%1.DAT” will become<br />

“C:\MYDATA\REFL_T250.DAT”. Such a substitution, for example, in the File parameter of<br />

the LoadDataset command will cause the loading of a different dataset on each cycle step.<br />

Guide <strong>to</strong> RefFIT Page 93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!