diff options
author | Thomas White <taw@physics.org> | 2012-06-28 17:23:14 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-06-28 17:23:14 +0200 |
commit | 51f5ed0461208f813a7c4ab45546516223dd4d5b (patch) | |
tree | f15da258726a05b1a3cd1c4b57881418a605b6b1 /src/pattern_sim.c | |
parent | b9d70f03c58ad8b2479b0e30a296b41d75a11a61 (diff) |
Restore bandwidth and subsampling to pattern_sim
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 03b009b4..ea8a317f 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -497,6 +497,8 @@ int main(int argc, char *argv[]) image.width = image.det->max_fs + 1; image.height = image.det->max_ss + 1; image.lambda = ph_en_to_lambda(eV_to_J(image.beam->photon_energy)); + image.bw = image.beam->bandwidth; + image.div = image.beam->divergence; /* Load unit cell */ input_cell = load_cell_from_pdb(filename); |