diff options
author | Thomas White <taw@physics.org> | 2013-05-24 15:26:25 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-05-27 17:33:16 +0200 |
commit | 28f7058a9608b119b5103da65a1939ee5b2f264c (patch) | |
tree | 2107e108646760f28a9931976991f05d0e52beee /libcrystfel | |
parent | 45cbdb156b10f560d7d254348162e8dbd144be19 (diff) |
Debugging output
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/integration.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index bb7ec746..e7f61b22 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -255,7 +255,6 @@ static void show_peak_box(struct intcontext *ic, struct peak_box *bx) printf("\n"); } - printf("-----------> p\n"); printf("Reference profile number %i\n", bx->rp); } @@ -266,19 +265,17 @@ static void show_reference_profile(struct intcontext *ic, int i) int q; printf("Reference profile number %i:\n", i); - printf("Pixel values\n"); for ( q=ic->w-1; q>=0; q-- ) { int p; for ( p=0; p<ic->w; p++ ) { - printf("%5.0f ", ic->reference_profiles[i][p+ic->w*q]); + printf("%3.0f ", ic->reference_profiles[i][p+ic->w*q]); } printf("\n"); } - printf("-----------> p\n"); } @@ -596,7 +593,7 @@ static void calculate_reference_profiles(struct intcontext *ic) } } - max /= 10000.0; + max /= 100.0; for ( p=0; p<ic->w; p++ ) { for ( q=0; q<ic->w; q++ ) { @@ -609,6 +606,9 @@ static void calculate_reference_profiles(struct intcontext *ic) } show_reference_profile(ic, 2); + //for ( i=0; i<ic->n_reference_profiles; i++ ) { + // show_reference_profile(ic, i); + //} } |