Skip to content

Commit 10c602c

Browse files
committed
Update default GaussianPSF size to match NumericPSF integral
1 parent 23223e9 commit 10c602c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

notebooks/PyBroMo - 1. Simulate 3D trajectories - single core.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"\n",
102102
"# PSF definition\n",
103103
"psf = pbm.NumericPSF()\n",
104-
"#psf = pbm.GaussianPSF(sx=0.18e-6, sy=0.18e-6, sz=0.88e-6)\n",
104+
"#psf = pbm.GaussianPSF(sx=0.2e-6, sy=0.2e-6, sz=0.8e-6)\n",
105105
"\n",
106106
"# Particle simulation definition\n",
107107
"S = pbm.ParticlesSimulation(t_step=t_step, t_max=t_max, \n",

pybromo/psflib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def psf_from_pytables(psf_pytables):
3939
class GaussianPSF:
4040
"""This class implements a Gaussian-shaped PSF function."""
4141

42-
def __init__(self, xc=0, yc=0, zc=0, sx=0.2e-6, sy=0.2e-6, sz=1e-6, psf_pytables=None):
42+
def __init__(self, xc=0, yc=0, zc=0, sx=0.2e-6, sy=0.2e-6, sz=0.8e-6, psf_pytables=None):
4343
"""Create a Gaussian PSF object with given center and sigmas.
4444
`xc`, `yc`, `zc`: position of the center of the gaussian (m)
4545
`sx`, `sy`, `sz`: sigmas of the gaussian function (m).

0 commit comments

Comments
 (0)