-
Notifications
You must be signed in to change notification settings - Fork 33
BUG - unexplained small jitter in MAG burst mode timestamps #3068
Copy link
Copy link
Open
Labels
Data Release 1See - https://lasp.colorado.edu/galaxy/spaces/IMAP/pages/324168272/Public+ReleasesSee - https://lasp.colorado.edu/galaxy/spaces/IMAP/pages/324168272/Public+ReleasesIns: MAGRelated to the MAG instrumentRelated to the MAG instrumentPlannedTasks originally committed for the monthTasks originally committed for the monthRelease BlockerNeeds to be addressed before (next) public releaseNeeds to be addressed before (next) public releasebugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
Data Release 1See - https://lasp.colorado.edu/galaxy/spaces/IMAP/pages/324168272/Public+ReleasesSee - https://lasp.colorado.edu/galaxy/spaces/IMAP/pages/324168272/Public+ReleasesIns: MAGRelated to the MAG instrumentRelated to the MAG instrumentPlannedTasks originally committed for the monthTasks originally committed for the monthRelease BlockerNeeds to be addressed before (next) public releaseNeeds to be addressed before (next) public releasebugSomething isn't workingSomething isn't working
Type
Projects
Status
In Progress
Description of the issue
Looking at a day of L1b MAG BM data we can see slight jitter in the timestamps. This is unexpected and unexplained as we think the hardware does not exhibit this jitter so we need to understand the cause. Perhaps the clock correction in spice? Another issue #2464 may seem related but that has a maximum error on it of 0.000015s (1/65535). This jitter in this ticket is larger at max of 0.0003s
NOTE: This issue is lower priority than other bugs in the MAG backlog
Lots of the following is based on analysis by Tim H:
This is MAGo:
This is a histogram of the differences.
You’d expect this to be more one sided if the instrument clock were drifting with respect to the spacecraft. This spread is perhaps not enormous, it is a few percent and corresponds to a rotation error of under 0.01deg. The larger jumps go both backwards and forwards in quick succession which is odd. These are large enough to be of interest, being around 10% of the cadence. Perhaps they are symptoms of the spacecraft clock being corrected?
It would be helpful to start with a similar analysis at packet level (L0 and l1A?) and then trace the spource of the jitter assuming it is after that.
Expected vs Actual behavior
Would expect timestamps to be more continuous with no/smaller jitter
Code Snippet (If applicable)
Converting times from the CDF files like this in MTALAB, which preserves the time stamps more accurately, but is slower, than what we normally use:
The fast but inaccurate way is this: