From 512b1884d83b13b2f00d1c73ed2973298e81c157 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Fri, 28 Jun 2024 11:27:37 +0200 Subject: [PATCH] PPerlin = AsyncPerlin --- priorConditionedAnnealing/pca.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/priorConditionedAnnealing/pca.py b/priorConditionedAnnealing/pca.py index 35807bc..643e160 100644 --- a/priorConditionedAnnealing/pca.py +++ b/priorConditionedAnnealing/pca.py @@ -55,12 +55,13 @@ class Avaible_Noise_Funcs(Enum): DIRTYPERLIN = 5 SDE = 6 SHORTPINK = 7 - PPERLIN = 8 + ASYNCPERLIN = 8 RAYLEIGHPERLIN = 9 + def get_func(self): # stil aaaaaaaa - return [noise.White_Noise, noise.Pink_Noise, noise.Colored_Noise, noise.Perlin_Noise, noise.Harmonic_Perlin_Noise, noise.Dirty_Perlin_Noise, noise.SDE_Noise, noise.shortPink_Noise, noise.P_Perlin_Noise, noise.Rayleigh_Perlin_Noise][self.value] + return [noise.White_Noise, noise.Pink_Noise, noise.Colored_Noise, noise.Perlin_Noise, noise.Harmonic_Perlin_Noise, noise.Dirty_Perlin_Noise, noise.SDE_Noise, noise.shortPink_Noise, noise.Async_Perlin_Noise, noise.Rayleigh_Perlin_Noise][self.value] def cast_to_enum(inp, Class):