aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/histogram.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-02-17 16:02:52 +0100
committerThomas White <taw@physics.org>2014-02-17 16:03:31 +0100
commit86a7e6293671fc0f384b5f9a92c93b79688508b8 (patch)
tree0799608bb7adffa5dc50064c23a5f067d674d712 /libcrystfel/src/histogram.h
parent653cac3b7dd684a1b913b0007417762653d25a5a (diff)
Add histogram_{set,get}_{min,max}
Diffstat (limited to 'libcrystfel/src/histogram.h')
-rw-r--r--libcrystfel/src/histogram.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcrystfel/src/histogram.h b/libcrystfel/src/histogram.h
index bcd000a5..807fb44d 100644
--- a/libcrystfel/src/histogram.h
+++ b/libcrystfel/src/histogram.h
@@ -42,6 +42,10 @@ 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);
-
+extern double histogram_get_min(Histogram *hi);
+extern double histogram_get_max(Histogram *hi);
+extern void histogram_set_min(Histogram *hi, double min);
+extern void histogram_set_max(Histogram *hi, double max);
+extern void histogram_set_num_bins(Histogram *hi, int n);
#endif /* HISTOGRAM_H */