Skip to content

Commit

Permalink
Merge pull request #65 from CAVEconnectome/sphere-bugfix
Browse files Browse the repository at this point in the history
rescale radius in sphere mapper
  • Loading branch information
ceesem authored Jan 30, 2025
2 parents a485162 + 31a3dc1 commit e5c4bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nglui/statebuilder/mappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ def _render_data(self, data, data_resolution, viewer_resolution, viewer):

scaler = _data_scaler(data_resolution, viewer_resolution)
pts = np.vstack(data[col_ctr][relinds]) * scaler
rs = data[col_rad][relinds].values
rs = data[col_rad][relinds].values / viewer_resolution[0]

if viewer_resolution:
z_multiplier = viewer_resolution[1] / viewer_resolution[2]
Expand Down

0 comments on commit e5c4bef

Please sign in to comment.