EULUMDAT is the standard file format for luminaire photometric data in Europe. Despite being widely used — every goniophotometer lab produces .ldt files, every lighting simulation tool (DIALux, Relux, AGi32) consumes them — the format is remarkably poorly documented in English. This article is an attempt to fix that.

Background

The format was defined by the LiTG (Deutsche Lichttechnische Gesellschaft) in 1990. It predates XML, JSON and every modern data format. It is a plain-text, positional file: each piece of data occupies a specific line number, and a single missing or empty line shifts everything that follows, producing a corrupt file.

Despite its age, EULUMDAT remains dominant in Europe. IES files (IESNA LM-63) cover the same purpose and are standard in North America, but most European manufacturers distribute .ldt files.

File structure

A EULUMDAT file is a sequence of lines. There are no section markers, no delimiters other than newlines. The parser must count lines.

The first 26 lines (plus 6 lines per lamp set) form the header. The rest contains the photometric data.

Header fields (lines 1–26)

LineFieldTypeDescription
1COMPANYstringManufacturer name
2ITYPintLuminaire type (0=point, 1=linear, 2=area)
3ISYMintSymmetry code (see below)
4MCintNumber of C-planes
5DCfloatAngular step between C-planes (°)
6NGintNumber of γ-angles per C-plane
7DGfloatAngular step between γ-angles (°)
8REPORT_NOstringMeasurement report number
9LUMINAIRE_NAMEstringLuminaire description
10LUMINAIRE_NOstringLuminaire catalogue number (may be empty)
11FILE_NAMEstringOriginal filename
12DATE_USERstringDate and operator
13LENGTHfloatLuminaire length (mm)
14WIDTHfloatLuminaire width (mm)
15HEIGHTfloatLuminaire height (mm)
16LENGTH_LUMfloatLuminous area length (mm)
17WIDTH_LUMfloatLuminous area width (mm)
18H_C0floatHeight of luminous area at C=0° (mm)
19H_C90floatHeight of luminous area at C=90° (mm)
20H_C180floatHeight of luminous area at C=180° (mm)
21H_C270floatHeight of luminous area at C=270° (mm)
22DFFfloatDownward flux fraction (%)
23LORLfloatLight output ratio luminaire (%)
24CONV_FACTORfloatConversion factor
25TILTfloatTilt angle (°)
26N_SETSintNumber of lamp sets
27NUM_LAMPSintNumber of lamps — set 1
28LAMP_TYPEstringLamp type description — set 1
29LAMP_FLUXfloatTotal luminous flux (lm) — set 1
30CCTstringColour temperature — set 1
31CRIstringColour rendering index — set 1
32LAMP_WATTfloatPower (W) — set 1
…(repeat 6 lines per additional set)

Lamp sets (6 lines per set)

Starting at line 27, each lamp set occupies exactly 6 lines, one value per line. With N sets, lamp data spans lines 27 to 26+6N. Direct ratios start at line 27+6N.

NUM_LAMPS      ← number of lamps (integer; -1 = lamp not specified)
LAMP_TYPE      ← free text, e.g. "LED" or "1 x T5 35W"
LAMP_FLUX      ← rated luminous flux (lm)
CCT            ← correlated colour temperature, e.g. "4000K"
CRI            ← colour rendering index, e.g. "80"
LAMP_WATT      ← rated power (W)

Most files contain a single lamp set (N_SETS = 1). Files with multiple sets describe luminaires with interchangeable lamp configurations.

⚠️ Common mistake: some early parsers read all 6 values from a single line. This is wrong. Each value occupies its own line. The single-line interpretation produces silently incorrect results on any file where LAMP_TYPE contains spaces.

Angular data and intensity values

After the lamp sets come:

  • 10 direct ratio values (one per line or space-separated)
  • MC C-plane angles (degrees)
  • NG γ-angles (degrees)
  • Intensity values in cd/klm, organised by C-plane then γ-angle

The intensity unit is cd/klm (candela per kilolumen of lamp flux), not absolute candela. To convert:

I [cd] = I [cd/klm] × Φ_lamp [lm] / 1000
$$I_{abs}(C, \gamma) = I_{rel}(C, \gamma) \times \frac{\Phi_{lamp}}{1000}$$

Symmetry (ISYM)

The most subtle part of the format. ISYM allows the file to store only a subset of C-planes, reducing file size and smoothing the distribution.

ISYMDescriptionPlanes storedAveraging rule
0No symmetryAll MC planesNone — raw values
1Full rotational1 plane (C=0°)Mean of all planes
2About C0–C180MC/2 + 1 planesI_sym = [I(C) + I(360°−C)] / 2
3About C90–C270MC/2 + 1 planesI_sym = [I(C) + I(180°−C)] / 2
4QuadrantMC/4 + 1 planesMean of 4 symmetric planes

ISYM=3 storage order: planes are stored from C=270° down to C=90° (decreasing order). This is the opposite of what most people expect, and several parsers get it wrong. DIALux and Relux require this exact order to import the file correctly.

The values stored in the file are already averaged for ISYM 1–4. ISYM=0 is the only case that contains raw, unaveraged measurement data.

Real-world variations

Testing against files from 10 manufacturers revealed several deviations from the spec that a robust parser must handle:

  • Empty LUMINAIRE_NO (line 10): perfectly valid, must not be skipped
  • NUM_LAMPS = -1: used by some manufacturers (e.g. ERCO) to indicate that the lamp is not specified — common for LED modules
  • BOM UTF-8 prefix: some files (ERCO) include a UTF-8 byte order mark (0xEF 0xBB 0xBF) despite the format being ISO-8859-1. Strip before decoding.
  • DG = 0: seen in Signify/Philips files — the angular step is absent and must be inferred from the data

Python implementation

eulumdat-py is an open-source Python library that handles all of the above, available on PyPI as eulumdat-py:

1
pip install eulumdat-py
1
2
3
4
5
from pyldt import LdtReader

ldt = LdtReader.read("luminaire.ldt")
print(ldt.header.luminaire_name)
print(f"I(C=0°, γ=0°) = {ldt.intensities[0][0]:.1f} cd/klm")

The library expands the intensity matrix to the full [MC × NG] range regardless of ISYM, so the caller never has to deal with symmetry reconstruction.

To symmetrise a raw ISYM=0 distribution or automatically detect the appropriate ISYM mode, see Symmetrising EULUMDAT photometric files with Python.

References