bachlab / PsPM

A matlab suite for Psycho-Physiological Modelling
GNU General Public License v3.0
43 stars 11 forks source link

SPM12 Data Import? #68

Closed SANLAB-Bill closed 4 years ago

SANLAB-Bill commented 4 years ago

Summary

Dear Dominik Wondering if it is possible to import SPM12 data directly into PsPM 4.0.2? If not I can import as a matlab array as described in the manual but would appreciate any advice regarding importing the SPM12 event structure into PsPM.

Cheers

-Bill

Technical Info

irojkov-ph commented 4 years ago

Dear Bill, PsPM supports the SPM12 file format that you can use in various parts of the code e.g. pspm_glm or pspm_sf. Why exactly are you asking this question ? What kind of data you want to import into PsPM and what kind of task do you want to perform on it using PsPM ?

Regads, Ivan.

SANLAB-Bill commented 4 years ago

Many Thanks for your response Ivan. I have some data that includes both EEG and SCR, Respiration etc and wanted to import some channels into PsPM for analysis.

I ended just extracting the data from the SPM12 file and imported into PsPM in matlab format and then wrote a script to incorporate the event markers into the PsPM format data file. Seems to be working Ok but if there is a direct way to import SPM12 data into PsPM I’d appreciate a advice.

Many Thanks -Bill

From: irojkov-ph notifications@github.com Sent: Monday, 11 November 2019 8:06 PM To: bachlab/PsPM PsPM@noreply.github.com Cc: Bill Budd bill.budd@newcastle.edu.au; Author author@noreply.github.com Subject: Re: [bachlab/PsPM] SPM12 Data Import? (#68)

Dear Bill, PsPM supports the SPM12 file format that you can use in various parts of the code e.g. pspm_glm or pspm_sf. Why exactly are you asking this question ? What kind of data you want to import into PsPM and what kind of task do you want to perform on it using PsPM ?

Regads, Ivan.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bachlab/PsPM/issues/68?email_source=notifications&email_token=ANWCGD3ZKYS5KQ3QOYLWKXDQTEN6ZA5CNFSM4JJKG2DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDWEDHA#issuecomment-552354204, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANWCGD4KTDKHQ7RM6HCAPZ3QTEN6ZANCNFSM4JJKG2DA.

irojkov-ph commented 4 years ago

Dear Bill, May I ask you to provide us a sample data ? It could help me to provide you a complete support. Thank you in advance, Ivan

dominikbach commented 4 years ago

Hi Bill

PsPM can directly use SPM 12 multiple condition files, but no other data.

We could potentially design a direct import of psychophysiology data from SPM 12 if you send us a sample. It may however be easier to import these from their native (recording) format, depending on what that is.

Let us know if you need further support.

Best Dominik