Back to the main page.
Bug 3015 - ft_prepare_headmodel: when calling ft_prepare_mesh, cfg.method may not be configurable for the lower-level function
Status | CLOSED WONTFIX |
Reported | 2015-11-26 16:14:00 +0100 |
Modified | 2018-11-19 15:33:59 +0100 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Windows |
Importance: | P5 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Jan-Mathijs Schoffelen - 2015-11-26 16:14:04 +0100
I encountered this when calling ft_prepare_headmodel with cfg.method = 'singleshell', and a segmented MRI in the input. ft_prepare_headmodel calls ft_prepare_mesh, which supports a cfg.method as well (expecting it to be either projectmes/isosurface/iso2mesh). The behaviour of ft_prepare_mesh is in this way not configureable. It can probably be bypassed by calling ft_prepare_mesh directly on the segmented volume, and pass the mesh on to ft_prepare_headmodel, but then I suspect that the support for segmented volumes in the input for ft_prepare_headmodel does not make much sense.