hera_sim.visibilities.simulators.VisibilitySimulator.estimate_memory

VisibilitySimulator.estimate_memory(data_model: ModelData) float[source]

Estimate the memory usage of the simulator in GB.

This is used to estimate the amount of memory needed to run the simulator.

Note

the default method is very much a lower bound – just the size of the output visibilities. Each individual simulator may or may not implement a more accurate estimate.