Commit 0ec3c752 authored by alexander.dornheim's avatar alexander.dornheim
Browse files

Fixed bug just introduced into CDP_processor

parent 96008a82
......@@ -32,7 +32,7 @@ def CDP_processor(config):
elif n1==1:
Masks = np.random.choice(np.array([1j, -1j, 1, -1]),(L,n2))
np.random.choice(np.array([1j, -1j, 1, -1]),(n1,n2,L))
Masks = np.random.choice(np.array([1j, -1j, 1, -1]),(n1,n2,L))
# Sample magnitudes and make masks
temp = random_sample(Masks.shape) #works like rand but accepts tuple as argument
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment