ex-6: language improvement in main.c

This commit is contained in:
Giù Marcer 2020-03-25 19:51:50 +01:00 committed by rnhmjoj
parent 68184d414b
commit 7391bfde34

View File

@ -34,8 +34,8 @@ struct param {
* wave.
*
* The intensity is given as a function of θ,
* the diffraction angle, all the other physical
* parameter are controlled by the structure `param`.
* the diffraction angle. All the other physical
* parameters are controlled by the structure `param`.
*
* See Fraunhöfer diffraction on "Hect - Optics" for
* a derivation of the formula.
@ -80,7 +80,7 @@ gsl_histogram* gaussian_for(gsl_histogram *hist, double sigma) {
gsl_histogram_set_ranges_uniform(res, 0, dx * n);
/* The histogram will be such that
* the zero falls in the central bin.
* the maximum falls in the central bin.
*/
long int offset = res->n/2;