Fix tansmission parameters to reflect parameters.

This commit is contained in:
sunwen
2023-06-13 16:56:30 +08:00
parent a085041e49
commit 9b2c272ac6
2 changed files with 3 additions and 3 deletions

View File

@@ -17,8 +17,8 @@ Matrix filterReflectionData(const Matrix &aVReceiverPositionBlock,
auto positionDifs = aVReceiverPositionBlock - aVSenderPositionBlock;
auto inbetweenAngle = acos(dot(aVSenderNormalBlock, positionDifs) /
vecnorm(positionDifs, Norm2, 1));
auto flags = Aurora::auroraNot((inbetweenAngle < (PI * transParams::angleLowerLimit / 180)) +
(inbetweenAngle > (PI * transParams::angleUpperLimit / 180)));
auto flags = Aurora::auroraNot((inbetweenAngle < (PI * reflectParams::angleLowerLimit / 180)) +
(inbetweenAngle > (PI * reflectParams::angleUpperLimit / 180)));
reflectData = reflectData * flags;
}
return reflectData;