aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/rust_correlation.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py
new file mode 100644
index 0000000..16af13e
--- /dev/null
+++ b/gn3/computations/rust_correlation.py
@@ -0,0 +1,13 @@
+import subprocess
+
+from gn3.settings import CORRELATION_COMMAND
+from gn3.settings import TMPDIR
+
+def run_correlation(file_name:&str,outputdir:str = TMPDIR):
+
+
+ command_list = [CORRELATION_COMMAND, file_name,outputdir]
+
+ results = subprocess.run(command_list, check=True)
+
+ return results