IMSY-DKFZ / simpa

The Simulation and Image Processing for Photonics and Acoustics (SIMPA) toolkit.
https://simpa.readthedocs.io/en/main/
Other
73 stars 18 forks source link

Test reconstruction without simulating every time #31

Open TomTomRixRix opened 3 years ago

TomTomRixRix commented 3 years ago

It would be nice to also have an additional test that only tests the reconstruction algorithm without running all previous pipeline steps. This could for example be achieved by having previously simulated time series data in an hdf5 file.

jgroehl commented 3 years ago

In addition, it would also be nice to have some example data that was simulated with SIMPA, as well as all test data available openly. Why don't we create a Zenodo repository, where we upload this kind of data? With every release we could then also release an updated version of the data repository, thus keeping data compatibility even with older SIMPA releases?

TomTomRixRix commented 3 years ago

In addition to calling the reconstruction algorithm from within the pipeline, this would also be an opportunity to test the convenience function of the reconstruction algorithm.

TomTomRixRix commented 3 years ago

Tests for the convenience functions have been added now, however, they read out the time series data from the simulation test that was run in the previous test. This could simply be changed in the future by reading some already simulated data from a file.