From 2a31977a699ffd750f4cc2863a1a313e62ca1583 Mon Sep 17 00:00:00 2001 From: Vineet Tiruvadi Date: Thu, 31 Oct 2024 04:52:04 +0000 Subject: [PATCH 1/2] added generics --- src/autodyn/models/generics.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/autodyn/models/generics.py diff --git a/src/autodyn/models/generics.py b/src/autodyn/models/generics.py new file mode 100644 index 0000000..5b146c2 --- /dev/null +++ b/src/autodyn/models/generics.py @@ -0,0 +1,22 @@ +import typing + +class network: + def __init__(self): + pass + + def set_connectivity(self, input_connectivity): + pass + + def set_drift(self, input_drift_function): + pass + + def set_region_euclidean(self, input_region_coords): + pass + + def set_tract_euclidean(self, input_tract_coords): + pass + + def set_euclideans(self, input_anatomy): + self.set_region_euclidean(input_anatomy['regions']) + self.set_tract_euclidean(input_anatomy['tracts']) + \ No newline at end of file From 7d21939f529e3f0e259ccccbf0f77188ce1fae10 Mon Sep 17 00:00:00 2001 From: Vineet Tiruvadi Date: Thu, 31 Oct 2024 04:55:23 +0000 Subject: [PATCH 2/2] fixed drift --- src/autodyn/models/generics.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/autodyn/models/generics.py b/src/autodyn/models/generics.py index 5b146c2..609ff36 100644 --- a/src/autodyn/models/generics.py +++ b/src/autodyn/models/generics.py @@ -7,7 +7,7 @@ def __init__(self): def set_connectivity(self, input_connectivity): pass - def set_drift(self, input_drift_function): + def set_driftf(self, input_drift_function): pass def set_region_euclidean(self, input_region_coords): @@ -19,4 +19,3 @@ def set_tract_euclidean(self, input_tract_coords): def set_euclideans(self, input_anatomy): self.set_region_euclidean(input_anatomy['regions']) self.set_tract_euclidean(input_anatomy['tracts']) - \ No newline at end of file