Ah, since you are from Tuebingen you might have the not yet released
newer SPM version, so you should do ft_read_headshape instead of
fileio_read_headshape. If you manage to get a meaningful error message
and/or figure out what's wrong with that .hc file, let me know.
Vladimir
On Mon, Jul 5, 2010 at 11:55 AM, Fabian Tomaschek <[log in to unmask]> wrote:
> Hello Vladimir,
>
> I get "??? Undefined function or method 'fileio_read_headshape' for input arguments of type 'char'."
>
> BUT I think I found my problem, but let me first explain to you what Im doing:
>
> I read my raw data with the ctf routines, filter out eye-blinks (my boss has a great routine for that) and average them afterwards. Then I write it back into ctf-format in an new dataset. And there is the problem with the new .hc files. The CTF codes somehow writes a flawed .hc file, because this new .hc file cannot be read by SPM8.
>
> But if I take the original .hc file, copy it into the new dataset and rename it, SPM8 can read the new .hc file and fiducials are found.
>
> I'll try to write a litte script which produces new .hc files itself, or replaces the values in an original .hc file. Hopefully this will work.
>
> Thanks for your help till now,
> greetings from Tübingen
> Fabian
>
>
|