solve_volt_image

PURPOSE ^

SOLVE_VOLT_IMAGE: solve and create images of voltage

SYNOPSIS ^

function imv = solve_volt_image(img,msm,ctr);

DESCRIPTION ^

 SOLVE_VOLT_IMAGE: solve and create images of voltage
  Parameters:
     img - Image to solve to
     Optional parameters
     msm - model_slice_mapper field
     ctr - contour filed

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function imv = solve_volt_image(img,msm,ctr);
0002 % SOLVE_VOLT_IMAGE: solve and create images of voltage
0003 %  Parameters:
0004 %     img - Image to solve to
0005 %     Optional parameters
0006 %     msm - model_slice_mapper field
0007 %     ctr - contour filed
0008 
0009 % $Id: solve_volt_image.m 6265 2022-04-04 13:02:28Z aadler $
0010 % (C) 2021 Andy Adler. Licence GPL v2 or v3
0011 
0012     img.fwd_solve.get_all_meas = true;
0013     vv = fwd_solve(img);
0014     imv = rmfield(img, 'elem_data');
0015     imv.node_data = vv.volt;
0016     if nargin==1; return; end
0017 
0018     imv.fwd_model.mdl_slice_mapper = msm;
0019     imv.show_slices.axes_msm = true;
0020     if nargin==2; return; end
0021 
0022     imv.show_slices.contour_levels = ctr;
0023

Generated on Fri 30-Dec-2022 19:44:54 by m2html © 2005