Skip to content

Correct Resolution Calculation#8

Merged
den-sq merged 3 commits intoChengLabResearch:mainfrom
den-sq:main
Apr 24, 2025
Merged

Correct Resolution Calculation#8
den-sq merged 3 commits intoChengLabResearch:mainfrom
den-sq:main

Conversation

@den-sq
Copy link
Copy Markdown
Collaborator

@den-sq den-sq commented Apr 24, 2025

Fixes to saving resolution data:

  1. Switch to centimeters from micrometers, as the latter is not universally supported.
  2. XY resolution now uses voxels per unit, rather that units per voxel, as per spec; using the latter resulted in inverted size values when loading tiff files elsewhere.
  3. Assigned Z resolution to metadata (not directly useful yet; no clear standard).

den-sq added 3 commits April 24, 2025 18:14
- updated pr_coverage permissions to cover pull requests
- shifted pytest-cov dependency group
- tweaked tests to fix coverage checks
- removed unnessecary import (that also caused occasonial tkinter weirdness)
- switched to centimeters, as micrometers are not part of the standard and can cause issues (data not imported correctly into Dragonfly, etc).
- Resolution is now in voxels per unit (as fit TIFF standard) rather than units per voxel.
@den-sq den-sq merged commit ddd5ea1 into ChengLabResearch:main Apr 24, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant