SimCamera is slow upon creating 2D gauss camera
Feature Summary
Image creation for SimCamera should be fast, at the moment it slows down the simulation
Problem Description
The SimCamera class provides a simulated device for a camera. At the moment, each <dev>.image.get()
call leads to a recalculation of the 2D image. This slows down the progress. --> Precompute the image and just recalculate the noise
Use Case
Speeding up the image creation will allow us to stress test BEC and the monitor
endpoint
Proposed Solution
- pre-compute image and return values based on
SimCamera.sim.get_sim_type()
, only addnoise
on top uponSimCamera.image.get()
calls. - Use the same pattern for 1D Waveform (pending class)
Benefits
- improves speed
Priority
-needed