Closed shunyas closed 4 years ago
Just found this discussion https://groups.google.com/forum/#!topic/rf-explorer/ZKbYlyAU3FA
Your are mixing the concept of measure, and the concept of step: 112 measures means 111 steps.
OK. In RFE world, (the number of steps) is (the number of measurement points - 1).
I think Agilent treats (the number steps) = (the number of measurement points) and that's why I'm confused. I just have to get my head around.
I guess EndFrequency should be calculated with number of steps minus 1. Like this:
return self.GetFrequencyMHZ(self.m_nTotalSteps-1)
https://github.com/RFExplorer/RFExplorer-for-Python/blob/02f379739486eca8f3226814897eab2e956f827a/RFExplorer/RFESweepData.py#L53
Let's say we have data with just three points:
start is 100 step is 1 number of steps is 3 stop = start + step * (n_steps - 1)
It's a simple correction but wonder if it affects anything depend on it. (e.g. calculation of span?)