calc_covar_prior

PURPOSE ^

CALC_COVAR_PRIOR image prior with distance-based interelement covar

SYNOPSIS ^

function Reg= calc_covar_prior( inv_model )

DESCRIPTION ^

 CALC_COVAR_PRIOR image prior with distance-based interelement covar
 This is a simplification of exponential_covar_prior.m
 Reg= calc_covar_prior( inv_model )
 Reg        => output regularization 
 inv_model  => inverse model struct
 P_type--prior type
 1: elements are globally correlated
 2: elements within/without electrode rings are correlated to elements in same region.
 3: only elements within electrode rings are correlated.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function Reg= calc_covar_prior( inv_model )
0002 % CALC_COVAR_PRIOR image prior with distance-based interelement covar
0003 % This is a simplification of exponential_covar_prior.m
0004 % Reg= calc_covar_prior( inv_model )
0005 % Reg        => output regularization
0006 % inv_model  => inverse model struct
0007 % P_type--prior type
0008 % 1: elements are globally correlated
0009 % 2: elements within/without electrode rings are correlated to elements in same region.
0010 % 3: only elements within electrode rings are correlated.
0011 
0012 % (C) 2007, Tao Dai and Andy Adler. Licenced under the GPL Version 2
0013 % $Id: calc_covar_prior.m 3104 2012-06-08 14:46:01Z bgrychtol $
0014 
0015 % get average x,y,z of each element
0016 warning('EIDORS:deprecated','CALC_COVAR_PRIOR is deprecated as of 08-Jun-2012. Use PRIOR_COVAR instead.');
0017 
0018 Reg = prior_covar(inv_model);

Generated on Wed 21-Jun-2017 09:29:07 by m2html © 2005