Skip to content
Snippets Groups Projects
Commit 4fe4abfb authored by raul-silva's avatar raul-silva
Browse files

v250507: Inclusion of np.mean missing function

WaterZone script was missing a np before mean. Added.
parent f0053e38
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ def reBuildEvent(connection, file, tmin=None, tmax=None, pool = None, animalType
mass_z = []
for t in range(event.startFrame, event.endFrame + 1):
mass_z.append(dicA[t].massZ)
if mean(mass_z) < parameters.MINIMUM_MASS_Z:
if np.mean(mass_z) < parameters.MINIMUM_MASS_Z:
waterStopTimeLine.removeEventAt(event.startFrame)
waterStopTimeLine.endRebuildEventTimeLine(connection)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment