Description of the Enhancement
There are instances, such as with tomographic reconstruction with a circular array, i.e. where sensor data is acquired from different pulsing sequences, but all the send/recieve transducers are in the same locations. AT each call, the combine_sensor_data method of the karray class sums up the wave forms from the weights, but the weights can be precomputed and saved, so that part of the computations are not repeated.
Justification for the Enhancement
- Improves Efficiency: avoids repeated computations.
Impact of Changes
the combine_sensor_data is split into pre and post-computations methods, where the weights are either saved to disk, or stored as 4D array of weights [number_of_elements, Nx, Ny, Nz] as a member of the karray class in the preprocessing step. In the postprocessing step, the weights and the sensor_data are combined to produce the combined sensor data array.
As the input hdf5 files are over written with each simulation, it is best have the option to save to another hdf5 file if required.
Description of the Enhancement
There are instances, such as with tomographic reconstruction with a circular array, i.e. where sensor data is acquired from different pulsing sequences, but all the send/recieve transducers are in the same locations. AT each call, the
combine_sensor_datamethod of thekarrayclass sums up the wave forms from the weights, but the weights can be precomputed and saved, so that part of the computations are not repeated.Justification for the Enhancement
Impact of Changes
the
combine_sensor_datais split into pre and post-computations methods, where the weights are either saved to disk, or stored as 4D array of weights [number_of_elements, Nx, Ny, Nz] as a member of thekarrayclass in the preprocessing step. In the postprocessing step, the weights and thesensor_dataare combined to produce the combined sensor data array.As the input hdf5 files are over written with each simulation, it is best have the option to save to another hdf5 file if required.