-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add analysis scripts for averaging and plotting contours #124
base: analysis
Are you sure you want to change the base?
Conversation
Also adding |
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.
Sorry to submit this a little late; overall the code is good, just needs to be updated in places to use the proc
system instead of the cache files, plus some minor tweaks.
hcpannot/analysis/lmm.py
Outdated
''' | ||
|
||
# create a dictionary to store the data | ||
contour_data = defaultdict(lambda: defaultdict(list)) |
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.
I think this can just be defaultdict(dict)
since you don't actually use contour_data[hemi][tag].append(...)
anywhere.
Adding
contour.py
tohcpannot/analysis
andaverage_contour.ipynb
towork
directory.