Skip to content
Snippets Groups Projects
Commit f48018e2 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

fit_gisas / gisas_model1: restore hard-coded detector size

parent e9509991
No related branches found
No related tags found
1 merge request!1201fix several fit examples
......@@ -33,7 +33,7 @@ def get_sample(params):
def get_simulation(params):
beam = ba.Beam(10**params['lg(intensity)'], 0.1*nm,
ba.Direction(0.2*deg, 0))
n = bp.simargs['n']
n = 100 # bp.simargs['n']
det = ba.SphericalDetector(n, -1.5*deg, 1.5*deg, n, 0, 3*deg)
sample = get_sample(params)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment