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

32QAM #1

Open
safarisadegh opened this issue May 5, 2020 · 1 comment
Open

32QAM #1

safarisadegh opened this issue May 5, 2020 · 1 comment

Comments

@safarisadegh
Copy link

Hi, Thank you for your great repo. My question is when will 32-QAM (and other square powers of 2) be available on pyphysim?

@darcamo
Copy link
Owner

darcamo commented Jun 15, 2020

Sorry for the (very) late answer.

I don't have much free time to work on pyphysim, unless it is something I particularly need. Unfortunately, non-square QAM is not one of them. However, it should be easy to implement.

Most of the code for fundamental modulators (QAM, PSK, etc) is in the pyphysim.modulators.fundamental.Modulator class. Subclasses such as QAM need to implement only a method to generate the constellation, as well as the calcTheoreticalSER and calcTheoreticalBER methods.

The code in the QAM class is only valid for squared constellations and currently it raises an exception for non-squared constellations. If you want to extend it to non-square constellations (or if you already did) I would gladly accept pull requests.

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

No branches or pull requests

2 participants