title: Binary bit flip generator in python
body: <p>I am currently using the <code>commpy.channels.bsc</code> function to flip the binary bots in a binary list with a given bit flip probability, The problem i am having is that I want to keep the a constant number of 1s in both my original and noisy vector.</p>
  
  <p>Thanks in advance. </p>