From 021ddf275adf896de795ffad662f8debc6857317 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 17 Feb 2014 12:48:37 +0100 Subject: Add histogram_get_data() --- libcrystfel/src/histogram.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libcrystfel/src/histogram.h') diff --git a/libcrystfel/src/histogram.h b/libcrystfel/src/histogram.h index bf8c5f1e..bcd000a5 100644 --- a/libcrystfel/src/histogram.h +++ b/libcrystfel/src/histogram.h @@ -3,11 +3,11 @@ * * Quick histogram functions * - * Copyright © 2013 Deutsches Elektronen-Synchrotron DESY, - * a research centre of the Helmholtz Association. + * Copyright © 2013-2014 Deutsches Elektronen-Synchrotron DESY, + * a research centre of the Helmholtz Association. * * Authors: - * 2013 Thomas White + * 2013-2014 Thomas White * * This file is part of CrystFEL. * @@ -41,5 +41,7 @@ extern void histogram_free(Histogram *hi); extern void histogram_add_value(Histogram *hi, double val); extern void histogram_show(Histogram *hi); +extern int *histogram_get_data(Histogram *hi, double *min, double *max, int *n); + #endif /* HISTOGRAM_H */ -- cgit v1.2.3