Skip to content

Commit

Permalink
Maintenance: remove SVN keywords and update copyright
Browse files Browse the repository at this point in the history
SVN r8278
  • Loading branch information
gllmflndn committed Jul 7, 2022
1 parent be8c13b commit 9564a81
Show file tree
Hide file tree
Showing 885 changed files with 2,303 additions and 3,260 deletions.
1 change: 0 additions & 1 deletion Contents.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 37,6 @@
%__________________________________________________________________________
% Copyright (C) 1991,1994-2022 Wellcome Centre for Human Neuroimaging

% $Id: Contents.m 8208 2022-01-12 11:10:09Z spm $

%==========================================================================
% PROGRAMMERS NOTE:
Expand Down
1 change: 0 additions & 1 deletion LICENCE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -356,4 356,3 @@
% Copyright (C) 1991,1994-2022 Wellcome Centre for Human Neuroimaging

% The FIL Methods Group
% $Id: LICENCE.txt 8208 2022-01-12 11:10:09Z spm $
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 120,4 @@ supplied as is. No formal support or maintenance is provided or implied.

```
Copyright (C) 1991,1994-2022 Wellcome Centre for Human Neuroimaging
$Id: README.md 8208 2022-01-12 11:10:09Z spm $
```
3 changes: 1 addition & 2 deletions batches/preproc_fmri.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 17,9 @@
% have multiple structurals in one directory, you will need to replace
% "brain" with a unique filename for each subject.
%__________________________________________________________________________
% Copyright (C) 2014 Wellcome Trust Centre for Neuroimaging

% Ged Ridgway
% $Id: preproc_fmri.m 6177 2014-09-16 10:44:55Z guillaume $
% Copyright (C) 2014-2022 Wellcome Centre for Human Neuroimaging

if exist('preproc_fmri', 'file') && ~isdeployed
help preproc_fmri
Expand Down
3 changes: 1 addition & 2 deletions batches/preproc_fmri_simplified.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 6,9 @@
% module of the created batch)
% * The structural image volume (in the "Segment" module)
%__________________________________________________________________________
% Copyright (C) 2014 Wellcome Trust Centre for Neuroimaging

% Ged Ridgway
% $Id: preproc_fmri_simplified.m 6177 2014-09-16 10:44:55Z guillaume $
% Copyright (C) 2014-2022 Wellcome Centre for Human Neuroimaging

if exist('preproc_fmri_simplified', 'file') && ~isdeployed
help preproc_fmri_simplified
Expand Down
3 changes: 1 addition & 2 deletions batches/preproc_fmri_without_anat.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 9,9 @@
% * The slice timing acquisition details (if you're unsure, don't use STC!)
% * The functional images for each session (only in the first module)
%__________________________________________________________________________
% Copyright (C) 2014 Wellcome Trust Centre for Neuroimaging

% Ged Ridgway
% $Id: preproc_fmri_without_anat.m 6177 2014-09-16 10:44:55Z guillaume $
% Copyright (C) 2014-2022 Wellcome Centre for Human Neuroimaging

if exist('preproc_fmri_without_anat', 'file') && ~isdeployed
help preproc_fmri_without_anat
Expand Down
3 changes: 1 addition & 2 deletions batches/preproc_vbm.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 10,9 @@
% be left in the directory of the first selected structural image; not
% moved to the Templates_etc directory along with the Template image files.
%__________________________________________________________________________
% Copyright (C) 2014 Wellcome Trust Centre for Neuroimaging

% Ged Ridgway
% $Id: preproc_vbm.m 6177 2014-09-16 10:44:55Z guillaume $
% Copyright (C) 2014-2022 Wellcome Centre for Human Neuroimaging

if exist('preproc_vbm', 'file') && ~isdeployed
help preproc_vbm
Expand Down
3 changes: 1 addition & 2 deletions batches/preproc_vbm_simplified.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 3,9 @@
% Need to specify:
% * Structural images for all subjects
%__________________________________________________________________________
% Copyright (C) 2014 Wellcome Trust Centre for Neuroimaging

% Ged Ridgway
% $Id: preproc_vbm_simplified.m 6177 2014-09-16 10:44:55Z guillaume $
% Copyright (C) 2014-2022 Wellcome Centre for Human Neuroimaging

