Your getting into basic python questions now, maybe check out some
python tutorials first. The “tap” in that for loop just iterates over
each value in mywindow. The += is the assignment by addition operator,
it adds the value of “tap*tap” to the value of power.
From: [email protected]nvalid
[mailto:[email protected]nvalid] On Behalf Of
Sent: Wednesday, November 12, 2008 11:18 AM
To: [email protected]
Subject: [Discuss-gnuradio] Usrp_spectrum_sense.py doubts
Can anyone explain me this from usrp_spectrum_sense.py (line 55)?
for tap in mywindow:
power += tap*tap
mywindow is done with window.py but I didn’t find where is “tap” and
what it means…
Furthermore, Does “+=” means that increase one unit to the result of
Sorry if I am a little useless…