Skip to content

Conversation

@Lestropie
Copy link
Member

Alternative solution to #900.

Forgot I did this at one point; figured I'd list it to remind myself to have another look, check my laptop and make sure there weren't any other commits. Also whether LoopFixelsInVoxelWithMax should remain here or move into the headers.

Option specifies the number of fixels to process per voxel. If calculating some statistic from the fixels, then only up to the largest N fixels will be considered. If splitting the data to form a 4D volume, this option controls the number of fixels per voxel to output, and the data will be padded appropriately.
This additionally forms a safety barrier in the dwi2response tournier algorithm, in the rare case where no single-fibre voxels contain a second fixel; by specifying -number 2, every voxel will contain 2 fixel amplitude values.
@thijsdhollander thijsdhollander merged commit 89ef727 into tag_0.3.16 Mar 9, 2017
thijsdhollander added a commit that referenced this pull request Mar 9, 2017
@thijsdhollander
Copy link
Contributor

👍 I've merged manually. Was slightly awkward since the scripts folder is already gone on tag_0.3.16, but I think I've done it correctly.

@thijsdhollander thijsdhollander deleted the fixel2voxel_num_option branch March 9, 2017 23:32
@thijsdhollander thijsdhollander mentioned this pull request Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants