We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3569d4f commit 3a13825Copy full SHA for 3a13825
synaptic_reconstruction/tools/volume_reader.py
@@ -75,11 +75,13 @@ def read_image_volume(path: PathOrPaths) -> List[LayerData]:
75
76
77
def read_voxel_size(input_path: str, layer_attributes: dict) -> None:
78
- """_summary_
+ """Read voxel size from mrc/rec file and store it in layer_attributes.
79
+ The original unit of voxel size is Angstrom and we convert it to nanometers
80
+ by dividing it by ten.
81
82
Args:
- input_path (str): _description_
- layer_attributes (dict): _description_
83
+ input_path (str): path to mrc/rec file
84
+ layer_attributes (dict): napari layer attributes to store voxel size to
85
"""
86
with mrcfile.open(input_path, permissive=True) as mrc:
87
try:
0 commit comments