DAZZLER
TM
system manual Part I : installation & operation
5.5
amplitude=0
position=8000
width=1600
hposition=8000
hwidth=100
hdepth=00
phase=0
delay=42000
order2=-12862.37
order3=0
order4=0
centralwl=8000
auto=1
addwaveform=0
frommemory=0
combamp=10
combphase=00
power=0.100000
cg=0
lmemory=0
cep=00
Table 5.1: wave.txt Table of controls
Except for the
wave.txt
file used to save program defaults, it is not mandatory to provide
value for every control. Only those named in the text file are changed, others will be kept
constant (e.g. one line of the form
position = 780.0
).
After this first section, the wave text file may contain
#amp
and
#phase
sections which specify
numerical amplitude and phase. If present, the data in the sections are used to overwrite the
amp.txt
and
phase.txt
before computing the new waveform (see
for format).
5.4.1
amp.txt and phase.txt file format
Both arrays describing spectral amplitude and phase should be written in the files as two column
arrays with the ”
tabulation
” character as separator (
Excel
and
LabVIEW
spreadsheet
standard
.txt
format).
•
First column : wavelength in nm in increasing order
•
Second column : amplitude or phase value for that wavelength
Units for the phase are radians, units for the amplitude are arbitrary (only the relative values
are relevant).
Note that these files can be embedded in the
wave
files, using separators #amp or #phase (see
Calculation
The spectral amplitude
A
f ile
(
ω
) and spectral phase
P
f ile
(
ω
) are interpolated with respect to
ω
, between the points given in the file.
A
f ile
(
ω
) is linearly interpolated, while
P
f ile
(
ω
) is
interpolated by a spline. For wavelengths outside of the range found in the file, the applied
values are those at the boundaries, eg. for a wavelength of 600nm, a value of 0.3 in the next
example.
V3.00 - 8
th
April 2019