You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New features
pspm_bf_psrf_2_fc
pspm_bf_psrf_2_fc allows to set the time delay between CS and US now. It used to set a basis function for the CS and for the US response with a time delay of 3.5 s as standard.
pspm_dcm
Missing data epochs from file and data can be combined.
pspm_glm
pspm_glm now allows a two-element vector and construct the dictionary accordingly. Previously it only allows scalar values in model.window.
New functions
pspm_check_model
The function checks the fields of models.
pspm_combine_markerchannels
The function allows users to use the GLM option markervalues to create onsets definition from channels distributed across multiple channels.
pspm_tam
TAM stands for Trial Average Model. The function allows to fit models on trial-averaged data.
Adjustments
pspm_pupil_pp
From then on, pupil preprocessing functions create channels of type pupil rather than pupil_pp.
pspm_split_sessions
Markers at beginning or end of file are no longer dropped, as marker duplication is not an issue here.
Bug fixes
pspm_con
A bug caused by the new varargout logic of pspm_load1 has been fixed.
pspm_dcm
A bug that leads dropping sub-threshold missing data periods has been fixed.
pspm_get_spike
A minor bug caused by a non-existing variable has been fixed.
pspm_scr_pp
A bug that could change the original file if it saves epochs to missing_epoch.mat has been fixed.
Improvements
pspm_extract_segments
Now pspm_extract_segments process the data after excluding the missing data information that is provided in the model structure.
pspm_dcm
Processed data are now initialised as data matrix with NaN before inserting data of variable size.
pspm_glm
A warning has been added if any duration in onset definition is above 0 and modality is not sps.
pspm_overwrite
The logic of overwriting files in PsPM has been updated. Specifically, the overwriting operation is applicable only if there has been a file with the proposed name of the output file. A warning will be provided if the user chooses not to overwrite the file, since the output of PsPM will not be saved.
pspm_split_sessions
A misleading warning provided by pspm_split_sessions when it processes a missing epoch file has been fixed.
The help text of split_sessions in the GUI has been updated.