Generate simulated SMLM coordinate data. Patterns, Cameras, Fluorophores, and SMLD data organization can be configured.
Simulation parameters use physical units. Resulting SMLMData.SMLD
structures are in units of pixels and frames.
The high level interface for simulating SMLM super-resolution coordinate data is the SMLMSim.sim()
function.
using SMLMSim
using SMLMData
smld_true, smld_model, smld_noisy = SMLMSim.sim(;
ρ=1.0,
σ_PSF=0.13,
minphotons=50,
ndatasets=10,
nframes=1000,
framerate=50.0, # 1/s
pattern=SMLMSim.Nmer2D(),
molecule=SMLMSim.GenericFluor(; q=[0 50; 1e-2 0]), #1/s
camera=SMLMSim.IdealCamera(; ypixels=256, xpixels=128, pixelsize=0.1) #pixelsize is microns
)