pysted.bleach_funcs.sample_molecules
- pysted.bleach_funcs.sample_molecules(self, bleached_sub_datamaps_dict, row, col, h, w, mask, prob_ex, prob_sted)
Binomial sampling of the number of molecules at each position within the datamap.
- Parameters:
bleached_sub_datamaps_dict – The datamaps of the bleached subregions.
row – The row of the datamap.
col – The column of the datamap.
h – The height of the datamap.
w – The width of the datamap.
mask – The mask of the subregion.
prob_ex – The excitation survival probability.
prob_sted – The STED survival probability.