Back to the main page.

Bug 2021 - unit conversion in ft_plot_sens

Status CLOSED INVALID
Reported 2013-02-28 18:29:00 +0100
Modified 2019-08-10 12:03:15 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P3 trivial
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Hamid - 2013-02-28 18:29:38 +0100

ft_plot_sens doesn't consider the unit of the input sensors. I guess it needs a ft_convert_units(sens, 'mm').


Robert Oostenveld - 2013-02-28 18:34:29 +0100

ft_plot_sens is not meant to do something with the units. It just plots. Idem for the other ft_plot_xxx functions. These are low level functions (from the FT user perspective) and should be combined with the (also low-level) ft_convert_units to get it in the desired units.


Hamid - 2013-02-28 18:37:22 +0100

(In reply to comment #1) yes, sure


Robert Oostenveld - 2019-08-10 12:03:15 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on https://github.com/fieldtrip/fieldtrip/issues.