Adding features to Network: data saving, +
Refurbishment of the Network module. The main addition is a data saving routine, useful to run MDCs.
The idea is that all simulated data is generated at the Network level, and the simulator
module remains a "service" module which the user doesn't ever need to see/use directly (similar conceptually to the use of e.g. spectral
, orf
, etc.)
I also added two new tutorials to simulate data; generate_stochastic_background_in_network.ipynb
shows how to create a Network and fill it with simulated data, while generate_stochastic_data_recovery_test.ipynb
tests the soundness of the simulator
by doing a simple injection recovery test. !The latter is not meant to be a tutorial for the end user!
TODO
- We should worry about appropriate seeding for random generators; let's use this MR to discuss.
- Could we turn the second tutorial into a unit test?
- Need to add unit tests; I will.