Back to the main page.
Bug 1588 - ft_fetch_sens should fetch units
Status | CLOSED FIXED |
Reported | 2012-07-03 12:26:00 +0200 |
Modified | 2012-08-22 17:31:48 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Windows |
Importance: | P3 normal |
Assigned to: | Johanna |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Johanna - 2012-07-03 12:26:19 +0200
I had an error in my leadfield computation due to sens and vol having different units. I assumed FT would either convert for me, or error. (Indeed ft_prepare_vol_sens does have a check for compatible units). However, the call to ft_fetch_sens in prepare_headmodel drops the units of sens, thus the unit check in ft_prepare_vol_sens didn't complain because sens no longer had units. I asked Joern, and he said go ahead and add the units if they exist, so I will.