diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/iprtest.c | 6 | ||||
-rw-r--r-- | src/refine.c | 2 |
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); |