Skip to content

Commit

Permalink
update limit to ns
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunyez authored and nocturnalastro committed Oct 5, 2023
1 parent 7d6d595 commit eccd80c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/vse_sync_pp/analyzers/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ class MaxTimeIntervalErrorAnalyzerBase(TimeIntervalErrorAnalyzerBase):
"""
def __init__(self, config):
super().__init__(config)
# required system maximum time interval error output in us
self._accuracy = config.requirement('maximum-time-interval-error-in-locked-mode/us')
# required system maximum time interval error output in ns
self._accuracy = config.requirement('maximum-time-interval-error-in-locked-mode/ns')
# limit of inaccuracy at observation point
self._limit = config.parameter('maximum-time-interval-error-limit/%')
# list of observation windows intervals to calculate MTIE
Expand Down
12 changes: 6 additions & 6 deletions src/vse_sync_pp/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

REQUIREMENTS = {
'G.8272/PRTC-A': {
'maximum-time-interval-error-in-locked-mode/us': {
(None, 273): lambda t: 0.000275 * t + 0.025,
(274, None): lambda t: 0.10
'maximum-time-interval-error-in-locked-mode/ns': {
(None, 273): lambda t: 0.275 * t + 25,
(274, 10000): lambda t: 100
},
'time-deviation-in-locked-mode/ns': {
(None, 100): lambda t: 3,
Expand All @@ -16,9 +16,9 @@
'time-error-in-locked-mode/ns': 100,
},
'G.8272/PRTC-B': {
'maximum-time-interval-error-in-locked-mode/us': {
(None, 54.5): lambda t: 0.000275 * t + 0.025,
(54.5, None): lambda t: 0.04
'maximum-time-interval-error-in-locked-mode/ns': {
(None, 54.5): lambda t: 0.275 * t + 25,
(54.5, 10000): lambda t: 40
},
'time-deviation-in-locked-mode/ns': {
(None, 100): lambda t: 1,
Expand Down

0 comments on commit eccd80c

Please sign in to comment.