if exist('preproc_vbm_simplified', 'file') && ~isdeployed
help preproc_vbm_simplified
Expand Down
3 changes: 1 addition & 2 deletions batches/stats1_within_subject_fmri.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 11,9 @@
% * Conditions (not needed for resting-state studies)
% * Multiple regressors - the realignment parameters from motion correction
%__________________________________________________________________________
% Copyright (C) 2014 Wellcome Trust Centre for Neuroimaging

% Ged Ridgway
% $Id: stats1_within_subject_fmri.m 6177 2014-09-16 10:44:55Z guillaume $
% Copyright (C) 2014-2022 Wellcome Centre for Human Neuroimaging

if exist('stats1_within_subject_fmri', 'file') && ~isdeployed
help stats1_within_subject_fmri
Expand Down
3 changes: 1 addition & 2 deletions batches/stats2_between_subject.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 9,9 @@
% * The details of your design (!)
% * An explicit mask (for VBM)
%__________________________________________________________________________
% Copyright (C) 2014 Wellcome Trust Centre for Neuroimaging

% Ged Ridgway
% $Id: stats2_between_subject.m 6177 2014-09-16 10:44:55Z guillaume $
% Copyright (C) 2014-2022 Wellcome Centre for Human Neuroimaging

if exist('stats2_between_subject', 'file') && ~isdeployed
help stats2_between_subject
Expand Down
4 changes: 1 addition & 3 deletions bin/spm12-matlab
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 3,8 @@
# Command Line Interface for SPM
# SPM: https://www.fil.ion.ucl.ac.uk/spm/
#
# Copyright (C) 2017-2021 Wellcome Centre for Human Neuroimaging
#
# Guillaume Flandin
# $Id: spm12-matlab 8167 2021-10-15 16:56:11Z guillaume $
# Copyright (C) 2017-2022 Wellcome Centre for Human Neuroimaging

PLATFORM=$(uname)

Expand Down
6 changes: 2 additions & 4 deletions bin/spm12-mcr
Original file line number Diff line number Diff line change
@@ -1,12 1,10 @@
#!/bin/sh
#
# Command Line Interface for SPM
# SPM: http://www.fil.ion.ucl.ac.uk/spm/
#
# Copyright (C) 2017 Wellcome Trust Centre for Neuroimaging
# SPM: https://www.fil.ion.ucl.ac.uk/spm/
#
# Guillaume Flandin
# $Id: spm12-mcr 7014 2017-02-13 12:31:33Z guillaume $
# Copyright (C) 2017-2022 Wellcome Centre for Human Neuroimaging

if [ "${MCR_HOME}" = "" ]; then
echo "Set MCR_HOME environment variable." >&2
Expand Down
6 changes: 2 additions & 4 deletions bin/spm12-octave
Original file line number Diff line number Diff line change
@@ -1,12 1,10 @@
#!/usr/bin/octave -fqH
#
# Command Line Interface for SPM
# SPM: http://www.fil.ion.ucl.ac.uk/spm/
#
# Copyright (C) 2017 Wellcome Trust Centre for Neuroimaging
# SPM: https://www.fil.ion.ucl.ac.uk/spm/
#
# Guillaume Flandin
# $Id: spm12-octave 7284 2018-03-29 09:42:26Z guillaume $
# Copyright (C) 2017-2022 Wellcome Centre for Human Neuroimaging


spm_dir = getenv ("SPM_HOME");
Expand Down
3 changes: 1 addition & 2 deletions canonical/spm_mesh.man
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 46,6 @@
% activations in spm using a macroscopic anatomical parcellation of the MNI
% MRI single subject brain. Neuroimage 15, 273-289.
%__________________________________________________________________________
% Copyright (C) 2009-2012 Wellcome Trust Centre for Neuroimaging

% Rik Henson, Daniel Wakeman and John Ashburner
% $Id: spm_mesh.man 5039 2012-11-06 20:39:58Z guillaume $
% Copyright (C) 2009-2022 Wellcome Centre for Human Neuroimaging
3 changes: 1 addition & 2 deletions spm.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 50,9 @@
% FORMAT & help in the main body of spm.m
%
%_______________________________________________________________________
% Copyright (C) 1991,1994-2022 Wellcome Centre for Human Neuroimaging

% Andrew Holmes
% $Id: spm.m 8216 2022-02-01 17:56:49Z guillaume $
% Copyright (C) 1991,1994-2022 Wellcome Centre for Human Neuroimaging


