-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wander TDEV and MTIE Analyzers #38
Conversation
85e7f4a
to
9074fbe
Compare
6d779bc
to
c193655
Compare
if ((low is None or tau > low) and (tau <= high)): | ||
return f(tau) * (self._limit / 100) | ||
|
||
def out_of_range(self, taus, samples): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also may be better as a regular function.
df901d6
to
d811478
Compare
30feafd
to
504f181
Compare
self._samples = None | ||
|
||
def test(self, data): | ||
result = super()._test_common(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result = super()._test_common(data) | |
result = self._test_common(data) |
return result | ||
|
||
def explain(self, data): | ||
analysis = super()._explain_common(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
analysis = super()._explain_common(data) | |
analysis = self._explain_common(data) |
self._samples = None | ||
|
||
def test(self, data): | ||
result = super()._test_common(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result = super()._test_common(data) | |
result = self._test_common(data) |
return result | ||
|
||
def explain(self, data): | ||
analysis = super()._explain_common(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
analysis = super()._explain_common(data) | |
analysis = self._explain_common(data) |
|
||
(a, f1), (c, f2) = REQUIREMENTS['G.8272/PRTC-A']['maximum-time-interval-error-in-locked-mode/us'].items() | ||
|
||
self.assertEqual(f1(100), 0.052500000000000005) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.525...
is very specific, worth a comment? (For one, I'd like to understand why!)
This PR add Time Deviation calculation for the four points of observations in the system.