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

Day3 homework #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Day3 homework #9

wants to merge 2 commits into from

Conversation

spopham
Copy link
Contributor

@spopham spopham commented Nov 13, 2015

Solutions to slice_timing.ipynb and slice_time_image.py files, as well as the output interpolated nifti image from slice_time_image.py

@matthew-brett
Copy link
Contributor

Thanks for being fast.

First somewhat minor comment - you usually don't want to put generated output files into version control - like day3/Interp_ds107_sub012_t1r2.nii, because:

  • They are pretty quick to regenerate from the script and;
  • The files make the repository quite a bit larger, making it slower to clone, and taking up some of your quota on github.

# Do the interpolation;
time_offset = slice_times/slice_times.shape * TR
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually, I was intending that the input array is the thing you are calling time_offset here. I didn't specifically say this - sorry for that - but the clue is in the docstring above "The time in seconds ... relative to the start of the TR ...".

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.

2 participants