Browse Source

removed test lines

zolfa-add_slices_loading
Jim Rybarski 10 years ago
parent
commit
50a6de765b
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      nd2reader/__init__.py

+ 1
- 6
nd2reader/__init__.py View File

@ -175,9 +175,4 @@ class Nd2(Nd2Parser):
return timestamp, image_data[image_data_start::self.channel_count] return timestamp, image_data[image_data_start::self.channel_count]
def _calculate_image_set_number(self, time_index, fov, z_level): def _calculate_image_set_number(self, time_index, fov, z_level):
return time_index * self.field_of_view_count * self.z_level_count + (fov * self.z_level_count + z_level)
for image_set in Nd2("FYLM-141111-001.nd2").image_sets:
print(image_set.get("", 1).data)
return time_index * self.field_of_view_count * self.z_level_count + (fov * self.z_level_count + z_level)

Loading…
Cancel
Save