Hi,
I'm trying to save every 10th sample when running k-wave in the forward propagation using kspaceFirstOrder3D.
I noticed record is no longer an input option and was usually paired as follows:
record = 10; % Record data every 10 time steps
% Run the forward simulation
sensor_data = kspaceFirstOrder3D(kgrid, medium, source, [], sensor, 'Record', record, 'PlotSim', false);
----------
alternativly sensor used to also be able to take an integer to record every nth frame with this also has been removed.
sensor.record = ceil(t_end/(10*dt)); % set the number of recorded time points
sensor.record_start_index = 10; % set the start index for the recorded time points
sensor_data = kspaceFirstOrder3D(kgrid, medium, source, sensor, input_args{:});
------------
I get errors for both of the above saying they are not valid inputs anymore.
version released notes show many functions and methods have been depreciated.
http://www.k-wave.org/documentation/k-wave_release_notes.php
Can you please provide a solution to do the above?