Open jordandekraker opened 2 years ago
you'll also need to resample the reference gradient wit this:
I've added the reference gradient to the latest commit and omitted the rule to use a dataset average gradient as the reference. I have yet to add in the ability to resample the reference gradient to different hippocampal surface densities since the density_interp
function appears to require an argument called resource_dir
to grab the starting and target unfolded surfaces. Would you be able to provide me with those surfaces and I could add them to the resources
directory for this pipeline? Thanks!
Ahh right, if you do this it will add hippunfold as a dependency, unfortunately. Its here: https://github.com/khanlab/hippunfold/tree/master/hippunfold/resources
https://github.com/myousif9/hippograd/blob/cd29d0777ac0d563b3ac54cd249c0ba6130dcfd0/hippograd/workflow/rules/post_hippunfold.smk#L21
use reference gradients from here: https://github.com/royhaast/smk-hcp-lifespan/blob/JDupdates/resources/AvgGradient_HCP-UR100_hemi-L.npy (could have this be an optional flag too though - eg. make new reference or manually specify a reference)