Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit ead3eba3 authored by fische_r's avatar fische_r
Browse files

added full temporal mean as function, but not activated in the prepare()

parent 84908c37
No related branches found
No related tags found
No related merge requests found
......@@ -245,6 +245,13 @@ class image_filter:
else:
print('Diff first and last is an unexplainable pain in the ass, solve this at one point')
def time_mean(self):
DA = self.data
mean = DA.mean(axis=-1)
means = dask.array.stack([mean]*DA.shape[-1], axis=-1)
self.calculated_features.append(means)
self.feature_names.append('full_temporal_mean_')
def Gradients(self):
for key in self.Gaussian_4D_dict:
......@@ -412,6 +419,7 @@ class image_filter:
self.Gaussian_space_stack()
self.diff_Gaussian('space')
self.pixel_coordinates()
# self.time_mean()
# self.rank_filter_stack() #you have to load the entire raw data set for this filter --> not so good for many time steps
self.prepared = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment