k-Wave Toolbox Previous   Next

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

List of conditional flags

Inputs

filename

name of HDF5 file to write matrix to

See Also

writeAttributes, writeGrid, writeMatrix


© 2009-2014 Bradley Treeby and Ben Cox.