mirror of
https://github.com/13hannes11/situr.git
synced 2024-09-03 20:50:58 +02:00
add channel count and round count
This commit is contained in:
@@ -39,6 +39,9 @@ class SituImage:
|
|||||||
self._load_image()
|
self._load_image()
|
||||||
return self.data
|
return self.data
|
||||||
|
|
||||||
|
def get_channel_count(self):
|
||||||
|
return self.get_data().shape[0]
|
||||||
|
|
||||||
def get_channel(self, channel):
|
def get_channel(self, channel):
|
||||||
'''
|
'''
|
||||||
Loads and returns the specified channel for all focus_levels.
|
Loads and returns the specified channel for all focus_levels.
|
||||||
|
|||||||
@@ -18,6 +18,12 @@ class Tile:
|
|||||||
self.images.append(
|
self.images.append(
|
||||||
SituImage(situ_image_list, nucleaus_channel=nucleaus_channel))
|
SituImage(situ_image_list, nucleaus_channel=nucleaus_channel))
|
||||||
|
|
||||||
|
def get_round_count(self):
|
||||||
|
return len(self.images)
|
||||||
|
|
||||||
|
def get_channel_count(self):
|
||||||
|
return self.images.get_channel_count(self)
|
||||||
|
|
||||||
def get_round(self, round_number):
|
def get_round(self, round_number):
|
||||||
"""This
|
"""This
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user