diff options
author | Thomas White <taw@physics.org> | 2010-10-29 17:18:49 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:04 +0100 |
commit | a784ead2cbac29e11bb9b09bfeeb8076749fe9a4 (patch) | |
tree | 5c3d7deb175f34fb387ad525a365668daff4349b | |
parent | cfb7502b9b6cfaee06433a584f139e5a3e30100e (diff) |
Update beam parameters and reduce debug output
-rw-r--r-- | doc/examples/lcls-june.beam | 2 | ||||
-rw-r--r-- | doc/examples/lcls-xpp-estimate.beam | 2 | ||||
-rw-r--r-- | src/facetron.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/examples/lcls-june.beam b/doc/examples/lcls-june.beam index 37e4c3ef..9b0e6704 100644 --- a/doc/examples/lcls-june.beam +++ b/doc/examples/lcls-june.beam @@ -10,7 +10,7 @@ beam/photon_energy = 2000.0 ; Bandwidth: FWHM(wavelength) over wavelength. ; Note: current simulation code just uses a rectangular ; distribution with this as its (full) width. -beam/bandwidth = 0.001 +beam/bandwidth = 0.01 ; Beam divergence in radians beam/divergence = 0.001 diff --git a/doc/examples/lcls-xpp-estimate.beam b/doc/examples/lcls-xpp-estimate.beam index c9f3a498..357637f0 100644 --- a/doc/examples/lcls-xpp-estimate.beam +++ b/doc/examples/lcls-xpp-estimate.beam @@ -5,7 +5,7 @@ beam/fluence = 5.0e13 beam/radius = 1.5e-6 ; Photon energy in eV -beam/photon_energy = 8000.0 +beam/photon_energy = 6000.0 ; Bandwidth: FWHM(wavelength) over wavelength. ; Note: current simulation code just uses a rectangular diff --git a/src/facetron.c b/src/facetron.c index 29c4aba8..42a4bd1b 100644 --- a/src/facetron.c +++ b/src/facetron.c @@ -115,7 +115,7 @@ static void integrate_image(int mytask, void *tasks) } /* Figure out which spots should appear in this pattern */ - spots = find_intersections(image, image->indexed_cell, &n, 1); + spots = find_intersections(image, image->indexed_cell, &n, 0); /* For each reflection, estimate the partiality */ for ( j=0; j<n; j++ ) { |