aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2008-01-15 11:38:21 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2008-01-15 11:38:21 +0000
commit2241eb356eb4a3971c28fa21f0c9da1e58726ae1 (patch)
tree5acc8007ebd663bbdc854f970c17f836b53ba41b
parent80e9ba7cba239814615449f440a450898758c7e6 (diff)
Test commit to new repository
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@252 bf6ca9ba-c028-0410-8290-897cf20841d1
-rw-r--r--src/iprtest.c6
-rw-r--r--src/refine.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/iprtest.c b/src/iprtest.c
index f7cf7e6..321c095 100644
--- a/src/iprtest.c
+++ b/src/iprtest.c
@@ -117,8 +117,8 @@ int main(int argc, char *argv[]) {
ctx->image = malloc(sizeof(ImageRecord));
ctx->image->image = NULL;
- ctx->image->tilt = 90.0;
- ctx->image->omega = 90.0;
+ ctx->image->tilt = 0.0;
+ ctx->image->omega = 0.0;
ctx->image->slop = 0.0;
ctx->image->fmode = FORMULATION_PIXELSIZE;
ctx->image->pixel_size = 0.6e8;
@@ -141,7 +141,7 @@ int main(int argc, char *argv[]) {
ctx->image->features = reproject_get_reflections(ctx->image, ctx->reflections);
/* The "model" cell */
ctx->cell->a.x = 5.2e9; ctx->cell->a.y = 0.1e9; ctx->cell->a.z = 0.0;
- ctx->cell->b.x = 1.0e9; ctx->cell->b.y = 4.1e9; ctx->cell->b.z = 0.0;
+ ctx->cell->b.x = 0.1e9; ctx->cell->b.y = 4.1e9; ctx->cell->b.z = 0.0;
ctx->cell->c.x = 0.0; ctx->cell->c.y = 0.0; ctx->cell->c.z = 5.0e9;
ctx->gen = reflection_list_from_cell(ctx->cell);
ctx->image->rflist = reproject_get_reflections(ctx->image, ctx->gen);
diff --git a/src/refine.c b/src/refine.c
index 3eb7522..7d77ef6 100644
--- a/src/refine.c
+++ b/src/refine.c
@@ -135,7 +135,7 @@ ImageFeature *refine_fit_image(Basis *cell, ImageRecord *image) {
/* Do the fitting */
//gsl_matrix_set(M, 1, 1, 1.0);
- //gsl_matrix_set(M, 2, 2, 1.0);
+ gsl_matrix_set(M, 2, 2, 1.0);
matrix_vector_show(M, p);
perm = gsl_permutation_alloc(M->size1);
gsl_linalg_LU_decomp(M, perm, &s);