Convert_VF_DiscMaterial

function Convert_VF_DiscMaterial(raw_filesuffix, mat_db_file, out_filename, varargin)

Full definition:

function Convert_VF_DiscMaterial(raw_filesuffix, mat_db_file, out_filename, varargin)

function to convert the virtual family raw voxel data to a disc material property required by CSXCAD/openEMS

Note: The conversion is (currently) done, converting the broad-band data into a relative permittivity and conductivity for a given frequency of interest. Thus the converted model is only valid within a small frequency range around the used conversion frequency.

required arguments:

  • raw_filesuffix: suffix for the virtual family body model files the files: <raw_filesuffix>.txt and <raw_filesuffix>.raw must be found! example: ‘/tmp/Ella_26y_V2_1mm’

  • mat_db_file: tissue database file (incl. full path if necessary) example: ‘/tmp/DB_h5_20120711_SEMCADv14.8.h5’

  • out_filename: outfile name, e.g. ‘Ella_298MHz.h5’

variable arguments (key/value):

  • ‘Frequency’: specifiy the frequency of interest (required!)

  • ‘Center’: 0/1 make the model centered around (0,0,0) (default is off)

Requirements:

  • Matlab, Octave is currently not supported due to missing hdf5 write functions

  • ~6GB of RAM to convert the largest voxel model

  • Virtual Family voxel models e.g. Duke_34y_V5_1mm.raw and .txt See http://www.itis.ethz.ch/itis-for-health/virtual-population/overview/

  • Virtual Family tissue database e.g. DB_h5_20120711_SEMCADv14.8.h5 Download from: http://www.itis.ethz.ch/assets/Downloads/TissueDb/DBh5_20120711_SEMCADv14.8.zip

example:

Convert_VF_DiscMaterial('/tmp/Ella_26y_V2_1mm', ...
                        '/tmp/DB_h5_20120711_SEMCADv14.8.h5', ...
                        'Ella_centered_298MHz.h5', ...
                        'Frequency', 2.4e9);

(c) 2013 Thorsten Liebig