aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-10-16 17:32:45 +0200
committerThomas White <taw@bitwiz.org.uk>2009-10-16 17:32:45 +0200
commit1f011b0f914fe4f8e8dec9dd1290795d24dc348c (patch)
tree8cfcb3bc7f7b620aa7d7a7b7aa602fff6607bc68 /src/main.c
parent0fe90432bf31e3ff757ab80dc04dbb9429727729 (diff)
Neaten the output up a bit
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 9c678667..967fbb58 100644
--- a/src/main.c
+++ b/src/main.c
@@ -88,12 +88,14 @@ int main(int argc, char *argv[])
template_parameters.lambda = 0.2e-9; /* LCLS wavelength */
templates = generate_templates(cell, template_parameters);
- printf("Input files (%i):\n", nin);
+ printf("%i files to index:\n", nin);
+ printf(" #: Omega Tilt\n");
+ printf("--------------------------------------------------\n");
for ( i=0; i<nin; i++ ) {
struct image image;
- printf("%6i: %s ", i+1, in_files[i]);
+ printf("%6i: %20s ", i+1, in_files[i]);
image.width = 512;
image.height = 512;
@@ -112,8 +114,8 @@ int main(int argc, char *argv[])
try_templates(&image, templates);
- printf("%6.2f %6.2f\n", rad2deg(image.omega),
- rad2deg(image.tilt));
+ printf("%+8.2f %+8.2f deg\n", rad2deg(image.omega),
+ rad2deg(image.tilt));
}