Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convolution sign fix #151

Merged
merged 1 commit into from
Jan 13, 2021
Merged

Convolution sign fix #151

merged 1 commit into from
Jan 13, 2021

Conversation

ik1xpv
Copy link
Owner

@ik1xpv ik1xpv commented Jan 12, 2021

A possible correction of convolution sign bug and gain correction. :-)

Correcting the sign bug the sqroot and gain correction.
@ik1xpv ik1xpv requested review from howard0su and hayguen January 12, 2021 09:41
Core/fft_mt_r2iq.cpp Show resolved Hide resolved
@howard0su
Copy link
Collaborator

howard0su commented Jan 12, 2021 via email

@hayguen
Copy link
Collaborator

hayguen commented Jan 12, 2021

pfilterht[halfFft-1-t][0] = gainadj * pht[t]; looks similar to what i have in pffft

gainadj : here we should have a test, that verifies full scale (carrier in passband) at input produces exactly full scale at output - without any dBm correction depending on receiver model and preamp. also see #140
In the extIO and other tools, the dBm correction should also be deactivatable easily .. to be able to pass the correction value the user or SDR program separately.

looks good for me .. without having tested in detail.
but think, that Howard should contain the reversing of time domain filter directly in his pull request #148

@ik1xpv
Copy link
Owner Author

ik1xpv commented Jan 12, 2021

@howard,
@hayati,
please be free to merge it if of some use after #148 or close.

@howard0su howard0su merged commit 5fbf7b6 into master Jan 13, 2021
@ik1xpv ik1xpv deleted the sign-fix branch March 2, 2021 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants