| k-Wave Toolbox |
|
Write input flags to a k-Wave HDF5 file
writeFlags(filename)
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_typeList of conditional flags
u_source_modeu_source_manyp_source_modep_source_many
|
name of HDF5 file to write matrix to |
writeAttributes, writeGrid, writeMatrix
|
writeAttributes | writeGrid | ![]() |
© 2009-2014 Bradley Treeby and Ben Cox.