Skip to content

Commit 80f3220

Browse files
committed
Minor changes in plausibility and comments.
Signed-off-by: @lukas.elster <lukas.elster@tu-darmstadt.de>
1 parent 284cef3 commit 80f3220

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
@@ -535,11 +535,11 @@ message DistributionData
535535

536536
// Defines the start value, end value and the sample number if distribution has equally discretized breakpoints.
537537
// In case of BREAKPOINTS_SPHERICAL the first one is azimuth and the second is elevation direction.
538-
// In case of BREAKPOINTS_RECTANGULAR the first one is x and the second is y direction
538+
// In case of BREAKPOINTS_RECTANGULAR the first one is x- and the second is y-direction.
539539
//
540540
repeated double WaveLengthData = 3;
541541

542-
// Defines the type of the distribution.
542+
// Defines the type of the data distribution.
543543
//
544544
optional Distribution distribution = 4;
545545

@@ -548,9 +548,9 @@ message DistributionData
548548
// In case of DISTRIBUTION_GAUSSIAN there has to be two values in the following order:
549549
// expected value, variance
550550
// If the type is DISTRIBUTION_CUSTOM data corresponds to a Lookup-Table with points
551-
// defined in the same message:
552-
// E.g. osi_object.proto: Spherical2d is defined before DistributionData and the number
553-
// of elements in data is equal to the discretization in Spheical2d.
551+
// defined via the breakpoints.
552+
// The maximum value of the distribution is defined in the osi message, in which this
553+
// message is used.
554554
//
555555
// Unit: %
556556
//
@@ -560,15 +560,15 @@ message DistributionData
560560
//
561561
enum Breakpoints
562562
{
563-
// The data points of the distribution is user-defined (e.g. breakpoints Lookup-Table).
563+
// The breakpoints of the distribution is user-defined (e.g. breakpoints Lookup-Table).
564564
//
565565
BREAKPOINTS_CUSTOM = 0;
566566

567-
// The distribution corresponds to an equal distribution.
567+
// The breakpoints of the distribution are in azimuth and elevation (spherical shape).
568568
//
569569
BREAKPOINTS_SPHERICAL = 1;
570570

571-
// The distribution corresponds to a Gaussian distribution.
571+
// The breakpoints of the distribution are in x- and y-coordinates (rectangular shape).
572572
//
573573
BREAKPOINTS_RECTANGULAR = 2;
574574
}

osi_object.proto

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -294,18 +294,10 @@ message StationaryObject
294294
//
295295
repeated double intensity_per_wavelength = 2;
296296

297-
// The beam angle of emitted electromagnetic wave in azimuth and elevation
298-
//
299-
// Unit: rad
300-
//
301-
repeated Spherical2d beam_angle = 3;
302-
303-
// Intensities of emitted electromagnetic wave referred to beam_angle.
297+
// Intensities of emitted electromagnetic wave.
304298
//
305299
// Unit: %
306300
//
307-
// \note The size of the message has to be equal to the discretization in beam_angle.
308-
//
309301
repeated DistributionData EDF = 4;
310302
}
311303
}

0 commit comments

Comments
 (0)