Hi Steve,
I have written a little tool based on the spm_realign.m subfunction plot_parameters to be used as a standalone version.
It can plot the parameters saved in 'rp_*.txt' files, but can also read and plot the *.mat information from 3D or 4D fMRI files.
See 'help plot_realignment_params' for details
https://github.com/ChristianBuechel/spm_tools
I hope this helps,
Christian
--
Prof. Dr. Christian Büchel
Institut für Systemische Neurowissenschaften Haus W34, Universitätsklinikum Hamburg-Eppendorf Martinistr. 52, D-20246 Hamburg, Germany
Tel.: +49-40-7410-54726
Fax.: +49-40-7410-59955
[log in to unmask]
http://www.uke.uni-hamburg.de/institute/systemische-neurowissenschaften/
> -----Ursprüngliche Nachricht-----
> Von: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] Im
> Auftrag von Steve Eaton
> Gesendet: Wednesday, April 7, 2021 5:25 PM
> An: [log in to unmask]
> Betreff: [SPM] Converting rp text file to realignment figure
>
> Hello,
>
> I am looking for a way to convert the realignment parameters txt file into the
> figure you see when you first perform realignment. Is there a way to do this?
> Or some other way of establishing whether or not the subject has crossed
> movement thresholds (>3mm) using the rp txt files?
>
> Thanks,
>
> Steve
--
_____________________________________________________________________
Universitätsklinikum Hamburg-Eppendorf; Körperschaft des öffentlichen Rechts; Gerichtsstand: Hamburg | www.uke.de
Vorstandsmitglieder: Prof. Dr. Burkhard Göke (Vorsitzender), Joachim Prölß, Prof. Dr. Blanche Schwappach-Pignataro, Marya Verdel
_____________________________________________________________________
SAVE PAPER - THINK BEFORE PRINTING
|