You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to choose the phase offset in degrees of the NCO with the field PhaseOffset in the struct XRFdc_Mixer_Settings. However, it's not possible to set the phase to either -180.0 or +180.0 degrees. That is important in some scenarios, for example when an out-of-phase relation is required between NCOs on different ports, or when the NCO phase needs to be swept around the unit circle.
It's possible to choose the phase offset in degrees of the NCO with the field
PhaseOffset
in the structXRFdc_Mixer_Settings
. However, it's not possible to set the phase to either -180.0 or +180.0 degrees. That is important in some scenarios, for example when an out-of-phase relation is required between NCOs on different ports, or when the NCO phase needs to be swept around the unit circle.The issue seems to be the check in xrfdc_mixer.c:391:
I believe the second condition should be changed from
<=
to<
to allow setting phases in the half-open interval[-180.0, +180.0)
.The text was updated successfully, but these errors were encountered: