writeFlags
Write input flags to a k-Wave HDF5 file.
Syntax
writeFlags(filename)
Description
writeFlags reads the input HDF5 file and derives and writes the required source and medium flags based on the datasets present in the file. For example, if the file contains a data set named 'BonA', the nonlinear_flag will be written as true. Conditional flags are also written. The source mode flags are written when appropriate if they are not already present in the file. The default source mode is 'additive'.
List of flags that are always written
ux_source_flaguy_source_flaguz_source_flagp_source_flagp0_source_flagtransducer_source_flagnonuniform_grid_flagnonlinear_flagabsorbing_flagsensor_mask_type
List of conditional flags
u_source_modeu_source_manyp_source_modep_source_many
Inputs
filename |
name of HDF5 file to write matrix to |
See Also
h5writeatt, writeAttributes, writeGrid, writeMatrix