Skip to content

Commit

Permalink
add docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
pauladkisson authored Mar 4, 2024
1 parent 3ee2693 commit 1e2ce74
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,12 @@ def _trace_extractor_read(self, field):
return lazy_ops.DatasetView(self._dataset_file["estimates"][field]).lazy_transpose()

def _correlation_image_read(self):
"""Read correlation image Cn."""
if self._dataset_file["estimates"].get("Cn"):
return np.array(self._dataset_file["estimates"]["Cn"])

def _summary_image_read(self):
"""Read summary image mean."""
if self._dataset_file["estimates"].get("b"):
FOV_shape = self._dataset_file["params"]["data"]["dims"][()]
b_sum = self._dataset_file["estimates"]["b"][:].sum(axis=1)
Expand Down

0 comments on commit 1e2ce74

Please sign in to comment.