Skip to content

Commit db3c35f

Browse files
LukasElsterStefan Cyliax
authored andcommitted
Minor changes in plausibility and comments.
Signed-off-by: @lukas.elster <lukas.elster@tu-darmstadt.de>
1 parent 6331140 commit db3c35f

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed

osi_common.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -597,11 +597,11 @@ message DistributionData
597597

598598
// Defines the start value, end value and the sample number if distribution has equally discretized breakpoints.
599599
// In case of BREAKPOINTS_SPHERICAL the first one is azimuth and the second is elevation direction.
600-
// In case of BREAKPOINTS_RECTANGULAR the first one is x and the second is y direction
600+
// In case of BREAKPOINTS_RECTANGULAR the first one is x- and the second is y-direction.
601601
//
602602
repeated double WaveLengthData = 3;
603603

604-
// Defines the type of the distribution.
604+
// Defines the type of the data distribution.
605605
//
606606
optional Distribution distribution = 4;
607607

@@ -610,9 +610,9 @@ message DistributionData
610610
// In case of DISTRIBUTION_GAUSSIAN there has to be two values in the following order:
611611
// expected value, variance
612612
// If the type is DISTRIBUTION_CUSTOM data corresponds to a Lookup-Table with points
613-
// defined in the same message:
614-
// E.g. osi_object.proto: Spherical2d is defined before DistributionData and the number
615-
// of elements in data is equal to the discretization in Spheical2d.
613+
// defined via the breakpoints.
614+
// The maximum value of the distribution is defined in the osi message, in which this
615+
// message is used.
616616
//
617617
// Unit: %
618618
//
@@ -622,15 +622,15 @@ message DistributionData
622622
//
623623
enum Breakpoints
624624
{
625-
// The data points of the distribution is user-defined (e.g. breakpoints Lookup-Table).
625+
// The breakpoints of the distribution is user-defined (e.g. breakpoints Lookup-Table).
626626
//
627627
BREAKPOINTS_CUSTOM = 0;
628628

629-
// The distribution corresponds to an equal distribution.
629+
// The breakpoints of the distribution are in azimuth and elevation (spherical shape).
630630
//
631631
BREAKPOINTS_SPHERICAL = 1;
632632

633-
// The distribution corresponds to a Gaussian distribution.
633+
// The breakpoints of the distribution are in x- and y-coordinates (rectangular shape).
634634
//
635635
BREAKPOINTS_RECTANGULAR = 2;
636636
}

osi_object.proto

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -333,18 +333,10 @@ message StationaryObject
333333
//
334334
repeated double intensity_per_wavelength = 2;
335335

336-
// The beam angle of emitted electromagnetic wave in azimuth and elevation
337-
//
338-
// Unit: rad
339-
//
340-
repeated Spherical2d beam_angle = 3;
341-
342-
// Intensities of emitted electromagnetic wave referred to beam_angle.
336+
// Intensities of emitted electromagnetic wave.
343337
//
344338
// Unit: %
345339
//
346-
// \note The size of the message has to be equal to the discretization in beam_angle.
347-
//
348340
repeated DistributionData EDF = 4;
349341
}
350342
}

0 commit comments

Comments
 (0)