Skip to content

Commit

Permalink
docs: improve docs on window from limits
Browse files Browse the repository at this point in the history
  • Loading branch information
seankmartin committed Sep 12, 2024
1 parent e15bace commit 653cea1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cryoet_data_portal_neuroglancer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,14 @@ def get_window_limits_from_contrast_limits(
distance_scale: float = 0.1,
) -> tuple[float, float]:
"""
Create default window limits from contrast limits, 10% padding
Create default window limits from contrast limits, distance_scale * 10% padding
Parameters
----------
contrast_limits : tuple[float, float]
The contrast limits
distance_scale : float, optional
How much to bump the contrast limits to get the window limits, by default 0.1
Returns
-------
Expand Down

0 comments on commit 653cea1

Please sign in to comment.