From 71af6b983321df24ee85a6a3920821e2352f1b91 Mon Sep 17 00:00:00 2001
From: Andrey Aristov <aaristov@pasteur.fr>
Date: Fri, 6 Jan 2023 18:10:17 +0100
Subject: [PATCH] add tuple

---
 src/droplet_growth/register.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/droplet_growth/register.py b/src/droplet_growth/register.py
index a3d9b63..0203af9 100644
--- a/src/droplet_growth/register.py
+++ b/src/droplet_growth/register.py
@@ -94,7 +94,7 @@ def align_stack(data_or_path, template16, mask2, plot=False, path_to_save=None,
     return aligned_stack, tvec
 
 
-def align_stack_nd(stack, template16, mask2, path=None, plot=False, binnings=(1,16,2), suffix='.aligned.tif'):
+def align_stack_nd(stack, template16, mask2, path=None, plot=False, binnings=(1,16,2), suffix='.aligned.tif')  -> tuple(np.ndarray, dict):
     '''
     stack should contain two channels: bright field and fluorescence.
     BF will be binned 8 times and registered with template8 (aligned BF).
-- 
GitLab