%=======================================================================
Expand Down
11 changes: 5 additions & 6 deletions spm_ADEM.m
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
function [DEM] = spm_ADEM(DEM)
function DEM = spm_ADEM(DEM)
% Dynamic expectation maximisation: Active inversion
% FORMAT DEM = spm_ADEM(DEM)
% FORMAT DEM = spm_ADEM(DEM)
%
% DEM.G - generative process
% DEM.M - recognition model
Expand Down Expand Up @@ -129,13 129,12 @@
% in generalised coordinates. This means DEM can deconvolve online and
% represents an alternative to Kalman filtering or alternative Bayesian
% update procedures.
%
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging

% Karl Friston
% $Id: spm_ADEM.m 8183 2021-11-04 15:25:19Z guillaume $

% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


% check model, data, priors and unpack
%--------------------------------------------------------------------------
DEM = spm_ADEM_set(DEM);
Expand Down
7 changes: 3 additions & 4 deletions spm_ADEM_M_set.m
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
function [M] = spm_ADEM_M_set(M)
function M = spm_ADEM_M_set(M)
% Set indices and perform checks on hierarchical action models
% FORMAT [M] = spm_ADEM_M_set(M)
% FORMAT M = spm_ADEM_M_set(M)
%
% for each level (i); required fields
%
Expand Down Expand Up @@ -40,10 40,9 @@
% If the highest level involves any dynamic or static transformation
% of its inputs a further level is added with flat priors
%__________________________________________________________________________
% Copyright (C) 2008-2014 Wellcome Trust Centre for Neuroimaging

% Karl Friston
% $Id: spm_ADEM_M_set.m 5962 2014-04-17 12:47:43Z spm $
% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


% order
Expand Down
5 changes: 2 additions & 3 deletions spm_ADEM_diff.m
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
function [u,dg,df] = spm_ADEM_diff(M,u)
% Evaluate an active model given innovations z{i} and w{i}
% FORMAT [u dg df] = spm_ADEM_diff(M,u);
% FORMAT [u,dg,df] = spm_ADEM_diff(M,u)
%
% M - generative model
%
Expand All @@ -14,10 14,9 @@
%
% The system is evaluated at the prior expectation of the parameters.
%__________________________________________________________________________
% Copyright (C) 2008-2014 Wellcome Trust Centre for Neuroimaging

% Karl Friston
% $Id: spm_ADEM_diff.m 5962 2014-04-17 12:47:43Z spm $
% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


% number of states and parameters
Expand Down
7 changes: 3 additions & 4 deletions spm_ADEM_set.m
Original file line number Diff line number Diff line change
@@ -1,16 1,15 @@
function [DEM] = spm_ADEM_set(DEM)
function DEM = spm_ADEM_set(DEM)
% Perform checks on DEM structures for active inversion
% FORMAT [DEM] = spm_ADEM_set(DEM)
% FORMAT DEM = spm_ADEM_set(DEM)
%
% DEM.G - generative model
% DEM.M - recognition model
% DEM.C - exogenous causes
% DEM.U - prior expectation of causes
%__________________________________________________________________________
% Copyright (C) 2008-2014 Wellcome Trust Centre for Neuroimaging

% Karl Friston
% $Id: spm_ADEM_set.m 5962 2014-04-17 12:47:43Z spm $
% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


% check recognition model
Expand Down
9 changes: 4 additions & 5 deletions spm_ADEM_update.m
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
function [DEM] = spm_ADEM_update(DEM,COV)
% Updates ADEM structure using conditional expectations
% FORMAT [DEM] = spm_ADEM_update(DEM,COV)
function DEM = spm_ADEM_update(DEM,COV)
% Update ADEM structure using conditional expectations
% FORMAT DEM = spm_ADEM_update(DEM,COV)
%
% DEM - DEM structure
% COV - Covariance of parameter (P) fluctuations (E): P(i 1) = P(i) E
Expand All @@ -12,10 12,9 @@
% called with an extra argument, the posterior variances of the
% parameters are also updated.
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging

% Karl Friston
% $Id: spm_ADEM_update.m 6506 2015-07-24 10:26:51Z karl $
% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


% preliminaries
Expand Down
7 changes: 3 additions & 4 deletions spm_ALAP.m
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
function [DEM] = spm_ALAP(DEM)
function DEM = spm_ALAP(DEM)
% Laplacian model inversion (see also spm_LAP) with action
% FORMAT DEM = spm_ALAP(DEM)
% FORMAT DEM = spm_ALAP(DEM)
%
% DEM.G - generative process
% DEM.M - recognition model
Expand Down Expand Up @@ -146,10 146,9 @@
% This enables active inference (c.f., action-perception) or embodied
% inference.
%__________________________________________________________________________
% Copyright (C) 2012 Wellcome Trust Centre for Neuroimaging

