Skip to content
Snippets Groups Projects
Commit c3d5b007 authored by Pierre LOTTE's avatar Pierre LOTTE
Browse files

Fix noise anomalies

parent 23ff8aa9
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ class NoiseAnomaly(BaseAnomaly): ...@@ -16,7 +16,7 @@ class NoiseAnomaly(BaseAnomaly):
return { return {
"kind": "NOISE", "kind": "NOISE",
"mean": np.random.uniform(low=-0.1, high=0.1), "mean": np.random.uniform(low=-0.1, high=0.1),
"std": np.random.uniform(low=-0.01, high=0.1), "std": np.random.uniform(low=0.01, high=0.1),
"length": int(self.length), "length": int(self.length),
"position": np.random.choice(["start", "middle", "end"]) "position": np.random.choice(["start", "middle", "end"])
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment