pub struct BeamFieldAnalysis {
pub beam_angle_ies: f64,
pub field_angle_ies: f64,
pub beam_angle_cie: f64,
pub field_angle_cie: f64,
pub max_intensity: f64,
pub center_intensity: f64,
pub max_intensity_gamma: f64,
pub is_batwing: bool,
pub beam_threshold_ies: f64,
pub beam_threshold_cie: f64,
pub field_threshold_ies: f64,
pub field_threshold_cie: f64,
}Expand description
Comprehensive beam and field angle analysis.
Compares IES (maximum intensity based) and CIE (center-beam intensity based) definitions of beam angle and field angle. This is important for luminaires with non-standard distributions like “batwing” patterns.
See Wikipedia “Beam angle” article for the distinction between these definitions.
Fields§
§beam_angle_ies: f64Beam angle using IES definition (50% of max intensity) in degrees
field_angle_ies: f64Field angle using IES definition (10% of max intensity) in degrees
beam_angle_cie: f64Beam angle using CIE definition (50% of center-beam intensity) in degrees
field_angle_cie: f64Field angle using CIE definition (10% of center-beam intensity) in degrees
max_intensity: f64Maximum intensity anywhere in the distribution (cd/klm)
center_intensity: f64Center-beam intensity at nadir/0° gamma (cd/klm)
max_intensity_gamma: f64Gamma angle at which maximum intensity occurs (degrees)
is_batwing: boolTrue if this is a “batwing” distribution (center < max)
beam_threshold_ies: f6450% of max intensity (IES beam threshold)
beam_threshold_cie: f6450% of center intensity (CIE beam threshold)
field_threshold_ies: f6410% of max intensity (IES field threshold)
field_threshold_cie: f6410% of center intensity (CIE field threshold)
Implementations§
Source§impl BeamFieldAnalysis
impl BeamFieldAnalysis
Sourcepub fn beam_angle_difference(&self) -> f64
pub fn beam_angle_difference(&self) -> f64
Returns the difference between CIE and IES beam angles.
A large positive value indicates a batwing distribution where the CIE definition gives a wider beam angle.
Sourcepub fn field_angle_difference(&self) -> f64
pub fn field_angle_difference(&self) -> f64
Returns the difference between CIE and IES field angles.
Sourcepub fn center_to_max_ratio(&self) -> f64
pub fn center_to_max_ratio(&self) -> f64
Returns the ratio of center intensity to max intensity.
A value less than 1.0 indicates a batwing or off-axis peak distribution.
Sourcepub fn distribution_type(&self) -> &'static str
pub fn distribution_type(&self) -> &'static str
Get descriptive classification of the distribution type.
Sourcepub fn to_string_detailed(&self) -> String
pub fn to_string_detailed(&self) -> String
Format for display with both IES and CIE values.
Trait Implementations§
Source§impl Clone for BeamFieldAnalysis
impl Clone for BeamFieldAnalysis
Source§fn clone(&self) -> BeamFieldAnalysis
fn clone(&self) -> BeamFieldAnalysis
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more