Browse Source

fbp: Don't limit rotation angle parameters

Tomas Farago 8 years ago
parent
commit
58a37b418a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/ufo-anka-backproject-task.c

+ 4 - 4
src/ufo-anka-backproject-task.c

@@ -787,8 +787,8 @@ ufo_anka_backproject_task_class_init (UfoAnkaBackprojectTaskClass *klass)
         g_param_spec_float ("lamino-angle",
         g_param_spec_float ("lamino-angle",
                             "Absolute laminogrpahic angle in radians",
                             "Absolute laminogrpahic angle in radians",
                             "Absolute laminogrpahic angle in radians determining the sample tilt",
                             "Absolute laminogrpahic angle in radians determining the sample tilt",
-                            0.0f,
-                            (float) G_PI / 2,
+                            -G_MAXFLOAT,
+                            G_MAXFLOAT,
                             0.0f,
                             0.0f,
                             G_PARAM_READWRITE);
                             G_PARAM_READWRITE);
 
 
@@ -796,8 +796,8 @@ ufo_anka_backproject_task_class_init (UfoAnkaBackprojectTaskClass *klass)
         g_param_spec_float ("roll-angle",
         g_param_spec_float ("roll-angle",
                             "Sample angular misalignment to the side (roll) in radians",
                             "Sample angular misalignment to the side (roll) in radians",
                             "Sample angular misalignment to the side (roll) in radians (CW is positive)",
                             "Sample angular misalignment to the side (roll) in radians (CW is positive)",
-                            0.0f,
-                            (float) G_PI / 2,
+                            -G_MAXFLOAT,
+                            G_MAXFLOAT,
                             0.0f,
                             0.0f,
                             G_PARAM_READWRITE);
                             G_PARAM_READWRITE);