Tabulated spectrum

Description

../../../_images/tabulated.png

Tabulated spectrum

Spectrum This spectrum type takes tabulated spectral values, with constant wavelength steps.

Note

Using this feature requires an Advanced Edition license

Unit

The unit of the user-defined tabulated values

Ocean XML 3.0 example

Syntax 1

The wavelength range and number of points is passed as parameters. This results in a constant wavelength step, and only the y values are given.

<spectrum type="tabulated" name="5" start="380E-9" end="780E-9" num="11">
   0.701 0.882 0.930 0.944 0.947 0.943 0.935 0.920 0.899 0.871 0.830
</spectrum>

Syntax 2

The spectrum points are given as wavelength/value pair, all in a single number list. This provides more flexibility, but generates bigger files.

<spectrum type="tabulated" name="spectrum">
   3.76E-07 1.44 3.87E-07 1.5 4.00E-07 1.55 4.13E-07 1.59 4.28E-07   1.63 4.43E-07 1.68
   4.59E-07 1.71 4.77E-07 1.75 4.96E-07 1.78 5.17E-07 1.81 5.39E-07 1.86 5.64E-07 1.92
   5.90E-07 2.01 6.20E-07 2.11 6.53E-07 2.22 6.89E-07 2.36 7.29E-07 2.54 7.75E-07 2.74
</spectrum>