simonsobs / simonsobs/sotodlib

HKUtils: Check timestamps for cosampled data are within ~10% of each other

Open
#403 0 comments 0 reactions 1 assignee View on GitHub

@sanahabhimani is already working on this.

Since Feb 9, 2023.

Dominant language
Python
Stars
19
Forks
23
Avg merge
1d 5h
Merged PRs (30d)
14

Description

Need a more robust check for cosampled timestamps in the new hkutils. Testing whether the data is cosampled doesn't assert that all cosampled time stamps are the same because I noticed very slight changes in timestamps for devices that we know output cosampled data. Instead, it checks that the length of the time arrays of channels in a device are the same.

Maybe we take the diff of the times for channels in a device, do some more math, decide on some threshold value that if the timestamps are not far off within a certain limit, consider it as cosampled.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.