Hi,
I have an interactive Analyze header editor available via
http://eeg.sourceforge.net - download the mri_toolbox into your matlab path
and then use:
avw = avw_hdr_read('filenameprefix');
avw_hdr_view(avw)
You can edit the fields in the GUI and they should be saved back to the
workspace (I think). You should be able to then save the header:
avw_hdr_write(avw)
The avw variable is a struct, with fields avw.hdr..., so you could script
all the changes you want to make.
Hack the code even ;-)
Take care, Darren
----- Original Message -----
From: "Christian Kaufmann" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Sunday, November 24, 2002 5:16 AM
Subject: spm2b: spm_header_edit.m
> Hi,
> I wanted to change headers with spm2b but couldn't find
> spm_header_edit.m or something similar. Platform: Linux, Matlab 6.1
> Release 12.1.
>
> Thank you!
>
> Christian Kaufmann
>
>
> Max Planck Institute of Psychiatry
> Study Group Neurophysiology of Sleep/NMR
> Kraepelinstr. 10
> Munich, Germany
>
|