pub struct PhotometricSummary {Show 24 fields
pub total_lamp_flux: f64,
pub calculated_flux: f64,
pub lor: f64,
pub dlor: f64,
pub ulor: f64,
pub lamp_efficacy: f64,
pub luminaire_efficacy: f64,
pub total_wattage: f64,
pub cie_flux_codes: CieFluxCodes,
pub beam_angle: f64,
pub field_angle: f64,
pub beam_angle_cie: f64,
pub field_angle_cie: f64,
pub is_batwing: bool,
pub upward_beam_angle: f64,
pub upward_field_angle: f64,
pub primary_direction: LightDirection,
pub distribution_type: DistributionType,
pub max_intensity: f64,
pub min_intensity: f64,
pub avg_intensity: f64,
pub spacing_c0: f64,
pub spacing_c90: f64,
pub zonal_lumens: ZonalLumens30,
}Expand description
Complete photometric summary with all calculated values.
This struct provides a comprehensive overview of luminaire performance that can be used for reports, GLDF export, or display.
Fields§
§total_lamp_flux: f64Total lamp flux (lm)
calculated_flux: f64Calculated flux from intensity integration (lm)
lor: f64Light Output Ratio (%)
dlor: f64Downward Light Output Ratio (%)
ulor: f64Upward Light Output Ratio (%)
lamp_efficacy: f64Lamp efficacy (lm/W)
luminaire_efficacy: f64Luminaire efficacy (lm/W)
total_wattage: f64Total system wattage (W)
cie_flux_codes: CieFluxCodesCIE flux codes (N1-N5)
beam_angle: f64Beam angle - 50% of max intensity (degrees) - IES definition
field_angle: f64Field angle - 10% of max intensity (degrees) - IES definition
beam_angle_cie: f64Beam angle - 50% of center intensity (degrees) - CIE definition
field_angle_cie: f64Field angle - 10% of center intensity (degrees) - CIE definition
is_batwing: boolTrue if distribution is batwing (center < max, IES ≠ CIE)
upward_beam_angle: f64Upward beam angle - 50% of upward peak (degrees)
upward_field_angle: f64Upward field angle - 10% of upward peak (degrees)
primary_direction: LightDirectionPrimary light direction (Downward or Upward)
distribution_type: DistributionTypeDistribution type (Direct, Indirect, DirectIndirect, IndirectDirect)
max_intensity: f64Maximum intensity (cd/klm)
min_intensity: f64Minimum intensity (cd/klm)
avg_intensity: f64Average intensity (cd/klm)
spacing_c0: f64S/H ratio for C0 plane
spacing_c90: f64S/H ratio for C90 plane
zonal_lumens: ZonalLumens30Zonal lumens in 30° zones
Implementations§
Source§impl PhotometricSummary
impl PhotometricSummary
Sourcepub fn from_eulumdat(ldt: &Eulumdat) -> Self
pub fn from_eulumdat(ldt: &Eulumdat) -> Self
Calculate complete photometric summary from Eulumdat data.
Sourcepub fn to_compact(&self) -> String
pub fn to_compact(&self) -> String
Format as single-line compact summary.
Sourcepub fn to_key_value(&self) -> Vec<(&'static str, String)>
pub fn to_key_value(&self) -> Vec<(&'static str, String)>
Format as key-value pairs for machine parsing.
Trait Implementations§
Source§impl Clone for PhotometricSummary
impl Clone for PhotometricSummary
Source§fn clone(&self) -> PhotometricSummary
fn clone(&self) -> PhotometricSummary
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more