change empty epoch creation for eyelink import; scale according to sampling rate
adapt parameters for hprf and psrf in manual and code from published papers
ensure marker_chan has same dimension as data_fn
remove join from import eyelink to support older matlab versions
fix parameters for response function according to manual and paper
reformat code for glm
Hi Giulia to me it seems that the events have timings which relate to the original data file and sould be corrected to agree with the trimming. According to tscr_S01_EXP_GSR.mat the trimpoints (in 'infos.trimpoints') are [401.9960 1.5330+e03]. Therefore you could correct your timings for the dcm like this: timingfile = load('S01_all_onsets.mat') datafile = load('tscr_S01_EXP_GSR.mat') timingfile.events{1} = timingfile.events{1} - datafile.infos.trimpoints(1) timingfile.events{2} = timingfile.events{2}...
change to older lyx version
update default values
support multiple sessions with labchart direct import
add new manual
update version and make eyelink import faster
Hi Jacob unfortunately I'm unable to reproduce that error. I think there is something different/unexpected with your datafile. Could you please provide me an example file with which I should be able to reproduce that error? (You could also send it as private message to me) Best Tobias
fix bugs and change version and manual
add new release 4.0.2 branch
adjust convertions au2unit, adjust review, change toolbox detection
fix area2diameter bug again
Hi Ambra Yes, thank you (: Best Tobias
fix area2diameter conversion bug
Hi Ambra Thank you for the Information. I completely agree with you and changed this accordingly in the repository. If you haven't changed your code yet, you could download the function from the repository or from here: https://sourceforge.net/p/pspm/svn/HEAD/tree/trunk/pspm_convert_area2diameter.m (doesn't work at the time, but this should be the URL) Best Tobias
Hi Hannah Sorry for the late response. According to the data you sent me, I think the parameter for the contrast vector is wrong. If you want to report all the contrasts, just leave it empty, or use indexes if you want to report specific contrasts (i.e. [2 4] for the 2nd and 4th contrast). Does this work? Otherwise could you also tell me what parameters you use to report the second level model? Best Tobias
version changes
implement hoeks pupil erlang response function
update version in quit
update version
remove wrong manual
minor fixes to minor release 4.0.1
minor changes and prepare minor release
bugfix
new large spike compensation
Hi Hannah Thank you for the example file. Unfortunately I am still not able to reproduce the problem you described above. Could you also send me the file you get after creating the second level contrasts (sorry, I was a bit in a rush last week and forgot to mention this)? Could you also provide me the contrasts you specify to report the second level model? Regarding filter settings, these can be set in the GLM using 'Filter settings' > 'Edit settings' (in the GUI). For artefact removal we have automatic...
Hi Hannah To me this looks like there might be something wrong with the specification of the contrasts. But this is just a guess. Could you send me an example model file (the file you pass as an argument to the second level review method to create the second level model)? Then I can check whether there is something wrong with the model-file. Best Tobias
fix for unit conversion
Hi Maddison I assume you are trying to create a matlab file in order to import the data. If you have the data as a table you could use table2array() to convert the data into the format expected by PsPM. Use something similar to the following lines to create a file in the format expected by PsPM: >> % this is to check whether your data really is a table >> class(data_table) ans = 'table' >> data = table2array(data_table); % convert the table to a matrix >> save('some_file.mat', 'data'); % save the...
Hi Maddison then you may have left some required field unspecified. Ensure every field with <-X is specified. If everything is specified then you should see something happening in the matlab console, once you hit run. best Tobias
Hi Maddison the sampling rate is the number of samples (measurements) you have per second. Trim is used to remove unused data at the beginning and at the end of the recorded data. Usually data starts with the first and ends with the last trigger/marker. If this is the case, you could trim at the start and end marker with some offset. For offsets: values below 0 are used to trim before the marker (for start markers) and values above 0 are used to trim after the marker (for end markers). Have you already...
update dcumentation for unit change and further changes to functions
change to not predefine units
Hi Maddison I'm not sure what you mean by headers? Do you use a specific software to export the data as matlab file? I assume the matlab file does not need any headers. I suggest to import data and triggers together. As stated in the manual (available here: https://sourceforge.net/p/pspm/svn/HEAD/tree/branches/v4.0/Manual/PsPM%204.0%20Manual.pdf?format=raw) in section 11.1 Import the .mat-file must contain a variable data. This variable is expected to be either a cell array with each cell containing...
Hi Maddison The green button does not light up because for both channels you left the sampling rate unspecified. If you specify this, the import should work. Using the latest PsPM version you should be able to import marker channels from both file types (matlab and text files). As you were able to specify a marker channel in the text file import I assume you already have the latest PsPM version. best Tobias
Hi Maddison What you describe seems correct to me. Therefore I'm not sure where the problem is. Could you provide me some additional information? Is there an error appearing in the matlab console? How does your data file look like? Maybe you could provide me an example file? best Tobias
Hi Lauren the latest version of PsPM now supports importing continuous event data for text files. If you do not have the latest version, you can download it here: https://sourceforge.net/projects/pspm/files/ . Best Tobias
fix missing value problem for design matrix
move offset if drop offset markers
fix multi session bug
add drop offset markers as option to trim
additions for find valid fixations and conversion
rewrite pspm find valid fixation
accept all changes
add function to set epochs to NaN
some reformating
revert poly changes
new conversion + remove poly
code formating + glm
Hi Maddison In a nutshell: The process of analyzing SCR data can be automated Epoch size is unlimited by PsPM Data should be preprocessed as is explained in the PsPM-Manual The outcome ranges from data to chart form For further details may I refer you to the PsPM-Manual which gives detailed explanations on your questions. It also contains tutorials on how to analyze SCR data. Best Tobias
do not check for ratio if splitpoints are given
remove keyboard
change prfx for splitsessions&fix glm downsampling
Hi Ondrej Thank you for the report. As you already pointed out, the import function for .acq files in PsPM only supports file versions up to 3.9. For newer file versions we encourage you to convert the .acq files to .mat files using bioread (available here https://github.com/njvack/bioread or over pip) and then import them with the implemented PsPM import function ("bioread-converted Biopac Acqknowledge" / acq_bioread). As the load_acq.m does not support as many file versions as bioread does, we...
several fixes
dcm edge bug
update manual to corresponding version
correct splitted to split
no manual in trunk
create 4.0 branch
prepare new release
prepare new release
adjust eyelink manual
new default conversion values mat file
remove keyboard
Hi MichaĆ libmex.dylib does not seem to be found, which is a bit odd because it should be present, as it is part of Matlab itself. Also referring to fieldtrip, it should be compatible with MacOS without recompiling it. Maybe you could solve the problem by changing the search path for dylib. Unfortunately I'm not very familiar with MacOS but a bit of googling led me to http://www.manpagez.com/man/1/dyld/ . So maybe you could try to modify your environment using setenv() / getenv() to correct the search...
rewrite version check
small bugfix + fix test
update documentation + version
several minor changes
add comments
change from options to model
add substhresh and missing in dcm to documentation
enable missing epochs for pspm_dcm
add citations + edit pspm matlab requirements
small changes
describe pupil conversion in import functions header
set units to mm after pupil conversion
minor manual change + update release checklist
changes to manual + small bug in init
furhter eyelink conversion changes
rename scr_butter.mat to pspm_butter.mat
change eyelink conversion functions
further structural changes
some structural changes
adjust pupil transfer in manual
Manual changes & Pupil transfer
Manual changes
coding style changes + endmarker per file
update manual with version changes for v3.2
typos