Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/QI2lab/mcSIM into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrown1729 committed Oct 19, 2023
2 parents d6de438 + 122bb3f commit d19c2cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions calibration/psf_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ def curvature_model_fn(p):
# average PSF
# ###############################
psf_roi_size = (11, 21, 21)
psf, psf_coords, otf, otf_coords = fit_psf.average_exp_psfs(img,
coords_3d,
centers,
psf_roi_size,
backgrounds=backgrounds)
psf = fit_psf.average_exp_psfs(img,
coords_3d,
centers,
psf_roi_size,
backgrounds=backgrounds)

tifffile.imwrite(save_dir / "psf.tif",
tifffile.transpose_axes(psf.astype(np.float32), "ZYX", asaxes="TZCYXS"),
Expand Down

0 comments on commit d19c2cc

Please sign in to comment.