% Karl Friston
% $Id: spm_ALAP.m 8183 2021-11-04 15:25:19Z guillaume $
% Copyright (C) 2012-2022 Wellcome Centre for Human Neuroimaging


% check model, data and priors
Expand Down
6 changes: 3 additions & 3 deletions spm_A_reduce.m
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
function [J,z,v,s] = spm_A_reduce(J,x,T,N)
% Reduction of Markovian partition
% FORMAT [J,z,v,s] = spm_A_reduce(J,x,T,N)
% reduction of Markovian partition
% J - Jacobian (x)
% x - {3 x n} particular partition of states
% T - eigenvalue threshold to retain eigenvectors [default: 8]
Expand All @@ -13,10 13,10 @@
%
% Adiabatic reduction operator (R)
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging

% Karl Friston
% $Id: spm_A_reduce.m 8183 2021-11-04 15:25:19Z guillaume $
% Copyright (C) 2019-2022 Wellcome Centre for Human Neuroimaging


% preliminaries
%--------------------------------------------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions spm_BIDS.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 16,9 @@
% describing outputs of neuroimaging experiments.
% K. J. Gorgolewski et al, Scientific Data, 2016.
%__________________________________________________________________________
% Copyright (C) 2016-2018 Wellcome Trust Centre for Neuroimaging

% Guillaume Flandin
% $Id: spm_BIDS.m 8183 2021-11-04 15:25:19Z guillaume $
% Copyright (C) 2016-2022 Wellcome Centre for Human Neuroimaging


%-Validate input arguments
Expand Down
4 changes: 2 additions & 2 deletions spm_BMS.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 30,10 @@
% Bayesian model selection for group studies - Revisited.
% NeuroImage 84:971-85. doi: 10.1016/j.neuroimage.2013.08.065
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging

% Klaas Enno Stephan, Will Penny
% $Id: spm_BMS.m 7679 2019-10-24 15:54:07Z spm $
% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


if nargin < 2 || isempty(Nsamp)
Nsamp = 1e6;
Expand Down
3 changes: 1 addition & 2 deletions spm_BMS_F.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 15,9 @@
% Stephan KE, Penny WD, Daunizeau J, Moran RJ, Friston KJ
% Bayesian Model Selection for Group Studies. Neuroimage 2009 46(4):1004-17
%__________________________________________________________________________
% Copyright (C) 2008-2021 Wellcome Centre for Human Neuroimaging

% Will Penny
% $Id: spm_BMS_F.m 8160 2021-10-01 09:42:13Z guillaume $
% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


alpha0 = sort(alpha0);
Expand Down
3 changes: 1 addition & 2 deletions spm_BMS_F_smpl.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 8,9 @@
% Stephan KE, Penny WD, Daunizeau J, Moran RJ, Friston KJ
% Bayesian Model Selection for Group Studies. Neuroimage 2009 46(4):1004-17
%__________________________________________________________________________
% Copyright (C) 2008-2021 Wellcome Centre for Human Neuroimaging

% Will Penny
% $Id: spm_BMS_F_smpl.m 8160 2021-10-01 09:42:13Z guillaume $
% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


% prevent numerical problems
Expand Down
3 changes: 1 addition & 2 deletions spm_BMS_bor.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 15,9 @@
% Bayesian model selection for group studies - Revisited.
% NeuroImage 84:971-85. doi: 10.1016/j.neuroimage.2013.08.065
%__________________________________________________________________________
% Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging

% Will Penny
% $Id: spm_BMS_bor.m 6444 2015-05-21 11:15:48Z guillaume $
% Copyright (C) 2015-2022 Wellcome Centre for Human Neuroimaging


if nargin < 4
Expand Down
3 changes: 1 addition & 2 deletions spm_BMS_gibbs.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 16,9 @@
% g_post - [Ni x Nk] matrix of posterior probabilities with
% g_post(i,k) being post prob that subj i used model k
%__________________________________________________________________________
% Copyright (C) 2009-2013 Wellcome Trust Centre for Neuroimaging

% Will Penny
% $Id: spm_BMS_gibbs.m 6381 2015-03-17 17:55:09Z will $
% Copyright (C) 2009-2022 Wellcome Centre for Human Neuroimaging


if nargin < 3 || isempty(Nsamp)
Expand Down
Loading

0 comments on commit 9564a81

Please sign in to comment.