From a35562e8e52e01c63f27416493f7f4150d73647b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <alan.munoz@ed.ac.uk>
Date: Wed, 15 Mar 2023 07:44:00 +0000
Subject: [PATCH] feat(cells): ensure cell sampling tp is correct`

---
 src/agora/io/cells.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/agora/io/cells.py b/src/agora/io/cells.py
index 63b5880f..7f1167b2 100644
--- a/src/agora/io/cells.py
+++ b/src/agora/io/cells.py
@@ -333,7 +333,7 @@ class Cells:
 
         # Apply an interval filter to focucs on a slice
         if interval is not None:
-            interval = tuple(np.array(interval) - min_consecutive_tps // 2)
+            interval = tuple(np.array(interval))
         else:
             interval = (0, window.shape[1])
 
-- 
GitLab