plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | mccahill/docker-novnc-fmri-master | num2str.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/private/num2str.m | 6,229 | utf_8 | 35ba81d9ba6b78d182aa2136612ac3b2 | function s = num2str(x, f)
%NUM2STR Convert numbers to a string.
% T = NUM2STR(X) converts the matrix X into a string representation T
% with about 4 digits and an exponent if required. This is useful for
% labeling plots with the TITLE, XLABEL, YLABEL, and TEXT commands.
%
% T = NUM2STR(X,N) converts the matr... |
github | mccahill/docker-novnc-fmri-master | inputdlg.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/private/inputdlg.m | 12,606 | utf_8 | 7d3b7a41c382a2c76f4c460016be33bc | function Answer=inputdlg(Prompt, Title, NumLines, DefAns, Resize)
%INPUTDLG Input dialog box.
% ANSWER = INPUTDLG(PROMPT) creates a modal dialog box that returns user
% input for multiple prompts in the cell array ANSWER. PROMPT is a cell
% array containing the PROMPT strings.
%
% INPUTDLG uses UIWAIT to suspend ex... |
github | mccahill/docker-novnc-fmri-master | cfg_justify.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/private/cfg_justify.m | 4,781 | utf_8 | f35de815dab47aff40ab2987909d5f26 | function out = cfg_justify(varargin)
% CFG_JUSTIFY Justifies a text string
% OUT = CFG_JUSTIFY(N,TXT) justifies text string TXT to
% the length specified by N.
%
% OUT = CFG_JUSTIFY(OBJ,TXT), where OBJ is a handle to a 'listbox' style
% uicontrol, justifies text string TXT to the width of the OBJ in
% ch... |
github | mccahill/docker-novnc-fmri-master | listdlg.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/private/listdlg.m | 8,523 | utf_8 | 35505ce59d8fab0e0311d6203d716c12 | function [selection,value] = listdlg(varargin)
%LISTDLG List selection dialog box.
% [SELECTION,OK] = LISTDLG('ListString',S) creates a modal dialog box
% which allows you to select a string or multiple strings from a list.
% SELECTION is a vector of indices of the selected strings (length 1 in
% the single se... |
github | mccahill/docker-novnc-fmri-master | initialise.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/@cfg_mchoice/initialise.m | 3,592 | utf_8 | 194439b247b7a4e8c2168d624f6e5597 | function item = initialise(item, val, dflag)
% function item = initialise(item, val, dflag)
% Initialise a configuration tree with values. If val is a job
% struct/cell, only the parts of the configuration that are present in
% this job will be initialised. If dflag is true, then matching items
% from item.values will... |
github | mccahill/docker-novnc-fmri-master | cfg_confgui.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/cfg_confgui/cfg_confgui.m | 32,319 | utf_8 | 18358a9ecfca9308e7118f275bb701bc | function menu_cfg = cfg_confgui
% This function describes the user defined fields for each kind of
% cfg_item and their layout in terms of cfg_items. Thus, the
% configuration system can be used to generate code for new configuration
% files itself.
%
% This code is part of a batch job configuration system for MATLAB.... |
github | mccahill/docker-novnc-fmri-master | cfg_run_template.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/cfg_confgui/cfg_run_template.m | 4,822 | utf_8 | 183bd6f71f7414a9f76b339601c1087d | function varargout = cfg_run_template(cmd, varargin)
% Template function to implement callbacks for an cfg_exbranch. The calling
% syntax is
% varargout = cfg_run_template(cmd, varargin)
% where cmd is one of
% 'run' - out = cfg_run_template('run', job)
% Run a job, and return its output argument
% 'v... |
github | mccahill/docker-novnc-fmri-master | subsasgn_check.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/@cfg_entry/subsasgn_check.m | 8,410 | utf_8 | 3fea1644604359e0c35fc7b49d92b5fd | function [sts, val] = subsasgn_check(item,subs,val)
% function [sts, val] = subsasgn_check(item,subs,val)
% Perform validity checks for cfg_entry inputs. Does not yet support
% evaluation of inputs.
%
% This code is part of a batch job configuration system for MATLAB. See
% help matlabbatch
% for a general overv... |
github | mccahill/docker-novnc-fmri-master | showdoc.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/@cfg_entry/showdoc.m | 1,963 | utf_8 | 9667d455526f2337667bf1ad4424dbfc | function str = showdoc(item, indent)
% function str = showdoc(item, indent)
% Display help text for a cfg_entry item.
%
% This code is part of a batch job configuration system for MATLAB. See
% help matlabbatch
% for a general overview.
%_______________________________________________________________________
% C... |
github | mccahill/docker-novnc-fmri-master | resolve_deps.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/@cfg_item/resolve_deps.m | 3,618 | utf_8 | 436b23723204757dca38afc10caccc02 | function [val, sts] = resolve_deps(item, cj)
% function [val, sts] = resolve_deps(item, cj)
% Resolve dependencies for an cfg item. This is a generic function that
% returns the contents of item.val{1} if it is an array of cfg_deps. If
% there is more than one dependency, they will be resolved in order of
% appearance... |
github | mccahill/docker-novnc-fmri-master | initialise.m | .m | docker-novnc-fmri-master/mri/spm12/matlabbatch/@cfg_repeat/initialise.m | 5,159 | utf_8 | e3b1255adf9e16842aa7a920c1b4d165 | function item = initialise(item, val, dflag)
% function item = initialise(item, val, dflag)
% Initialise a configuration tree with values. If val is a job
% struct/cell, only the parts of the configuration that are present in
% this job will be initialised. If dflag is true, then matching items
% from item.values will... |
github | mccahill/docker-novnc-fmri-master | spm_ov_save.m | .m | docker-novnc-fmri-master/mri/spm12/spm_orthviews/spm_ov_save.m | 2,020 | utf_8 | 433710e37146784c8ca32b5c34be2f44 | function ret = spm_ov_save(varargin)
% Save as image tool - plugin for spm_orthviews
%
% This routine is a plugin to spm_orthviews. For general help about
% spm_orthviews and plugins type
% help spm_orthviews
% at the MATLAB prompt.
%__________________________________________________________________________... |
github | mccahill/docker-novnc-fmri-master | spm_ov_display.m | .m | docker-novnc-fmri-master/mri/spm12/spm_orthviews/spm_ov_display.m | 4,468 | utf_8 | c139efccf1bb9a14d57f1523e26ff998 | function ret = spm_ov_display(varargin)
% Display tool - plugin for spm_orthviews
%
% This routine is a plugin to spm_orthviews. For general help about
% spm_orthviews and plugins type
% help spm_orthviews
% at the MATLAB prompt.
%__________________________________________________________________________
% ... |
github | mccahill/docker-novnc-fmri-master | spm_ov_contour.m | .m | docker-novnc-fmri-master/mri/spm12/spm_orthviews/spm_ov_contour.m | 4,389 | utf_8 | 5cad6def2ad5cbfc25722126b375784b | function ret = spm_ov_contour(varargin)
% Contour tool - plugin for spm_orthviews
%
% This routine is a plugin to spm_orthviews. For general help about
% spm_orthviews and plugins type
% help spm_orthviews
% at the MATLAB prompt.
%__________________________________________________________________________
% ... |
github | mccahill/docker-novnc-fmri-master | spm_ovhelper_3Dreg.m | .m | docker-novnc-fmri-master/mri/spm12/spm_orthviews/spm_ovhelper_3Dreg.m | 4,000 | utf_8 | 5a51199a3ea8417a742f367722faacbe | function spm_ovhelper_3Dreg(cmd, varargin)
% Helper function to register spm_orthviews plugins via spm_XYZreg
% FORMAT spm_ovhelper_3Dreg('register', h, V)
% Register a (3D) graphics with the main spm_orthviews display. This will
% draw 3D crosshairs at the current spm_orthviews position and update
% them whenever the ... |
github | mccahill/docker-novnc-fmri-master | spm_ov_roi.m | .m | docker-novnc-fmri-master/mri/spm12/spm_orthviews/spm_ov_roi.m | 36,792 | utf_8 | 25dcf016e39c10a9a5807f7e5c908237 | function ret = spm_ov_roi(varargin)
% ROI tool - plugin for spm_orthviews
%
% With ROI tool it is possible to create new or modify existing mask images
% interactively. ROI tool can be launched via the spm_orthviews image
% context menu.
% While ROI tool is active, mouse buttons have the following functions:
% left ... |
github | mccahill/docker-novnc-fmri-master | spm_ov_browser.m | .m | docker-novnc-fmri-master/mri/spm12/spm_orthviews/spm_ov_browser.m | 8,839 | utf_8 | 213b86bc8633c15502757a7786f90dbf | function ret = spm_ov_browser(varargin)
% Browser tool - plugin for spm_orthviews
%
% This routine is a plugin to spm_orthviews. For general help about
% spm_orthviews and plugins type
% help spm_orthviews
% at the MATLAB prompt.
%__________________________________________________________________________
% ... |
github | mccahill/docker-novnc-fmri-master | spm_write_sn.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/OldNorm/spm_write_sn.m | 20,490 | utf_8 | 0121140b891d90ae2e9d8735abb4071e | function VO = spm_write_sn(V,prm,flags,extras)
% Write out warped images
% FORMAT VO = spm_write_sn(V,prm,flags,msk)
% V - Images to transform (filenames or volume structure).
% prm - Transformation information (filename or structure).
% flags - flags structure, with fields...
% interp - i... |
github | mccahill/docker-novnc-fmri-master | spm_affreg.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/OldNorm/spm_affreg.m | 18,513 | utf_8 | 9b08e9250c32fd0bc475ebbcda1d3f69 | function [M,scal] = spm_affreg(VG,VF,flags,M,scal)
% Affine registration using least squares.
% FORMAT [M,scal] = spm_affreg(VG,VF,flags,M0,scal0)
%
% VG - Vector of template volumes.
% VF - Source volume.
% flags - a structure containing various options. The fields are:
% WG - Weig... |
github | mccahill/docker-novnc-fmri-master | spm_normalise.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/OldNorm/spm_normalise.m | 13,178 | utf_8 | 765bd11b74c989f5f088330a045dcfa0 | function params = spm_normalise(VG,VF,matname,VWG,VWF,flags)
% Spatial (stereotactic) normalization
%
% FORMAT params = spm_normalise(VG,VF,matname,VWG,VWF,flags)
% VG - template handle(s)
% VF - handle of image to estimate params from
% matname - name of file to store deformation definitions
% VWG ... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_normalise.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/OldNorm/spm_cfg_normalise.m | 25,590 | utf_8 | 0f90b05141e24939e5ddf6f562307d1e | function normalise = spm_cfg_normalise
% SPM Configuration file for toolbox 'Old Normalise'
%__________________________________________________________________________
% Copyright (C) 2005-2012 Wellcome Trust Centre for Neuroimaging
% $Id: spm_cfg_normalise.m 4904 2012-09-06 15:08:56Z guillaume $
if ~isdeployed, addp... |
github | mccahill/docker-novnc-fmri-master | Neural_demo.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Neural_Models/Neural_demo.m | 8,623 | utf_8 | 7a1ce4dee65dd6efc976a7d7e4a25ac7 | function varargout = Neural_demo(varargin)
% NEURAL_DEMO M-file for Neural_demo.fig
% NEURAL_DEMO, by itself, creates a new NEURAL_DEMO or raises the existing
% singleton*.
%
% H = NEURAL_DEMO returns the handle to a new NEURAL_DEMO or the handle to
% the existing singleton*.
%
% NEURAL_DEMO('C... |
github | mccahill/docker-novnc-fmri-master | spm_freqs.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Neural_Models/spm_freqs.m | 3,737 | utf_8 | f5a0d351719da4189914e28855039791 | function [h,ww] = spm_freqs(b,a,w)
%FREQS Laplace-transform (s-domain) frequency response.
% H = FREQS(B,A,W) returns the complex frequency response vector H
% of the filter B/A:
% nb-1 nb-2
% B(s) b(1)s + b(2)s + ... + b(nb)
% H(s) = ---- = -------------... |
github | mccahill/docker-novnc-fmri-master | spm_fx_mfm_NMDA.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Neural_Models/NMDA_NMM_MFM/spm_fx_mfm_NMDA.m | 13,122 | utf_8 | 294f5df8faa968f279564e41cec5704b | function [f,J,Q] = spm_fx_mfm_NMDA(x,u,P,M)
% state equations for neural-mass and mean-field models
% FORMAT [f,J,Q] = spm_fx_mfm_NMDA(x,u,P,M)
%
% x - states and covariances
%
% x{1}(i,j,k) - k-th state of j-th population on i-th source
% i.e., running over sources, pop. and states
% x{2}(:,:,i,j) - ... |
github | mccahill/docker-novnc-fmri-master | spm_mlm_bayes.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/mlm/spm_mlm_bayes.m | 7,342 | utf_8 | d84b23d21aee45ac775fbc943bf506e8 | function [mlm] = spm_mlm_bayes (y,x,pr,verbose,ml_only)
% Bayesian Multivariate Linear Modelling
% FORMAT [mlm] = spm_mlm_bayes (y,x,pr,verbose,ml_only)
%
% MLM: y = x W + e
%
% y T-by-d data matrix
% x N-by-p design matrix
% pr Shrinkage prior on MLM coefficients:
% 'input' (d... |
github | mccahill/docker-novnc-fmri-master | spm_shoot_scalmom.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Shoot/spm_shoot_scalmom.m | 4,739 | windows_1250 | 00126cd411253433c1128cd2c93ce45e | function out = spm_shoot_scalmom(job)
% Generate ``scalar momenta'' for use as features in pattern recognition
% FORMAT out = spm_shoot_scalmom(job)
%
% See:
% Singh, Nikhil, P. Fletcher, J. Preston, Linh Ha, Richard King,
% J. Marron, Michael Wiener, and Sarang Joshi. "Multivariate
% statistical analysis of deformatio... |
github | mccahill/docker-novnc-fmri-master | spm_shoot_update.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Shoot/spm_shoot_update.m | 4,355 | utf_8 | 81eff0791883aa1e8ee10b59a5874a38 | function [u0,ll1,ll2,grad_norm] = spm_shoot_update(g,f,u0,phi,dt,prm, bs_args,scale)
% Shooting Of Diffeomorphisms (Spawn Of Dartel).
% FORMAT u0 = spm_shoot_update(g,f,u0,phi,dt,prm, bs_args)
% g - template
% f - individual
% u0 - initial velocity
% phi - deformation
% dt - Jacobian dete... |
github | mccahill/docker-novnc-fmri-master | spm_shoot3di.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Shoot/spm_shoot3di.m | 5,980 | utf_8 | 3e3227ba0187d7c6f625333609298176 | function varargout = spm_shoot3di(v0,prm,args)
% Geodesic shooting
% FORMAT [theta,Jtheta,v1,phi,Jphi] = spm_shoot3di(v0,prm,args)
% v0 - Initial velocity field n1*n2*n3*3 (single prec. float)
% prm - 8 settings
% - [1][2][3] Voxel sizes
% - [4][5][6][7][8] Regularisation settings.
% Regular... |
github | mccahill/docker-novnc-fmri-master | spm_shoot_template.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Shoot/spm_shoot_template.m | 11,718 | utf_8 | f61fd945dcf17fc469cb6e3d0043d948 | function out = spm_shoot_template(job)
% Iteratively compute a template with mean shape and intensities
% format spm_shoot_template(job)
% Fields of job:
% job.images{1} first set of images (eg rc1*.nii)
% job.images{2} second set of images (eg rc2*.nii)
% etc
%
% Other settings are defined in spm_shoot_def... |
github | mccahill/docker-novnc-fmri-master | spm_shoot_warp.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Shoot/spm_shoot_warp.m | 6,716 | utf_8 | 409a1abb1e016f6f9903774a9f1173c6 | function out = spm_shoot_warp(job)
% Register images with template
% format spm_shoot_warp(job)
% Fields of job:
% job.images{1} first set of images (eg rc1*.nii)
% job.images{2} second set of images (eg rc2*.nii)
% etc
% job.templates template files
% Other settings are defined in spm_shoot_defaults.m
... |
github | mccahill/docker-novnc-fmri-master | spm_shoot_blur.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Shoot/spm_shoot_blur.m | 6,569 | utf_8 | d597b01d0f9cb16219c3a73672a0218b | function [sig,a] = spm_shoot_blur(t,prm,its,sig)
% A function for blurring ("smoothing") tissue probability maps
% FORMAT [sig,a_new] = spm_shoot_blur(t,prm,its,sig)
% t - sufficient statistics
% prm - regularisation parameters (1,1,1, 0.01,0.02,1)
% its - max no. iterations (12)
% sig - optional star... |
github | mccahill/docker-novnc-fmri-master | spm_GPclass.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Shoot/spm_GPclass.m | 11,048 | utf_8 | aa397d388d2c59073857363ed4849aec | function [p,F,K,theta] = spm_GPclass(XX,t,lab,cov_fun,fun_args)
% Gaussian process classification
% [p,F,K,theta] = spm_GPclass(XX,t,lab,cov_fun,fun_args)
% Inputs:
% XX - cell array of dot product matrices
% for training and testing data
% t - target values for training data
% l... |
github | mccahill/docker-novnc-fmri-master | tbx_cfg_shoot.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Shoot/tbx_cfg_shoot.m | 39,318 | utf_8 | 3c9ed31a0cbebcf5d47c8fdb44be4442 | function shoot = tbx_cfg_shoot
% MATLABBATCH Configuration file for toolbox 'Shoot Tools'
% $Id: tbx_cfg_shoot.m 5485 2013-05-09 15:51:24Z john $
if ~isdeployed, addpath(fullfile(spm('dir'),'toolbox','Shoot')); end
% ---------------------------------------------------------------------
% images Images
% ------------... |
github | mccahill/docker-novnc-fmri-master | DEM_demo.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DEM/DEM_demo.m | 25,092 | utf_8 | e427c0627bab538fb592278cd9d958b6 | function varargout = DEM_demo(varargin)
% DEM_DEMO M-file for DEM_demo.fig
% DEM_DEMO, by itself, creates a new DEM_DEMO or raises the existing
% singleton*.
%
% H = DEM_DEMO returns the handle to a new DEM_DEMO or the handle to
% the existing singleton*.
%
% DEM_DEMO('CALLBACK',hObject,eventDa... |
github | mccahill/docker-novnc-fmri-master | DEM_demo_modes_fMRI.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DEM/DEM_demo_modes_fMRI.m | 15,085 | utf_8 | 931603492297445457ada2fa17098a64 | function DEM_demo_modes_fMRI
% Demonstration of spectral DCM for fMRI with eigenvector constraints
%__________________________________________________________________________
% This demonstration routine illustrates the inversion of resting state
% fMRI timeseries using a generative model of the adjacency matrix. This
... |
github | mccahill/docker-novnc-fmri-master | spm_SCK.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DEM/spm_SCK.m | 28,540 | utf_8 | 80c3ece50d7d17865628313f1421e42c | function SCKS = spm_SCK(SCKS)
% FORMAT SCKS = spm_SCK(SCKS)
%__________________________________________________________________________
% Square-root Cubature Kalman Filters [2] & Square-root Rauch-Tang-Striebel
% Smoother (SCKF-SCKS [1]).
%==========================================================================
% Th... |
github | mccahill/docker-novnc-fmri-master | DEM_demo_Bayesian_Model_Reduction.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DEM/DEM_demo_Bayesian_Model_Reduction.m | 6,024 | utf_8 | 832c627550c55bc724cfd964e7e2dac3 | function RCM = DEM_demo_Bayesian_Model_Reduction
% This demonstration code illustrates the application of post hoc model
% optimisation or Bayesian model reduction (BMR) in identifying gene and
% gene-gene interaction effects in behavioural or physiological variables.
% The basic idea is to replace conventional heu... |
github | mccahill/docker-novnc-fmri-master | DEM_spatial_deconvolution.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DEM/DEM_spatial_deconvolution.m | 5,923 | utf_8 | e2dc92843fc3ac8831f2105a159ef3d2 | function DEM_spatial_deconvolution
% FORMAT DEM_spatial_deconvolution
%--------------------------------------------------------------------------
% This (toy) demonstration routine illustrates spatiotemporal
% deconvolution of regional responses from imagine time-series. The
% generative model assumes the data are gen... |
github | mccahill/docker-novnc-fmri-master | spm_Manifold_solve.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DEM/spm_Manifold_solve.m | 6,776 | utf_8 | d3ed15b316637690449cdbcf5a87a86d | % Integration scheme and graphics
%==========================================================================
function [Q,X,V,A,x] = spm_Manifold_solve(x,u,P,T,dt,PLOT)
% FORMAT [Q,X,V,A,x] = spm_Manifold_solve(x,u,P,T,dt,PLOT)
% PLOT = 0 - no grphics
% PLOT = 1 - quick graphics
% PLOT = 2 - quick graphics with traject... |
github | mccahill/docker-novnc-fmri-master | spm_diff_all.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DEM/spm_diff_all.m | 4,148 | utf_8 | 283bcf3b0f88cb43471e8ecd38a1a541 | function [varargout] = spm_diff_all(varargin)
% matrix high-order numerical differentiation
% FORMAT [dfdx] = spm_diff(f,x,...,n)
% FORMAT [dfdx] = spm_diff(f,x,...,n,V)
% FORMAT [dfdx] = spm_diff(f,x,...,n,'q')
%
% f - [inline] function f(x{1},...)
% x - input argument[s]
% n - arguments to differentiat... |
github | mccahill/docker-novnc-fmri-master | spm_MDP.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DEM/spm_MDP.m | 11,663 | utf_8 | c9a3fc7260ab96a03c1e2eea7162b4ed | function [Q,R,S,U,P] = spm_MDP(MDP)
% solves the active inference problem for Markov decision processes
% FROMAT [Q,R,S,U,P] = spm_MDP(MDP)
%
% MDP.T - process depth (the horizon)
% MDP.S(N,1) - initial state
% MDP.B{M}(N,N) - transition probabilities among hidden states (priors)
% MDP.C(N,1) - te... |
github | mccahill/docker-novnc-fmri-master | spm_meta_model.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DEM/spm_meta_model.m | 12,482 | utf_8 | bdea5a9bf7ec629ee2bcc73721f37b9f | function DCM = spm_meta_model(DCM)
% Meta-modelling of Bayes-optimal responses (Newton's method)
% FORMAT DCM = spm_meta_model(DCM)
%
% store estimates in DCM
%--------------------------------------------------------------------------
% DCM.M - meta-model specification
% M: [1 x m struct] - hierarchical infere... |
github | mccahill/docker-novnc-fmri-master | tbx_cfg_render.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/SRender/tbx_cfg_render.m | 19,188 | utf_8 | ae3d9d8979e9f26404d964ed4febab7c | function render = tbx_cfg_render
% Configuration file for toolbox 'Rendering'
%_______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
% John Ashburner
% $Id: tbx_cfg_render.m 5010 2012-10-19 11:47:42Z john $
% -------------------------------... |
github | mccahill/docker-novnc-fmri-master | spm_sextract.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/SRender/spm_sextract.m | 2,163 | utf_8 | 252deabc0821620f19bd64e50e78e925 | function out = spm_sextract(job)
% Surface extraction
%_______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
% John Ashburner
% $Id: spm_sextract.m 4703 2012-03-29 20:30:30Z john $
images = job.images;
Vi = spm_vol(strvcat(images));
n ... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_preproc.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/OldSeg/spm_cfg_preproc.m | 30,052 | utf_8 | e8f68c4ca5ccf3e565449101d29094ed | function preproc = spm_cfg_preproc
% SPM Configuration file for toolbox 'Old Segment'
%______________________________________________________________________
% Copyright (C) 2005-2012 Wellcome Trust Centre for Neuroimaging
% $Id: spm_cfg_preproc.m 4900 2012-09-05 14:06:50Z john $
if ~isdeployed, addpath(fullfile(spm(... |
github | mccahill/docker-novnc-fmri-master | spm_preproc_write.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/OldSeg/spm_preproc_write.m | 8,961 | utf_8 | 121c3ec5e6beafd900a124d9909a7864 | function spm_preproc_write(p,opts)
% Write out VBM preprocessed data
% FORMAT spm_preproc_write(p,opts)
% p - results from spm_prep2sn
% opts - writing options. A struct containing these fields:
% biascor - write bias corrected image
% GM - flags for which images should be written
% WM ... |
github | mccahill/docker-novnc-fmri-master | spm_maff.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/OldSeg/spm_maff.m | 8,017 | utf_8 | 0414ddffb442da971ea3c0740c02f895 | function M = spm_maff(varargin)
% Affine registration to MNI space using mutual information
% FORMAT M = spm_maff(P,samp,x,b0,MF,M,regtyp,ff)
% P - filename or structure handle of image
% x - cell array of {x1,x2,x3}, where x1 and x2 are
% co-ordinates (from ndgrid), and x3 is a list of
% ... |
github | mccahill/docker-novnc-fmri-master | spm_prep2sn.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/OldSeg/spm_prep2sn.m | 7,287 | utf_8 | b4286abfd8b3ad0e2ae62057269649c4 | function [po,pin] = spm_prep2sn(p)
% Convert the output from spm_preproc into an sn.mat file
% FORMAT [po,pin] = spm_prep2sn(p)
% p - the results of spm_preproc
%
% po - the output in a form that can be used by spm_write_sn
% pin - the inverse transform in a form that can be used by spm_write_sn
%
% The outputs are ... |
github | mccahill/docker-novnc-fmri-master | pm_segment.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/FieldMap/pm_segment.m | 25,490 | utf_8 | 7ce513f085ab98d7e03c069e1bc2bce9 | function [VO,M] = pm_segment(VF,PG,flags)
% Segment an MR image into Gray, White & CSF.
%
% FORMAT VO = pm_segment(PF,PG,flags)
% PF - name(s) of image(s) to segment (must have same dimensions).
% PG - name(s) of template image(s) for realignment.
% - or a 4x4 transformation matrix which maps from the image... |
github | mccahill/docker-novnc-fmri-master | FieldMap_applyvdm.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/FieldMap/FieldMap_applyvdm.m | 8,702 | utf_8 | ef40f46262ca4909781e719a119e94d1 | function out = FieldMap_applyvdm(job)
% Apply VDM and reslice images
% FORMAT FieldMap_applyvdm(job)
% job.data(sessnum).scans - images for session/run sessnum
% job.data(sessnum).vdmfile - VDM file for session/run sessnum
% job.roptions.rinterp - interpolation method
% job.roptions.wrap - perform warp arou... |
github | mccahill/docker-novnc-fmri-master | pm_brain_mask.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/FieldMap/pm_brain_mask.m | 4,085 | utf_8 | d37a54d39e8ab4644a298df4d0ce803c | function bmask = pm_brain_mask(P,flags)
% Calculate a brain mask
% FORMAT bmask = pm_brain_mask(P,flags)
%
% P - is a single pointer to a single image
%
% flags - structure containing various options
% template - which template for segmentation
% fwhm - fwhm of smoothing kernel for generating mask
%... |
github | mccahill/docker-novnc-fmri-master | FieldMap.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/FieldMap/FieldMap.m | 82,618 | utf_8 | b5301f3934dfeac9c19db6b363b63799 | function varargout = FieldMap(varargin)
% FieldMap is an SPM Toolbox for creating field maps and unwarping EPI.
% A full description of the toolbox and a usage manual can be found in
% FieldMap.man. This can launched by the toolbox help button or using
% `spm_help FieldMap.man`. The theoretical and practical principles... |
github | mccahill/docker-novnc-fmri-master | tbx_cfg_fieldmap.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/FieldMap/tbx_cfg_fieldmap.m | 39,436 | utf_8 | eb577b04045504cf6bae83cb40c39c16 | function fieldmap = tbx_cfg_fieldmap
% MATLABBATCH Configuration file for toolbox 'FieldMap'
%__________________________________________________________________________
% Copyright (C) 2008-2014 Wellcome Trust Centre for Neuroimaging
% $Id: tbx_cfg_fieldmap.m 6458 2015-05-27 16:22:09Z spm $
addpath(fullfile(spm('dir... |
github | mccahill/docker-novnc-fmri-master | spm_groupwise_ls.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Longitudinal/spm_groupwise_ls.m | 41,353 | utf_8 | 9b16118813b0b96f01b51ff205564d8c | function out = spm_groupwise_ls(Nii, output, prec, w_settings, b_settings, s_settings, ord)
% Groupwise registration via least squares
% FORMAT out = spm_groupwise_ls(Nii, output, prec, w_settings, b_settings, s_settings, ord)
% Nii - a nifti object for two or more image volumes.
% output - a cell array of output op... |
github | mccahill/docker-novnc-fmri-master | spm_rice_mixture.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Longitudinal/spm_rice_mixture.m | 2,778 | utf_8 | b5b022e439c1713110c33b9a8538d05d | function [mg,nu,sig] = spm_rice_mixture(h,x,K)
% Fit a mixture of Ricians to a histogram
% FORMAT [mg,nu,sig] = rice_mixture(h,x,K)
% h - histogram counts
% x - bin positions (plot(x,h) to see the histogram)
% K - number of Ricians
% mg - integral under each Rician
% nu - "mean" parameter of each Rician
% sig -... |
github | mccahill/docker-novnc-fmri-master | tbx_cfg_longitudinal.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/Longitudinal/tbx_cfg_longitudinal.m | 14,423 | utf_8 | f1566cb5f37b4c086917922b0d2cc047 | function cfg = tbx_cfg_longitudinal
% MATLABBATCH Configuration file for toolbox 'Longitudinal'
%_______________________________________________________________________
% Copyright (C) 2012 Wellcome Trust Centre for Neuroimaging
% John Ashburner
% $Id: tbx_cfg_longitudinal.m 5885 2014-02-18 11:53:55Z john $
if ~isdep... |
github | mccahill/docker-novnc-fmri-master | spm_klaff.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DARTEL/spm_klaff.m | 8,309 | utf_8 | 0f668591735d3c71be9a4f95e67fa471 | function M = spm_klaff(Nf, Ng)
% Affine registration by minimising Kullback-Leibler Divergence
% FORMAT M = spm_klaff(Nf,Ng)
% Nf - NIfTI handle for one image
% Ng - Nifti handle for the other. If not passed, then
% spm*/toolbox/Seg/TPM.nii is used.
% M - The voxel-for-voxel affine transform
%
% The images that ... |
github | mccahill/docker-novnc-fmri-master | spm_dartel_norm_fun.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DARTEL/spm_dartel_norm_fun.m | 10,321 | utf_8 | 84943389a1ac545a38228c8e585294b9 | function out = spm_dartel_norm_fun(job)
% Spatially normalise and smooth fMRI/PET data to MNI space, using Dartel flow fields
% FORMAT out = spm_dartel_norm_fun(job)
% job - a structure generated by the configuration file
% job.template - Dartel template for aligning to MNI space
% job.subj(n) - Subject n
% ... |
github | mccahill/docker-novnc-fmri-master | tbx_cfg_dartel.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DARTEL/tbx_cfg_dartel.m | 66,566 | utf_8 | 9a65c05adb9056f5aea2619aec404417 | function dartel = tbx_cfg_dartel
% Configuration file for toolbox 'Dartel Tools'
%_______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
% John Ashburner
% $Id: tbx_cfg_dartel.m 6050 2014-06-16 18:58:21Z guillaume $
if ~isdeployed, addpath(f... |
github | mccahill/docker-novnc-fmri-master | spm_dartel_smooth.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DARTEL/spm_dartel_smooth.m | 1,773 | utf_8 | b7c32a058585a98c2722f80112a61f05 | function [sig,a] = spm_dartel_smooth(t,lam,its,vx,a)
% A function for smoothing tissue probability maps
% FORMAT [sig,a_new] = spm_dartel_smooth(t,lam,its,vx,a_old)
%________________________________________________________
% (c) Wellcome Centre for NeuroImaging (2007)
% John Ashburner
% $Id: spm_dartel_smooth.m 3102 2... |
github | mccahill/docker-novnc-fmri-master | spm_dartel_import.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/DARTEL/spm_dartel_import.m | 11,026 | utf_8 | 83bf072eac6451c44aedd81f583df2d5 | function out = spm_dartel_import(job)
% Import subjects' data for use with Dartel
% FORMAT spm_dartel_import(job)
% job.matnames - Names of *_seg_sn.mat files to use
% job.odir - Output directory
% job.bb - Bounding box
% job.vox - Voxel sizes
% job.GM/WM/CSF - Options fo different tissue classes
% j... |
github | mccahill/docker-novnc-fmri-master | spm_dpss.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/spectral/spm_dpss.m | 4,266 | utf_8 | f38f5c5d111b9dd2c799242fc07d7e30 | function [E] = spm_dpss (N,NW)
% Compute discrete prolate spheroidal sequences
% FORMAT [E] = spm_dpss (N,NW)
%
% N Length of taper
% NW Product of N and W
%
% E [N x 2NW] matrix containing dpss sequences
% The kth column contains the sequence which
% comprises the length N s... |
github | mccahill/docker-novnc-fmri-master | spm_ccf2mar.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/spectral/spm_ccf2mar.m | 2,295 | utf_8 | a0ccac44d8dae976789065abd99ff79f | function [mar,pcond] = spm_ccf2mar(ccf,p)
% Converts cross covariance function to cross spectral density
% FORMAT [mar] = spm_ccf2mar(ccf,p)
%
% ccf (N,m,m) - cross covariance functions
% p - AR(p) order
%
% mar.noise_cov - (m,m) covariance of innovations
% mar.mean - (p*m,m) MAR... |
github | mccahill/docker-novnc-fmri-master | spm_eeg_inv_ecd_DrawDip.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/dcm_meeg/spm_eeg_inv_ecd_DrawDip.m | 19,911 | utf_8 | 27d0016a8e7dc6322f146af81a212fc6 | function spm_eeg_inv_ecd_DrawDip(action,varargin)
% Display the dipoles as obtained from VB-ECD
% FORMAT spm_eeg_inv_ecd_DrawDip('Init',[sdip,[P]])
% Display dipoles from SDIP structure on image P [Default is avg152T1]
%
% If multiple seeds have been used, you can select the seeds to display
% by pressing their index.... |
github | mccahill/docker-novnc-fmri-master | spm_fx_nmda.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/dcm_meeg/spm_fx_nmda.m | 11,557 | utf_8 | ba5758a387b71af1bc739e9608463581 | function [f,J,Q] = spm_fx_nmda(x,u,P,M)
% state equations for neural-mass and mean-field models
% FORMAT [f,J,Q] = spm_fx_nmda(x,u,P,M)
%
% x - states and covariances
%
% x{1}(i,j,k) - k-th state of j-th population of i-th source
% i.e., running over sources, pop. and states
% x{2}(:,:,i,j) - covarian... |
github | mccahill/docker-novnc-fmri-master | spm_dcm_phase_results.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/dcm_meeg/spm_dcm_phase_results.m | 4,023 | utf_8 | ebef13805761004edd122059cb98863f | function [DCM] = spm_dcm_phase_results(DCM,Action)
% Results for Dynamic Causal Modeling (DCM) for phase coupling
% FORMAT spm_dcm_phase_results(DCM,Action);
% Action:
% 'Sin(Data) - Region j'
% 'Coupling (As)'
% 'Coupling (Bs)'
%__________________________________________________________________________
% C... |
github | mccahill/docker-novnc-fmri-master | spm_fx_mfm.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/dcm_meeg/spm_fx_mfm.m | 11,168 | utf_8 | 5d30486604d7692e36574fd779563143 | function [f,J,Q] = spm_fx_mfm(x,u,P,M)
% state equations for neural-mass and mean-field models
% FORMAT [f,J,Q] = spm_fx_mfm(x,u,P,M)
%
% x - states and covariances
%
% x{1}(i,j,k) - k-th state of j-th population of i-th source
% i.e., running over sources, pop. and states
% x{2}(:,:,i,j) - covariance... |
github | mccahill/docker-novnc-fmri-master | spm_csd_mtf.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/dcm_meeg/spm_csd_mtf.m | 4,985 | utf_8 | be015889c8ad0f07b97a2add3efd3db1 | function [y,w,s,g] = spm_csd_mtf(P,M,U)
% Spectral response of a NMM (transfer function x noise spectrum)
% FORMAT [y,w,s,g] = spm_csd_mtf(P,M,U)
% FORMAT [y,w,s,g] = spm_csd_mtf(P,M)
%
% P - parameters
% M - neural mass model structure
% U - trial-specific effects (induces expansion around steady state)
%
% y - {y(N,n... |
github | mccahill/docker-novnc-fmri-master | spm_api_erp.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/dcm_meeg/spm_api_erp.m | 51,314 | utf_8 | a9a2627faf7f0e36141e7b91a87f35ca | function varargout = spm_api_erp(varargin)
% SPM_API_ERP Application M-file for spm_api_erp.fig
% FIG = SPM_API_ERP launch spm_api_erp GUI.
% SPM_API_ERP('callback_name', ...) invoke the named callback.
%__________________________________________________________________________
% Copyright (C) 2005-2014 Wellcome ... |
github | mccahill/docker-novnc-fmri-master | spm_dcm_erp_viewspatial.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/dcm_meeg/spm_dcm_erp_viewspatial.m | 11,239 | utf_8 | 44b18c186a1b3aba1a446b9110ee6838 | function varargout = spm_dcm_erp_viewspatial(varargin)
% SPM_DCM_ERP_VIEWSPATIAL M-file for spm_dcm_erp_viewspatial.fig
% SPM_DCM_ERP_VIEWSPATIAL, by itself, creates a new SPM_DCM_ERP_VIEWSPATIAL or raises the existing
% singleton*.
%
% H = SPM_DCM_ERP_VIEWSPATIAL returns the handle to a new SPM_DCM_ERP_... |
github | mccahill/docker-novnc-fmri-master | spm_api_nmm.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/dcm_meeg/spm_api_nmm.m | 16,138 | utf_8 | b5988d5426f4eadc65aba1ba61124b89 | function varargout = spm_api_nmm(varargin)
% SPM_API_NMM M-file for spm_api_nmm.fig
% SPM_API_NMM, by itself, creates a new SPM_API_NMM or raises the existing
% singleton*.
%
% H = SPM_API_NMM returns the handle to a new SPM_API_NMM or the handle to
% the existing singleton*.
%
% SPM_API_NMM('C... |
github | mccahill/docker-novnc-fmri-master | spm_erp_L.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/dcm_meeg/spm_erp_L.m | 4,012 | utf_8 | 3bcae25eb9f1531121072aac7ae84fda | function [L] = spm_erp_L(P,dipfit)
% returns [projected] lead field L as a function of position and moments
% FORMAT [L] = spm_erp_L(P,dipfit)
% P - model parameters
% dipfit - spatial model specification
% L - lead field
%__________________________________________________________________________
%
% The l... |
github | mccahill/docker-novnc-fmri-master | spm_eeg_megheadloc.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/MEEGtools/spm_eeg_megheadloc.m | 15,303 | utf_8 | e4c77ffffa25f9349595646cc1ada6a2 | function D = spm_eeg_megheadloc(S)
% Use head localization of CTF to select/reject trials based on head
% position and (optionally) correct the sensor coordinates to correspond to
% the selected trials. The function can be used on a single dataset as well
% as several datasets together. Most of the functionality requir... |
github | mccahill/docker-novnc-fmri-master | spm_eeg_fix_ctf_headloc.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/MEEGtools/spm_eeg_fix_ctf_headloc.m | 20,318 | utf_8 | 3d3b4429def91e370213588fe87f2ab5 | function D = spm_eeg_fix_ctf_headloc(S)
% Fix head localization data in a continuous CTF dataset with continuous
% head localization. The tracking has to be valid at least some of the time
%
% The functionality requires the original CTF header (read with CTF toolbox)
% to be present (set S.saveorigheader = 1 at convers... |
github | mccahill/docker-novnc-fmri-master | spm_eeg_var_measures.m | .m | docker-novnc-fmri-master/mri/spm12/toolbox/MEEGtools/spm_eeg_var_measures.m | 8,986 | utf_8 | b5458b4fb45ad6613154121df8fd7d97 | function spm_eeg_var_measures
% Function for computing Fourier coherence using Fieldtrip and VAR based directed measures
% using SPM's spectral toolbox, developed by Will Penny.
%
% Disclaimer: this code is provided as an example and is not guaranteed to work
% with data on which it was not tested. If it does not work ... |
github | mccahill/docker-novnc-fmri-master | test_spm_trace.m | .m | docker-novnc-fmri-master/mri/spm12/tests/test_spm_trace.m | 985 | utf_8 | 22e942da416eed099b1946dfe6295611 | function tests = test_spm_trace
% Unit Tests for spm_trace
%__________________________________________________________________________
% Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging
% $Id: test_spm_trace.m 6352 2015-02-27 18:30:35Z guillaume $
tests = functiontests(localfunctions);
function test_spm_tr... |
github | mccahill/docker-novnc-fmri-master | test_spm_filter.m | .m | docker-novnc-fmri-master/mri/spm12/tests/test_spm_filter.m | 1,056 | utf_8 | dbccf25b21de27d9844ee9a0ec70e17b | function tests = test_spm_filter
% Unit Tests for spm_filter
%__________________________________________________________________________
% Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging
% $Id: test_spm_filter.m 6352 2015-02-27 18:30:35Z guillaume $
tests = functiontests(localfunctions);
function test_spm... |
github | mccahill/docker-novnc-fmri-master | ROBOT_DCM_fMRI.m | .m | docker-novnc-fmri-master/mri/spm12/tests/ROBOT_DCM_fMRI.m | 4,056 | utf_8 | 4b337205a9e8fabff460438b92691fa2 | function E = ROBOT_DCM_fMRI
% test routine to check current implementations of DCM for fMRI
%==========================================================================
%
% Options
%--------------------------------------------------------------------------
% DCM.options.two_state % two regional populations ... |
github | mccahill/docker-novnc-fmri-master | ROBOT_DCM_EEG.m | .m | docker-novnc-fmri-master/mri/spm12/tests/ROBOT_DCM_EEG.m | 8,116 | utf_8 | 7afb7db1ef7cda83e64a5da7498a5a10 | function E = ROBOT_DCM_EEG
% test routine to check current implementations of DCM for electrophysiology
%==========================================================================
% options.analysis - 'ERP','CSD', 'IND' or 'TFM
% options.model - 'ERP','SEP','CMC','LFP','NNM' or 'MFM'
% options.spatial ... |
github | mccahill/docker-novnc-fmri-master | test_spm_dctmtx.m | .m | docker-novnc-fmri-master/mri/spm12/tests/test_spm_dctmtx.m | 1,403 | utf_8 | ad0a6477f770f373ee306b1546cdeda1 | function tests = test_spm_dctmtx
% Unit Tests for spm_dctmtx
%__________________________________________________________________________
% Copyright (C) 2015 Wellcome Trust Centre for Neuroimaging
% $Id: test_spm_dctmtx.m 6352 2015-02-27 18:30:35Z guillaume $
tests = functiontests(localfunctions);
function test_spm... |
github | mccahill/docker-novnc-fmri-master | coor2D.m | .m | docker-novnc-fmri-master/mri/spm12/@meeg/coor2D.m | 5,328 | utf_8 | 83af325130ed70f637d0b37047cf267c | function [res, plotind] = coor2D(this, ind, val, mindist)
% returns x and y coordinates of channels in 2D plane
% FORMAT coor2D(this)
% _______________________________________________________________________
% Copyright (C) 2008-2012 Wellcome Trust Centre for Neuroimaging
% Vladimir Litvak, Laurence Hunt
% $Id: coor2D... |
github | mccahill/docker-novnc-fmri-master | subsasgn.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/subsasgn.m | 6,253 | utf_8 | 09510975c55a7e133b071cc8f5d5d35b | function obj = subsasgn(obj,subs,dat)
% Overloaded subsasgn function for file_array objects
%__________________________________________________________________________
% Copyright (C) 2005-2013 Wellcome Trust Centre for Neuroimaging
%
% $Id: subsasgn.m 6157 2014-09-05 18:17:54Z guillaume $
if isempty(subs), return; ... |
github | mccahill/docker-novnc-fmri-master | subsref.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/subsref.m | 5,317 | utf_8 | 64728e33af32c06b26b99b74b700f1f5 | function varargout=subsref(obj,subs)
% SUBSREF Subscripted reference
% An overloaded function...
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
%
% $Id: subsref.m 4136 2010-12-09 22:22:28Z guillaume $
if isempty(subs), return; e... |
github | mccahill/docker-novnc-fmri-master | disp.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/disp.m | 929 | utf_8 | d0546a638c254605a9122a095e4a06ff | function disp(obj)
% Display a file_array object
% _______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
%
% $Id: disp.m 4136 2010-12-09 22:22:28Z guillaume $
if numel(struct(obj))>1,
fprintf(' %s object: ', class(obj));
sz =... |
github | mccahill/docker-novnc-fmri-master | offset.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/private/offset.m | 738 | utf_8 | 366c2df9f0b718e446521ec24447d7a8 | function varargout = offset(varargin)
% Format
% For getting the value
% dat = offset(obj)
%
% For setting the value
% obj = offset(obj,dat)
% _______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
%
% $Id: offset.m 1143 2008-02-07 19:33:33Z ... |
github | mccahill/docker-novnc-fmri-master | scl_slope.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/private/scl_slope.m | 724 | utf_8 | 3da54efdb2422c907f41b13b577c1e11 | function varargout = scl_slope(varargin)
% Format
% For getting the value
% dat = scl_slope(obj)
%
% For setting the value
% obj = scl_slope(obj,dat)
% _______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
%
% $Id: scl_slope.m 1143 2008-02-0... |
github | mccahill/docker-novnc-fmri-master | scl_inter.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/private/scl_inter.m | 725 | utf_8 | 8beb5c3767db12faab13c212db9a22ee | function varargout = scl_inter(varargin)
% Format
% For getting the value
% dat = scl_inter(obj)
%
% For setting the value
% obj = scl_inter(obj,dat)
% _______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
%
% $Id: scl_inter.m 1143 2008-02-0... |
github | mccahill/docker-novnc-fmri-master | fname.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/private/fname.m | 688 | utf_8 | a873d5e909b320be0af566b05e301636 | function varargout = fname(varargin)
% Format
% For getting the value
% dat = fname(obj)
%
% For setting the value
% obj = fname(obj,dat)
% _______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
%
% $Id: fname.m 1143 2008-02-07 19:33:33Z spm ... |
github | mccahill/docker-novnc-fmri-master | dim.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/private/dim.m | 800 | utf_8 | ee81353b13c1dd2f6e5a186f9db0f205 | function varargout = dim(varargin)
% Format
% For getting the value
% dat = dim(obj)
%
% For setting the value
% obj = dim(obj,dat)
% _______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
%
% $Id: dim.m 1143 2008-02-07 19:33:33Z spm $
if n... |
github | mccahill/docker-novnc-fmri-master | permission.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/private/permission.m | 873 | utf_8 | c058329145646bbcd34aaeffb7184ea9 | function varargout = permission(varargin)
% Format
% For getting the value
% dat = permission(obj)
%
% For setting the value
% obj = permission(obj,dat)
% _______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
%
% $Id: permission.m 1340 2008-... |
github | mccahill/docker-novnc-fmri-master | dtype.m | .m | docker-novnc-fmri-master/mri/spm12/@file_array/private/dtype.m | 2,619 | utf_8 | 6cd1783acd0cad40eb5fafe31a44aa1f | function varargout = dtype(varargin)
% FORMAT varargout = dtype(varargin)
% For getting the value
% dat = dtype(obj)
%
% For setting the value
% obj = dtype(obj,dat)
%__________________________________________________________________________
% Copyright (C) 2005-2013 Wellcome Trust Centre for Neuroimaging
%
% $Id: dty... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_ppi.m | .m | docker-novnc-fmri-master/mri/spm12/config/spm_cfg_ppi.m | 5,871 | utf_8 | 7b28e890913168cd07122619aee3011e | function ppis = spm_cfg_ppi
% SPM Configuration file for PPIs
%__________________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
% Guillaume Flandin
% $Id: spm_cfg_ppi.m 5652 2013-09-25 09:36:22Z volkmar $
% -----------------------------------------... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_eeg_inv_coregshift.m | .m | docker-novnc-fmri-master/mri/spm12/config/spm_cfg_eeg_inv_coregshift.m | 5,048 | utf_8 | befdba8dcd4836309827a539d6b25e0c | function coregshift = spm_cfg_eeg_inv_coregshift
% configuration file for specifying the head model for source
% reconstruction. THis is to add deterministic or random displacements to
% simulate coregistration error. GRB
%_______________________________________________________________________
% Copyright (C) 2013 Well... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_bms_map.m | .m | docker-novnc-fmri-master/mri/spm12/config/spm_cfg_bms_map.m | 13,044 | utf_8 | d079ebeab9cbfb2ad3a0b777b74a1961 | function bms = spm_cfg_bms_map
% Configuration file for BMS interface
%__________________________________________________________________________
% Copyright (C) 2008-2014 Wellcome Trust Centre for Neuroimaging
% Maria Joao Rosa
% $Id: spm_cfg_bms_map.m 6004 2014-05-21 14:24:14Z guillaume $
%-------------------------... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_deformations.m | .m | docker-novnc-fmri-master/mri/spm12/config/spm_cfg_deformations.m | 21,839 | utf_8 | 39be3c05faeca01094f0d836705cdfbb | function conf = spm_cfg_deformations
% Configuration file for deformation jobs
%_______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
% John Ashburner
% $Id: spm_cfg_deformations.m 6137 2014-08-19 12:43:11Z john $
hsummary = {[...
'This is ... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_eeg_grandmean.m | .m | docker-novnc-fmri-master/mri/spm12/config/spm_cfg_eeg_grandmean.m | 2,603 | utf_8 | 9d8a7f43f2f674ddfa38a755e3ddfd6c | function grandmean = spm_cfg_eeg_grandmean
% configuration file for averaging evoked responses
%__________________________________________________________________________
% Copyright (C) 2008-2012 Wellcome Trust Centre for Neuroimaging
% Stefan Kiebel
% $Id: spm_cfg_eeg_grandmean.m 5377 2013-04-02 17:07:57Z vladimir $... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_bbox.m | .m | docker-novnc-fmri-master/mri/spm12/config/spm_cfg_bbox.m | 2,406 | utf_8 | c304e44fc17818ed657942458623b7d9 | function bbox = spm_cfg_bbox
% SPM Configuration file for Get Bounding Box
%__________________________________________________________________________
% Copyright (C) 2013 Wellcome Trust Centre for Neuroimaging
% Ged Ridgway
% $Id: spm_cfg_bbox.m 5301 2013-03-05 18:33:39Z ged $
img = cfg_files;
img.tag ... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_dicom.m | .m | docker-novnc-fmri-master/mri/spm12/config/spm_cfg_dicom.m | 6,116 | utf_8 | 4a5b2ba5cbe40b60fb294d41b1758bab | function dicom = spm_cfg_dicom
% SPM Configuration file for DICOM Import
%_______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
% $Id: spm_cfg_dicom.m 6376 2015-03-12 15:15:57Z john $
% ------------------------------------------------------... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_mfx.m | .m | docker-novnc-fmri-master/mri/spm12/config/spm_cfg_mfx.m | 9,550 | utf_8 | df1675798670d2b83e91d2317042b0ed | function mfx = spm_cfg_mfx
% SPM Configuration file for MFX
%__________________________________________________________________________
% Copyright (C) 2010-2014 Wellcome Trust Centre for Neuroimaging
% Guillaume Flandin
% $Id: spm_cfg_mfx.m 6239 2014-10-13 14:53:48Z guillaume $
%-------------------------------------... |
github | mccahill/docker-novnc-fmri-master | spm_cfg_factorial_design.m | .m | docker-novnc-fmri-master/mri/spm12/config/spm_cfg_factorial_design.m | 53,756 | utf_8 | 98b0f4238e75e402d729daaff4ddbaac | function factorial_design = spm_cfg_factorial_design
% SPM Configuration file for second-level models
%__________________________________________________________________________
% Copyright (C) 2005-2015 Wellcome Trust Centre for Neuroimaging
% Will Penny
% $Id: spm_cfg_factorial_design.m 6333 2015-02-11 13:14:23Z gui... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.