Skip to content

Commit f95d48b

Browse files
authored
Merge pull request #100 from bachlab/hotfix/4.3.0
Release v4.3.0
2 parents cad9742 + a89c8fd commit f95d48b

File tree

946 files changed

+1281
-913
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

946 files changed

+1281
-913
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
## PsPM
2+
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/bachlab/PsPM)](https://github.com/bachlab/PsPM/releases)
3+
[![GitHub Release Date](https://img.shields.io/github/release-date/bachlab/PsPM)](https://github.com/bachlab/PsPM/releases)
4+
[![Build Status](https://sphinx.bli.uzh.ch/jenkins/buildStatus/icon?job=PsPM)](https://github.com/bachlab/PsPM)
5+
[![Website](https://img.shields.io/website?down_color=lightgrey&down_message=offline&up_color=green&up_message=online&url=https%3A%2F%2Fbachlab.github.io%2FPsPM)](https://bachlab.github.io/PsPM)
6+
[![License](https://img.shields.io/github/license/bachlab/PsPM)](https://www.gnu.org/licenses/gpl-3.0)
7+
28
**PsPM** stands for PsychoPhysiological Modelling. It is a powerful matlab toolbox for model-based analysis of psychophysiological signals, for example SCR, ECG, respiration, pupil size, or startle eye-blink EMG. Currently, **PsPM** implements models for all of these modalities, and we are working towards further models, for example, for skin potential and ocular scan path length.
39

410
A **PsPM** allows inferring a psychological variable from observable physiological data. For example, associative memory can be inferred from observed skin conductance responses (SCR). This allows for quantitative description of hidden processes, increases the temporal resolution of analysis, and suppresses noise.
File renamed without changes.
File renamed without changes.

doc/PsPM_Developers_Guide.lyx

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Developer's Guide
9898

9999
\begin_layout Standard
100100
\align center
101-
Version 4.2.1
101+
Version 4.3.0
102102
\end_layout
103103

104104
\begin_layout Standard
@@ -7996,7 +7996,7 @@ Tests:
79967996

79977997

79987998
\begin_inset Tabular
7999-
<lyxtabular version="3" rows="9" columns="2">
7999+
<lyxtabular version="3" rows="10" columns="2">
80008000
<features tabularvalignment="middle">
80018001
<column alignment="center" valignment="top" width="6cm">
80028002
<column alignment="center" valignment="top">
@@ -8074,7 +8074,27 @@ pspm_extract_segments('manual',fn,0)
80748074
\begin_inset Text
80758075

80768076
\begin_layout Plain Layout
8077-
ID:invalid_inpu
8077+
ID:invalid_input
8078+
\end_layout
8079+
8080+
\end_inset
8081+
</cell>
8082+
</row>
8083+
<row>
8084+
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8085+
\begin_inset Text
8086+
8087+
\begin_layout Plain Layout
8088+
pspm_extract_segments('manual',struct('a',10),0,timing)
8089+
\end_layout
8090+
8091+
\end_inset
8092+
</cell>
8093+
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8094+
\begin_inset Text
8095+
8096+
\begin_layout Plain Layout
8097+
ID:invalid_input
80788098
\end_layout
80798099

80808100
\end_inset
@@ -8085,7 +8105,7 @@ ID:invalid_inpu
80858105
\begin_inset Text
80868106

80878107
\begin_layout Plain Layout
8088-
pspm_extract_segments('manual',[0.1,2],0,timing)
8108+
pspm_extract_segments('manual',[1,3],logical(32),timing)
80898109
\end_layout
80908110

80918111
\end_inset

doc/PsPM_Manual.lyx

Lines changed: 220 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ PsPM: Psychophysiological Modelling
103103

104104
\begin_layout Standard
105105
\align center
106-
Version 4.2.1
106+
Version 4.3.0
107107
\end_layout
108108

109109
\begin_layout Standard
@@ -9765,6 +9765,17 @@ ts designs it needs to be set to false.
97659765

97669766
\end_layout
97679767

9768+
\begin_layout Subsubsection*
9769+
Centering
9770+
\end_layout
9771+
9772+
\begin_layout Standard
9773+
Specify if you want to mean centering the convoluted X data.
9774+
By default this centering is applied to every model but for some specific
9775+
cases such as some scanpath length analysis it has to be set to 0 (i.e.
9776+
False).
9777+
\end_layout
9778+
97689779
\begin_layout Subsubsection*
97699780
Filter Settings
97709781
\end_layout
@@ -12357,13 +12368,13 @@ Data navigation
1235712368
\begin_layout Standard
1235812369
Data navigation can be done by zooming (
1235912370
\begin_inset Graphics
12360-
filename icons/button_zoom.PNG
12371+
filename Figures/icons/button_zoom.PNG
1236112372

1236212373
\end_inset
1236312374

1236412375
) and panning (
1236512376
\begin_inset Graphics
12366-
filename icons/button_pan.PNG
12377+
filename Figures/icons/button_pan.PNG
1236712378

1236812379
\end_inset
1236912380

@@ -12390,7 +12401,7 @@ Add epochs
1239012401
\begin_layout Standard
1239112402
New epochs can be added by clicking the 'add epoch' button (
1239212403
\begin_inset Graphics
12393-
filename icons/button_add_epoch.PNG
12404+
filename Figures/icons/button_add_epoch.PNG
1239412405

1239512406
\end_inset
1239612407

@@ -12409,7 +12420,7 @@ Remove epochs
1240912420
\begin_layout Standard
1241012421
Existing epochs can be removed by clicking the 'remove epoch' button (
1241112422
\begin_inset Graphics
12412-
filename icons/button_remove_epoch.PNG
12423+
filename Figures/icons/button_remove_epoch.PNG
1241312424

1241412425
\end_inset
1241512426

@@ -12428,7 +12439,7 @@ Epoch navigation
1242812439
In order to navigate between epochs it is either possible to use the epoch
1242912440
list on the right side or the two epoch navigation buttons (
1243012441
\begin_inset Graphics
12431-
filename icons/button_navigate_epochs.PNG
12442+
filename Figures/icons/button_navigate_epochs.PNG
1243212443

1243312444
\end_inset
1243412445

@@ -13139,6 +13150,75 @@ Onsets: Specify a vector of onsets.
1313913150
Duration: Specify the length of the condition.
1314013151
\end_layout
1314113152

13153+
\end_deeper
13154+
\end_deeper
13155+
\end_deeper
13156+
\begin_layout Itemize
13157+
13158+
\series bold
13159+
Raw:
13160+
\series default
13161+
Specify all the settings manually (i.e.
13162+
choose manual mode) and provide raw data
13163+
\end_layout
13164+
13165+
\begin_deeper
13166+
\begin_layout Itemize
13167+
13168+
\shape italic
13169+
Data
13170+
\shape default
13171+
: Numeric raw data or a cell array of numeric raw data.
13172+
\end_layout
13173+
13174+
\begin_layout Itemize
13175+
13176+
\shape italic
13177+
Sampling rate
13178+
\shape default
13179+
: One sampling rate or an array of sampling rates of the corresponding
13180+
\shape italic
13181+
Data
13182+
\shape default
13183+
.
13184+
\end_layout
13185+
13186+
\begin_layout Itemize
13187+
13188+
\shape italic
13189+
Conditions
13190+
\shape default
13191+
:
13192+
\end_layout
13193+
13194+
\begin_deeper
13195+
\begin_layout Itemize
13196+
Condition files: Should be in the format of the conditions defined in a
13197+
GLM model.
13198+
Required fields are names, onsets, duration.
13199+
\end_layout
13200+
13201+
\begin_layout Itemize
13202+
Enter conditions manually: Specify the conditions that you want to include
13203+
in your design matrix.
13204+
\end_layout
13205+
13206+
\begin_deeper
13207+
\begin_layout Itemize
13208+
Name: Specify the name of the condition.
13209+
\end_layout
13210+
13211+
\begin_layout Itemize
13212+
Onsets: Specify a vector of onsets.
13213+
The length of the vector corresponds to the number of events included in
13214+
this condition.
13215+
Onsets have to be indicated in the specified time unit (‘seconds’, ‘samples’).
13216+
\end_layout
13217+
13218+
\begin_layout Itemize
13219+
Duration: Specify the length of the condition.
13220+
\end_layout
13221+
1314213222
\end_deeper
1314313223
\end_deeper
1314413224
\end_deeper
@@ -13586,8 +13666,8 @@ Here, we analyze SCR data using a general linear model (GLM).
1358613666
downloaded from
1358713667
\begin_inset CommandInset href
1358813668
LatexCommand href
13589-
name "https://sourceforge.net/projects/pspm/files/Tutorial_dataset_GLM.zip/download"
13590-
target "https://sourceforge.net/projects/pspm/files/Tutorial_dataset_GLM.zip/download"
13669+
name "https://bachlab.github.io/PsPM/software/"
13670+
target "https://bachlab.github.io/PsPM/software/"
1359113671
literal "false"
1359213672

1359313673
\end_inset
@@ -13606,6 +13686,8 @@ literal "true"
1360613686
that included two short breaks.
1360713687
SCR data were recorded using a 0.5 V coupler, optical (wave to pulse) transducer
1360813688
, and CED Spike, with a minimum sampling rate of 100 Hz.
13689+
Be aware that this example uses functions from the MATLAB Signal Processing
13690+
Toolbox, make sure to have it installed before starting the tutorial.
1360913691
\end_layout
1361013692

1361113693
\begin_layout Subsection
@@ -14662,8 +14744,8 @@ The example data set comprises SCR data from 20 participants, with 40 trials
1466214744
each, which can be downloaded from
1466314745
\begin_inset CommandInset href
1466414746
LatexCommand href
14665-
name "pspm.sourceforge.net"
14666-
target "http://pspm.sourceforge.net"
14747+
name "https://bachlab.github.io/PsPM/software/"
14748+
target "https://bachlab.github.io/PsPM/software/"
1466714749
literal "false"
1466814750

1466914751
\end_inset
@@ -18881,6 +18963,134 @@ pspm_filtfilt
1888118963
which crashed when the filter parameters were of dimension one
1888218964
\end_layout
1888318965

18966+
\begin_layout Section
18967+
PsPM Version 4.3.0
18968+
\end_layout
18969+
18970+
\begin_layout Subsection*
18971+
New Features
18972+
\end_layout
18973+
18974+
\begin_layout Itemize
18975+
In
18976+
\family typewriter
18977+
pspm_get_events
18978+
\family default
18979+
,
18980+
\family typewriter
18981+
import.flank
18982+
\family default
18983+
can be now set to
18984+
\family typewriter
18985+
'all'
18986+
\family default
18987+
what would import all markers and data related to them.
18988+
\end_layout
18989+
18990+
\begin_layout Itemize
18991+
18992+
\family typewriter
18993+
pspm_display
18994+
\family default
18995+
allows now to display pupil size units and the gaze x & y coordinate units
18996+
on the y-axis.
18997+
\end_layout
18998+
18999+
\begin_layout Itemize
19000+
19001+
\family typewriter
19002+
pspm_extract_segments
19003+
\family default
19004+
can be used now with raw data and thus be called easily within another function.
19005+
\end_layout
19006+
19007+
\begin_layout Subsection*
19008+
Changes
19009+
\end_layout
19010+
19011+
\begin_layout Itemize
19012+
19013+
\family typewriter
19014+
pspm_version
19015+
\family default
19016+
has a new url and thus do not send any warning about version checks anymore.
19017+
\end_layout
19018+
19019+
\begin_layout Itemize
19020+
19021+
\family typewriter
19022+
import_eyelink
19023+
\family default
19024+
do not import markers which are outside the session end time (
19025+
\family typewriter
19026+
END
19027+
\family default
19028+
marker).
19029+
\end_layout
19030+
19031+
\begin_layout Itemize
19032+
19033+
\family typewriter
19034+
import_eyelink
19035+
\family default
19036+
sends a warning whenever two markers have the same timestamp.
19037+
\end_layout
19038+
19039+
\begin_layout Itemize
19040+
In
19041+
\family typewriter
19042+
pspm_get_eyelink
19043+
\family default
19044+
,
19045+
\family typewriter
19046+
import.flank
19047+
\family default
19048+
set to
19049+
\family typewriter
19050+
'all'
19051+
\family default
19052+
.
19053+
\end_layout
19054+
19055+
\begin_layout Itemize
19056+
The test of
19057+
\family typewriter
19058+
pspm_extract_segments
19059+
\family default
19060+
was adapted to the new feature.
19061+
\end_layout
19062+
19063+
\begin_layout Itemize
19064+
External functions and libraries were regrouped in one folder called
19065+
\family typewriter
19066+
ext.
19067+
\end_layout
19068+
19069+
\begin_layout Subsection*
19070+
Bugfixes
19071+
\end_layout
19072+
19073+
\begin_layout Itemize
19074+
Fix a bux in
19075+
\family typewriter
19076+
pspm_bf_lcrf_gm
19077+
\family default
19078+
and
19079+
\family typewriter
19080+
pspm_bf_ldrf_gm
19081+
\family default
19082+
where the offset was wrongly implemented.
19083+
\end_layout
19084+
19085+
\begin_layout Itemize
19086+
Fix a bug in
19087+
\family typewriter
19088+
pspm_compute_visual_angle
19089+
\family default
19090+
where there was an error in the conversion factor of pixels wrt.
19091+
to mm.
19092+
\end_layout
19093+
1888419094
\begin_layout Part
1888519095
Acknowledgements
1888619096
\end_layout

0 commit comments

Comments
 (0)