-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 804_pspm_display
- Loading branch information
Showing
164 changed files
with
6,928 additions
and
18,388 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
287 changes: 198 additions & 89 deletions
287
doc/PsPM_References.lyx → doc/PsPM_options_documentation.lyx
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
function [gx,dgdx,dgdPhi] = g_SCR(Xt,Phi,ut,inG) | ||
% ● Description | ||
% TBA. | ||
% This is the SCR observation function required by the VBA toolbox. It | ||
% adds the three generative processes (phasic SCR, SF, SCL) modelled in | ||
% f_SCR. | ||
% ● Format | ||
% [gx,dgdx,dgdPhi] = g_SCR(Xt,Phi,ut,inG) | ||
% ● Arguments | ||
% Xt: | ||
% Phi: | ||
% ut: | ||
% inG: | ||
% Xt: a 7-element vector | ||
% Phi: input required by VBA, ignored | ||
% ut: input required by VBA, ignored | ||
% inG: input required by VBA, ignored | ||
% ● History | ||
% Introduced in PsPM 3.0 | ||
% Written in 2008-2015 by Dominik R Bach (Wellcome Trust Centre for Neuroimaging) | ||
|
||
global settings; | ||
if isempty(settings), pspm_init; end; | ||
if isempty(settings), pspm_init; end | ||
gx = Xt(1) + Xt(4) + Xt(7); | ||
dgdx = zeros(size(Xt,1),1); | ||
dgdx([1;4;7]) = 1; | ||
dgdPhi = []; | ||
if any(isnan(gx)|isinf(gx)), keyboard; end; | ||
if any(isnan(dgdx)|isinf(dgdx)), keyboard; end; | ||
if any(isnan(gx)|isinf(gx)), keyboard; end | ||
if any(isnan(dgdx)|isinf(dgdx)), keyboard; end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.