Commit 6189d45e authored by Chris Smith's avatar Chris Smith
Browse files

Flush results to file during guess and after parameter extraction

parent 11d8e24b
......@@ -267,6 +267,8 @@ class BELoopModel(Model):
self.h5_loop_metrics[self._start_pos:self._end_pos, self._current_met_spec_slice] = metrics_2d
self.h5_guess[self._start_pos:self._end_pos, self._current_met_spec_slice] = guessed_loops_2
self.hdf.flush()
'''
Change the starting position and get the next chunk of data
'''
......@@ -436,6 +438,8 @@ class BELoopModel(Model):
h5_loop_parameters[:, :] = switching_coef_vec.reshape(h5_loop_fit.shape)
self.hdf.flush()
return h5_loop_parameters
def _create_projection_datasets(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment