convert_units

PURPOSE ^

CONVERT_IMG_UNITS change image data units

SYNOPSIS ^

function y = convert_units(varargin)

DESCRIPTION ^

CONVERT_IMG_UNITS change image data units 
  img = convert_img_units(img,new_unit) converts img.elem_data or img.node_data
  expressed in img.current_params into different units for the same 
  physical property
 
 Examples: 
  img = mk_image(mdl, 2, 'resisitivity');
  img = convert_img_units(img, 'conductivity');

  img = mk_image(mdl, 1);
  img.current_params = 'log_resistivity';
  img = convert_img_units(img, 'conductivity');

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function y = convert_units(varargin)
0002 %CONVERT_IMG_UNITS change image data units
0003 %  img = convert_img_units(img,new_unit) converts img.elem_data or img.node_data
0004 %  expressed in img.current_params into different units for the same
0005 %  physical property
0006 %
0007 % Examples:
0008 %  img = mk_image(mdl, 2, 'resisitivity');
0009 %  img = convert_img_units(img, 'conductivity');
0010 %
0011 %  img = mk_image(mdl, 1);
0012 %  img.current_params = 'log_resistivity';
0013 %  img = convert_img_units(img, 'conductivity');
0014 
0015 % (C) 2012-2014 Alistair Boyle and Bartlomiej Grychtol
0016 % License: GPL version 2 or 3
0017 % $Id: convert_units.m 4596 2014-05-22 01:26:53Z alistair_boyle $
0018 
0019 warning('EIDORS:deprecated','CONVERT_UNITS is deprecated as of 30-Apr-2014. Use CONVERT_IMG_UNITS instead.');
0020 y = convert_img_units(varargin{:});

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