Commit 398b5bc0 authored by Philipp Frank's avatar Philipp Frank
Browse files

fix demos

parent e4d699fb
......@@ -61,7 +61,7 @@ if __name__ == '__main__':
cfmaker.add_fluctuations(position_space,
1., 1e-2, 1, .5, .1, .5, -3, 0.5, '')
correlated_field = cfmaker.finalize()
A = cfmaker.amplitudes[0]
A = cfmaker.amplitude
# Apply a nonlinearity
signal = ift.sigmoid(correlated_field)
......
......@@ -78,8 +78,8 @@ if __name__ == '__main__':
-1.5, .5, 'amp2')
correlated_field = cfmaker.finalize()
A1 = cfmaker.amplitudes[0]
A2 = cfmaker.amplitudes[1]
A1 = cfmaker.normalized_amplitudes[0]
A2 = cfmaker.normalized_amplitudes[1]
DC = SingleDomain(correlated_field.target, position_space)
# Apply a nonlinearity
......
Markdown is supported
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