diff options
author | Thomas White <taw@physics.org> | 2014-09-01 14:53:52 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-09-02 11:59:59 +0200 |
commit | cbb491d3ef9dd73bd90a0da146f332b81ff5d552 (patch) | |
tree | c00e357e8b1e0c9b39feb137b105c0739013bc02 | |
parent | 5e733011c3dd7f158cff89cb755d903ec5884e69 (diff) |
cell_print(): Use Angstroms instead of nm
-rw-r--r-- | libcrystfel/src/cell-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c index f3eb7c16..32e3bbe7 100644 --- a/libcrystfel/src/cell-utils.c +++ b/libcrystfel/src/cell-utils.c @@ -211,9 +211,9 @@ void cell_print(UnitCell *cell) cell_get_parameters(cell, &a, &b, &c, &alpha, &beta, &gamma); - STATUS(" a b c alpha beta gamma\n"); - STATUS("%5.2f %5.2f %5.2f nm %6.2f %6.2f %6.2f deg\n", - a*1e9, b*1e9, c*1e9, + STATUS("a b c alpha beta gamma\n"); + STATUS("%6.2f %6.2f %6.2f A %6.2f %6.2f %6.2f deg\n", + a*1e10, b*1e10, c*1e10, rad2deg(alpha), rad2deg(beta), rad2deg(gamma)); cell_get_cartesian(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz); |