Create Grid Fields Map
Class: kwave.toolbox.GridField Package: kwave.toolbox
Constructs and returns a map of grid field properties based on provided definitions.
Syntax
fieldsMap = createGridFieldsMap(fieldDefinitions);
Description
The createGridFieldsMap method is designed to create a containers.Map that provides handling and validation details for grid field properties. Each key of the map corresponds to a grid field property's name, and the associated value is a kwave.toolbox.GridField object. This utility is used to generate the gridFields property for classes derived from kwave.toolbox.GridInput.
Input Arguments
fieldDefinitions- (kwave.toolbox.GridFieldarray) An array ofkwave.toolbox.GridFieldobjects.
Output Arguments
fieldsMap- (containers.Map) A map where the keys are the property names and the values arekwave.toolbox.GridField