Skip to content
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

Offset analysis updates #327

Merged
merged 4 commits into from
Jun 9, 2024
Merged

Offset analysis updates #327

merged 4 commits into from
Jun 9, 2024

Conversation

tab-cmd
Copy link
Contributor

@tab-cmd tab-cmd commented Jun 5, 2024

Overview

Add support for determining offsets between timing verification Tasks (Ex. RSVPTimingVerificationCalibration) and RawData with a photodiode trigger column. This is useful for setting up new systems and preventing errors before an experiment begins.

Ticket

Contributions

  • Fixed bug with Matrix Timing Verification
  • Moved offset script to a module in helpers.

Test

  • make test-all
  • make offset
  • make offset-recommend

Documentation

  • Are documentation updates required? In-line, README, or documentation? In-line and README updates

Changelog

  • Is the CHANGELOG.md updated with your detailed changes? Yes

Copy link
Collaborator

@Carsonthemonkey Carsonthemonkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

if recommend_static:
# test for normality
_, p_value = normaltest(diffs)
print(f'{describe(diffs)}')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the f-string necessary here?

Copy link
Collaborator

@lawhead lawhead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice contribution and much needed. Thanks!

tab-cmd added 2 commits June 9, 2024 10:26
Add new tests, use the stim number to determine how many stimuli before skipping.
@tab-cmd tab-cmd merged commit 69dfe48 into 2.0.0rc4 Jun 9, 2024
6 checks passed
@tab-cmd tab-cmd deleted the offset_analysis_updates branch November 4, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants