Skip to content

Commit

Permalink
fixing blob radius calculation in 2d (#2023)
Browse files Browse the repository at this point in the history
  • Loading branch information
shachafl authored Oct 12, 2024
1 parent ec2697c commit 52a65e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starfish/core/spots/FindSpots/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def image_to_spots(
z_inds = np.asarray([0 for x in range(len(fitted_blobs_array))])
y_inds = fitted_blobs_array[:, 0].astype(int)
x_inds = fitted_blobs_array[:, 1].astype(int)
radius = np.round(fitted_blobs_array[:, 2] * np.sqrt(3))
radius = np.round(fitted_blobs_array[:, 2] * np.sqrt(2))
intensities = data_image[tuple([y_inds, x_inds])]

# construct dataframe
Expand Down

0 comments on commit 52a65e4

Please sign in to comment.