import_measured_plate_spectra

Navigation:  User guide > OLE automation > Properties >

import_measured_plate_spectra

Previous pageReturn to chapter overviewNext page

Loads measured spectra into a layer of type 'Plate measured'.

 

You have to specify the following parameters:

 

stack_index: Index of the layer stack (integer)

layer_index: Index of the layer in the stack (integer)

T : filename (including path) of the transmittance spectrum

R-Top: filename (including path) of the reflectance spectrum (top side)

R-Bottom: filename (including path) of the reflectance spectrum (bottom side)

file_format: File format as integer number (see file format specification)

option_t : file option for transmittance data

option_r_top : file option for reflectance data (top side)

option_r_bottom : file option for reflectance data (bottom side)

 

If you read the spectra from individual files which contain one spectrum only, all file options are 1.

If you read all spectra from a single file which contains all required data, you have to use the same filename for T, R-Top and R-Bottom and specify different values for option_t, option_r_top and option_r_bottom, depending of the sequence of the data in the file.