CommPy
CommPy copied to clipboard
Add power of 2 check to QAM
trafficstars
QAM currently only requires that the square root of the constellation size is an integer at initialization. QAM also requires that the constellation size be a power of 2. This PR adds a power of 2 check at QAM initialization.