Field Dump Export
Dump2VTK
- Dump2VTK(filename, fields, mesh, fieldname, varargin)
Full definition:
Dump2VTK(filename, fields, mesh, fieldname, varargin)
Dump fields extracted from an hdf5 file to a vtk file format
possible arguments:
‘NativeDump’: 0 (default) / 1, dump in native coordinate system
‘CloseAlpha’: 0 (default) / 1, repeat first/last line in alpha-direction for a full cylindrical mesh
example:
author: Thorsten Liebig
See also ReadHDF5FieldData ReadHDF5Mesh GetField_TD2FD GetField_Interpolation
DumpFF2VTK
- DumpFF2VTK(filename, farfield, thetaRange, phiRange, varargin)
Full definition:
DumpFF2VTK(filename, farfield, thetaRange, phiRange, varargin)
Dump 3D far field pattern to a vtk file
input:
filename: filename of VTK file, existing file will be overwritten
farfield: far field in V/m
thetaRange: theta range in deg
phiRange: phi range in deg
variable input:
‘scale’: linear scale of plot, doesn’t affect gain values
‘logscale’: if set, show far field with logarithmic scale set the dB value for point of origin values below will be clamped
‘maxgain’: add max gain in dB to normalized far field only valid if logscale is set default is 0dB
example:
DumpFF2VTK(filename, farfield, thetaRange, phiRange, ...
'scale', 2, 'logscale', -20, 'maxgain', 3)
see also examples/NF2FF/infDipol.m
See also CreateNF2FFBox, CalcNF2FF
author: Thorsten Liebig