eulumdat
Python bindings for the eulumdat-rs Rust library.
Parse, write, and analyze EULUMDAT (LDT) and IES photometric files with high performance.
Installation
Quick Start
# Parse an LDT file
=
# Access photometric data
# Validate the data
# Generate SVG diagrams
=
=
=
=
# Calculate BUG rating (IESNA TM-15-11)
=
# e.g., "B2 U1 G3"
# Export to IES format
=
Photometric Calculations (v0.3.0+)
# Complete photometric summary
=
# Full multi-line report
# One-line summary
= # For JSON serialization
# CIE flux codes (N1-N5)
=
# e.g., "100 77 43 0 0"
# Beam characteristics
# Spacing criteria (S/H ratios)
, =
# Zonal lumens (30° zones)
=
# Photometric classification code
# e.g., "D-M"
# Downward flux to specific angle
= # % within 60° of nadir
GLDF Export (v0.3.0+)
# Get GLDF-compatible photometric data
=
# Export as dictionary for JSON
=
UGR Calculation (v0.3.0+)
# Standard office room
=
=
# Custom room configuration
=
=
IES Format Support
# Parse IES files
=
# or from file
=
# Export to IES
=
Diagram Themes
# Light theme (default)
=
# Dark theme
=
# CSS variables for dynamic theming
=
# BUG diagram with detailed zone lumens table
=
License
MIT OR Apache-2.0