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

Allow stimulus-related metadata #31

Merged
merged 4 commits into from
Oct 9, 2019
Merged

Allow stimulus-related metadata #31

merged 4 commits into from
Oct 9, 2019

Conversation

timholy
Copy link
Owner

@timholy timholy commented Oct 7, 2019

This adds basic support for stimulus sequences encoded in the header file. The three new optional fields are:

  • "stimulus sequence": a delimiter-separated string listing your stimulus names in the order in which they are delivered. Example: "chemical1$chemical2$chemical1"
  • "stimulus pulses": a Vector{Int} containing the scan numbers in the .ai file at which stimulus pulses occur
  • "stimulus frame": a Vector{Int} encoding the next frame index after each stimulus pulse

There was no good reason to encode this via types, values are easier.
We should switch to just "bidirectional" but old files may be written 
this way.
@timholy timholy merged commit 2a0f565 into master Oct 9, 2019
@timholy timholy deleted the teh/stimuli branch October 9, 2019 21:18
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.

1 participant