Skip to content

Commit

Permalink
clarified documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
derollins committed Feb 25, 2025
1 parent 4e83f1e commit 02f71da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AFMReader/jpk.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ def _get_z_scaling(tif: tifffile.tifffile, channel_idx: int) -> tuple[float, flo
Returns
-------
tuple
tuple[float, float]
A tuple contains values used to scale and offset raw data.
"""
n_slots = tif.pages[channel_idx].tags["32896"].value
default_slot = tif.pages[channel_idx].tags["32897"]

# Create a dictionary of list for the differnt slots
slots = {slot: [] for slot in range(n_slots)}
slots: Dict[int, List] = {slot: [] for slot in range(n_slots)}

# Extract the tags with numerical names in each slot
while n_slots >= 0:
Expand Down

0 comments on commit 02f71da

Please sign in to comment.