ENLIGHTEN™ Manual: .INI file format

<< KEYBOARD SHORTCUTS | TABLE OF CONTENTS | SAVED DATA FORMATS >>


Your ENLIGHTEN™ installation will contain a text file named “serial_lookup.ini” in the following path:

Program Files (x86)\Wasatch Photonics\ENLIGHTEN\Enlighten\enlighten\assets\example_data

This file follows a fairly straightforward syntax, and is used to selectively override individual settings in the spectrometer’s EEPROM. This allows users to customize a spectrometer’s default settings, update the wavelength calibration, etc. without going through the trouble of reprogramming its EEPROM.

Each block of the file starts with a spectrometer serial number, followed by an arbitrary set of name-value pairs:

[WP-00132]
integration_time = 10
wavelength_coeff0 = 399.2413
wavelength_coeff1 = 4.3601E-01
wavelength_coeff2 = -7.3314E-05
wavelength_coeff3 = 2.8049E-08
detector = S11511
tec_coeff0 = 4258.1
tec_coeff1 = -159.1
tec_coeff2 = -0.952
tec_adc_coeff0 = 61.42344811
tec_adc_coeff1 = -0.01121234
tec_adc_coeff2 = -0.00000080

These are the supported fields, which are all optional and may be listed in any order:

  • integration_time (milliseconds)
  • tec_coeff0 (float, aka degCToDACCoeff) – used to change the setpoint on the detector TEC
  • tec_coeff1 (float)
  • tec_coeff2 (float)
  • tec_setpoint (deg C) – initial value
  • tec_max (deg C)
  • tec_min (deg C)
  • detector (string label)
  • excitation (nanometers)
  • slit_size (micrometers)
  • wavelength_coeff0 (float) – wavelength calibration
  • wavelength_coeff1 (float)
  • wavelength_coeff2 (float)
  • wavelength_coeff3 (float)
  • tec_adc_coeff0 (float, aka adcToDegCCoeff) – used to convert raw detector temperature to °C
  • tec_adc_coeff1 (float)
  • tec_adc_coeff2 (float)
  • ccd_gain (float)

<< KEYBOARD SHORTCUTS | TABLE OF CONTENTS | SAVED DATA FORMATS >>