-
Notifications
You must be signed in to change notification settings - Fork 135
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
Update to deal with issues for convolution and drift (ready for review) #309
Merged
Merged
Changes from 17 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d21b386
Changed the order of downsampling in convolve_hrf to accelerate compu…
fcfe125
Extended testing to protect against the HRF being miscalculated/convo…
86044bf
PEP errors
cc778da
Error
6fabc57
In response to Mingbo's review: now downsample after convolution (as …
c0c95b7
PEP error
3e83f3b
Test error
42f5abd
Merge branch 'master' into fmrisim_drift
lcnature fead952
Updates for drift pull request
07b5fbd
Merge branch 'fmrisim_drift' of https://github.com/CameronTEllis/Brai…
b00aa12
Changed raise to warning for temporal precision error
c810e97
Made the evoked activity proportional to the mean activity of the voxel
ad70aa1
Downsample the HRF rather average, as we are doing slice time correction
38b2fdb
Updated gen_design to solve an issue resulting from changes to convol…
63795d2
Updated for test
56d949b
New changes to convolve hrf add a bit more slop to some tests for gen…
435a5d9
Error in the directionality of the warning for generate_stimfunction
45e7b93
Updated test
80fd00b
Merge branch 'master' into fmrisim_drift
lcnature File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion for future improvement: It is possible that the power of low frequency drift is higher than higher frequency drift. There may be some literature quantifying this property of fMRI data. It may be possible to weight fluctuations at different frequencies according to such pattern if it is reported in the literature, instead of putting equal weight. I am not expert on this. But I remember learning that fMRI power spectrum looks like 1/f.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion, I will keep it in mind