diff options
Diffstat (limited to 'src/hdfsee.c')
-rw-r--r-- | src/hdfsee.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/hdfsee.c b/src/hdfsee.c index df0bd281..ea6de2b2 100644 --- a/src/hdfsee.c +++ b/src/hdfsee.c @@ -3,13 +3,14 @@ * * Quick yet non-crappy HDF viewer * - * Copyright © 2012 Deutsches Elektronen-Synchrotron DESY, - * a research centre of the Helmholtz Association. + * Copyright © 2012-2014 Deutsches Elektronen-Synchrotron DESY, + * a research centre of the Helmholtz Association. * Copyright © 2012 Richard Kirian * * Authors: - * 2009-2012 Thomas White <taw@physics.org> + * 2009-2014 Thomas White <taw@physics.org> * 2012 Richard Kirian + * 2014 Valerio Mariani * * This file is part of CrystFEL. * @@ -61,7 +62,7 @@ static void show_help(const char *s) " --filter-noise Apply an aggressive noise filter to the\n" " image data.\n" " --median-filter=<n> Apply a median filter to the image data.\n" - +" --calibration-mode Start in calibration mode\n" " --show-rings Overlay rings that indicate resolution.\n" " --simple-rings=XX,YY,... Overlay rings at specified radii XX, YY, ...\n" " in pixel units.\n" @@ -115,6 +116,7 @@ int main(int argc, char *argv[]) int binning = 2; int config_noisefilter = 0; int config_showrings = 0; + int config_calibmode =0; int colscale = SCALE_COLOUR; char *cscale = NULL; char *element = NULL; @@ -141,6 +143,7 @@ int main(int argc, char *argv[]) {"ring-size", 1, NULL, 2}, {"simple-rings", 1, NULL, 'r'}, {"median-filter", 1, NULL, 3}, + {"calibration-mode", 0, &config_calibmode, 1}, {0, 0, NULL, 0} }; @@ -276,6 +279,7 @@ int main(int argc, char *argv[]) main_window_list[i] = displaywindow_open(argv[optind+i], peaks, boost, binning, config_noisefilter, + config_calibmode, colscale, element, geometry, beam, config_showrings, |