Skip to content

xASL_wrp_CreateBiasfield crashes with multiple sites #1287

@HenkMutsaerts

Description

@HenkMutsaerts

Description

xASL_wrp_CreateBiasfield crashes with multiple sites

Tasks

  • Replace xASL_wrp_CreateBiasfield line 267 iNext = [1 1 1]; by iNext = ones(1,nSites);
  • Add a test example with more than 2 sites to TestDataSets, that is already processed & only tests the Population module: TestDataSet with 3 sites #1291. xASL_wrp_CreatePopulationTemplates does not seem to need more than 2 subjects per site (although we may need to check how the outlier exclusion works that I wrote)

How to test

  • Run the population modules with a single site - Jan will run TestDataSets.
  • Run the population modules with more than 3 sites - Victor will try this on a real example.

Release notes

Fixed site-biasfield correction for more than 3 sites.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions