Commit 3ce6d057 authored by alexander.dornheim's avatar alexander.dornheim
Browse files

Fixed calling not defined pi in phase

parent 9e79f190
......@@ -33,7 +33,7 @@ class Phase(Problem):
#moved here from JWST_in since if statements not possible in dictonary
if 'distance' in self.config:
if self.config['distance'] =='near field':
self.config['fresnel_nr'] = 1*2*pi*self.config['Nx']
self.config['fresnel_nr'] = 1*2*np.pi*self.config['Nx']
self.config['use_farfield_formula'] = 0
self.config['fresnel_nr'] = 0
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