aboutsummaryrefslogtreecommitdiff
path: root/src/dw-hdfsee.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-22 18:06:07 +0200
committerThomas White <taw@physics.org>2014-09-22 18:06:07 +0200
commit0a5a04cc90619a1973c91489c71585ce127df045 (patch)
treec1903fc77534cd97840330b914b98b7b1187bce0 /src/dw-hdfsee.c
parent142e1ad4e0fad73d223c67a842dfb9728a3bf34c (diff)
Beam file removal, part I
Diffstat (limited to 'src/dw-hdfsee.c')
-rw-r--r--src/dw-hdfsee.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index 6b49d3f7..03509c75 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -2383,7 +2383,7 @@ DisplayWindow *displaywindow_open(char *filename, const char *peaks,
int noisefilter, int calibmode, int colscale,
const char *element,
struct detector *det_geom,
- const char *beam,
+ struct beam_params *beam,
int show_rings, double *ring_radii,
int n_rings, double ring_size,
int median_filter)
@@ -2429,10 +2429,6 @@ DisplayWindow *displaywindow_open(char *filename, const char *peaks,
dw->curr_event = 0;
dw->ev_list = NULL;
- if ( beam != NULL ) {
- dw->image->beam = get_beam_parameters(beam);
- }
-
dw->image->det = det_geom;
dw->hdfile = hdfile_open(filename);