Add the possibility to save the history of m and d
Description
Currently only the last parameter ensemble and the last prediction ensemble is accessible at the end of the optimization.
Solution: add keywords to save the ensembles history: save_ensembles_history
.
The ensembles would be accessible using attributes m_history
and d_history
respectively.
Motivation
This is required to plot the performance of the inversion overtime.