Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Create an MVP frequency correction script in C #9

Closed
pyuxiang opened this issue Feb 1, 2023 · 1 comment
Closed

Create an MVP frequency correction script in C #9

pyuxiang opened this issue Feb 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@pyuxiang
Copy link
Collaborator

pyuxiang commented Feb 1, 2023

Relevant equation found in #6.

Perhaps we can name it freqcd for the frequency correction daemon, styled after the error correction package named thusly errcd.

Relevant parameters are:

  • Pipe for (64-bit) timestamp events
  • Frequency correction offset (either in floating point, or integer with specified units)
  • Output pipe for corrected events (to chopper)

Might need to manually track overflow in timestamp events, as well as truncate back to 64-bit. Reference start time will correspond to the first timestamp event entering the pipe.

@pyuxiang pyuxiang added the enhancement New feature or request label Feb 1, 2023
@pyuxiang pyuxiang self-assigned this Feb 1, 2023
pyuxiang added a commit that referenced this issue Feb 2, 2023
@pyuxiang
Copy link
Collaborator Author

pyuxiang commented Feb 2, 2023

Closed with commit 82b84bd.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant