Based on the 'bubble' data from Eidors2D, use several different algorithms to image it
0001 % Based on the 'bubble' data from Eidors2D, use several 0002 % different algorithms to image it 0003 0004 % (C) 2005 Andy Adler. License: GPL version 2 or version 3 0005 % $Id: image_2d_algs.m 2003 2009-12-28 17:36:57Z aadler $ 0006 0007 n_elec= 16; 0008 n_rings= 1; 0009 options = {'no_meas_current','no_rotate_meas'}; 0010 0011 [st, ms]= mk_stim_patterns(n_elec, n_rings, '{ad}','{ad}', options, 10); 0012 inv2d= mk_common_model('c2c2',n_elec); 0013 inv2d.fwd_model.stimulation = st; 0014 inv2d.fwd_model.meas_select = ms; 0015 0016 load eidors2d_bubble.mat 0017 d1= bubble2(1280+(-255:0)); 0018 d2= bubble1(1280+(-255:0)); 0019 0020 img= inv_solve( inv2d, d1, d2); 0021 show_fem(img);