Back to the main page.

Bug 155 - ft_read_data returns data in int32 format

Status CLOSED WONTFIX
Reported 2010-09-13 15:57:00 +0200
Modified 2011-01-26 15:38:30 +0100
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P3 minor
Assigned to: Joint development user
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2010-09-13 15:57:45 +0200

On 13 Sep 2010, at 15:43, Marcel van Gerven wrote: Ik merkte vandaag dat read_data int32 als output geeft als we data inlezen mbv acq2tf. Is eenvoudig op te lossen door de data binnen read_data naar double te casten. Heb dat niet gedaan omdat ik niet zeker wist of dat andere functionaliteit zou breken.


Stefan Klanke - 2010-09-13 17:44:56 +0200

This is a feature, and not a bug ;-) Generally ft_read_data will not change the type of the data it reads from the FieldTrip buffer (also doesn't make sense to represent 16bit fMRI data as doubles), and acq2ft writes the data as it comes in from the CTF shared memory. Note that there's a newer tool called acq2ftx, which can apply the gains and then write single precision numbers. I just added notes on this on the wiki: http://fieldtrip.fcdonders.nl/development/realtime/ctf#downsampling_channel_selection_applying_gains Having both acq2ft and acq2ftx is probably not sensible in the long term, and currently they only exist for historical/convenience/backup reasons. I'm open for suggestions what the default tool and its default options should be.


Robert Oostenveld - 2011-01-26 15:37:10 +0100

I closed all bugs that were resolved prior and including 2011-01-25. All resolved bugs should have been discussed by now, therefore we don't want to see them again in the next meeting. Instead, in the next meeting we want to see the recent improvements and fixes.


Robert Oostenveld - 2011-01-26 15:38:30 +0100

I closed all bugs that were resolved prior and including 2011-01-25. All resolved bugs should have been discussed by now, therefore we don't want to see them again in the next meeting. Instead, in the next meeting we want to see the recent improvements and fixes.