Commit 50b0746f authored by Thomas White's avatar Thomas White
Browse files

partial_sim: Add debug output

parent ce861440
......@@ -123,6 +123,9 @@ static void calculate_partials(RefList *partial, double osf,
if ( (bin < NBINS) && (bin>=0) ) {
p_hist[bin] += p;
n_ref[bin]++;
} else {
STATUS("Reflection out of histogram range: %e %i %f\n",
resolution(cell, h, k, l), bin, p);
}
Ip = gaussian_noise(Ip, 100.0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment