[Ns-bugs] [Bug 543] noiseFloor -> noiseFigure
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed Apr 8 07:11:38 PDT 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=543
--- Comment #2 from Nicola Baldo <nbaldo at cttc.es> 2009-04-08 10:11:38 EDT ---
(In reply to comment #1)
> Sorry, but I disagreed:
> The signal argument to the CalculateSnr() function is in watt.
> To get snr (in plain-ratio) noise and interference are in watt as well.
>
please note that the "noiseFloor" variable which is declared locally within
the body of InterferenceHelper::CalculateSnr() is indeed in W, and since it
represents the power of noise it makes sense to name it "noise floor". For this
reason, the proposed patch leaves it with the same name.
On the other hand, the variable InterferenceHelper::m_noiseFloorW, which
actually refers to the noise figure, is not in W, it is dimensionless.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list