diff options
author | Thomas White <taw@physics.org> | 2019-05-17 17:03:28 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-05-17 17:03:28 +0200 |
commit | 36e3370feddeb8dd18f97dc5db4da8e96c9f5c79 (patch) | |
tree | 60d0befd619a499cc18362ce1684cd4636da14b8 /libcrystfel/src/spectrum.h | |
parent | 6aa34aa38aa2116ff69861c1857dac96fa8c9361 (diff) |
s/histogram/pdf/
Diffstat (limited to 'libcrystfel/src/spectrum.h')
-rw-r--r-- | libcrystfel/src/spectrum.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/spectrum.h b/libcrystfel/src/spectrum.h index b3786c53..d31318fd 100644 --- a/libcrystfel/src/spectrum.h +++ b/libcrystfel/src/spectrum.h @@ -72,9 +72,9 @@ extern void spectrum_set_gaussians(Spectrum *s, struct gaussian *gs, extern int spectrum_get_num_gaussians(Spectrum *s); extern struct gaussian spectrum_get_gaussian(Spectrum *s, int n); -/* Representation as histogram */ -extern void spectrum_set_histogram(Spectrum *s, double *kcens, double *heights, - int nbins); +/* Representation as PDF */ +extern void spectrum_set_pdf(Spectrum *s, double *kcens, double *heights, + int nbins); extern void spectrum_get_range(Spectrum *s, double *kmin, double *kmax); extern double spectrum_get_density_at_k(Spectrum *s, double k); |