darfix 4.3.0__tar.gz → 4.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. {darfix-4.3.0/src/darfix.egg-info → darfix-4.3.2}/PKG-INFO +1 -1
  2. {darfix-4.3.0 → darfix-4.3.2}/pyproject.toml +1 -1
  3. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/dimensions_widget.py +2 -2
  4. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/grain_plot/grain_plot_widget.py +0 -1
  5. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/noise_removal/noise_removal_widget.py +1 -1
  6. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/rocking_curves/rocking_curves_plot.py +1 -1
  7. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/processing/rocking_curves.py +34 -15
  8. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/rocking_curves.py +19 -9
  9. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/tasks/test_rocking_curves.py +15 -4
  10. {darfix-4.3.0 → darfix-4.3.2/src/darfix.egg-info}/PKG-INFO +1 -1
  11. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/dimensions.py +2 -2
  12. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/rockingcurves.py +1 -0
  13. {darfix-4.3.0 → darfix-4.3.2}/LICENSE +0 -0
  14. {darfix-4.3.0 → darfix-4.3.2}/README.md +0 -0
  15. {darfix-4.3.0 → darfix-4.3.2}/setup.cfg +0 -0
  16. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/__init__.py +0 -0
  17. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/_config.py +0 -0
  18. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/_version.py +0 -0
  19. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/__init__.py +0 -0
  20. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/array_utils.py +0 -0
  21. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/autofocus.py +0 -0
  22. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/components_matching.py +0 -0
  23. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/data_path_finder.py +0 -0
  24. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/data_selection.py +0 -0
  25. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/dataset.py +0 -0
  26. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/dimension.py +0 -0
  27. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/fscan_parser.py +0 -0
  28. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/grainplot.py +0 -0
  29. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/image_registration.py +0 -0
  30. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/image_stack.py +0 -0
  31. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/mapping.py +0 -0
  32. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/moment_types.py +0 -0
  33. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/noise_removal.py +0 -0
  34. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/noise_removal_type.py +0 -0
  35. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/positioners.py +0 -0
  36. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/rocking_curves.py +0 -0
  37. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/rocking_curves_map.py +0 -0
  38. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/roi.py +0 -0
  39. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/settings.py +0 -0
  40. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/shift_correction.py +0 -0
  41. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/state_of_operation.py +0 -0
  42. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/transformation.py +0 -0
  43. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/utils.py +0 -0
  44. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/core/zigzag_mode.py +0 -0
  45. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/decomposition/__init__.py +0 -0
  46. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/decomposition/base.py +0 -0
  47. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/decomposition/ipca.py +0 -0
  48. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/decomposition/nica.py +0 -0
  49. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/decomposition/nmf.py +0 -0
  50. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/decomposition/pca.py +0 -0
  51. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/dtypes.py +0 -0
  52. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/__init__.py +0 -0
  53. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/binning_widget.py +0 -0
  54. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/blind_source_separation_widget.py +0 -0
  55. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/choose_dimensions.py +0 -0
  56. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/concatenate_scans.py +0 -0
  57. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/configuration/__init__.py +0 -0
  58. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/configuration/action.py +0 -0
  59. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/configuration/level.py +0 -0
  60. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/data_selection/__init__.py +0 -0
  61. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/data_selection/hdf5_dataset_selection_widget.py +0 -0
  62. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/data_selection/line_edits.py +0 -0
  63. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/data_selection/scan_selection_widgets.py +0 -0
  64. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/data_selection/utils.py +0 -0
  65. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/data_selection/working_dir_selection_widget.py +0 -0
  66. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/display_components_widget.py +0 -0
  67. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/filter_by_dimension.py +0 -0
  68. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/grain_plot/__init__.py +0 -0
  69. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/grain_plot/_oridist_toolbar_buttons.py +0 -0
  70. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/grain_plot/dimension_range_slider_2d.py +0 -0
  71. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/grain_plot/flashlight.py +0 -0
  72. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/grain_plot/flashlight_mode_action.py +0 -0
  73. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/grain_plot/mosaicity_widget.py +0 -0
  74. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/grain_plot/oridist_toolbar.py +0 -0
  75. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/grain_plot/utils.py +0 -0
  76. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/magnification_widget.py +0 -0
  77. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/metadata_widget.py +0 -0
  78. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/noise_removal/operation_list_widget.py +0 -0
  79. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/noise_removal/parameters_widget.py +0 -0
  80. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/parallel/operation_process.py +0 -0
  81. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/parallel/operation_thread.py +0 -0
  82. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/pca_widget.py +0 -0
  83. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/projection_widget.py +0 -0
  84. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/rocking_curves/fit_combobox.py +0 -0
  85. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/rocking_curves/rocking_curves_widget.py +0 -0
  86. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/rocking_curves/utils.py +0 -0
  87. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/roi_limits_toolbar.py +0 -0
  88. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/roi_selection_widget.py +0 -0
  89. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/rsm_histogram_widget.py +0 -0
  90. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/rsm_widget.py +0 -0
  91. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/shift_correction/__init__.py +0 -0
  92. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/shift_correction/shift_correction_widget.py +0 -0
  93. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/shift_correction/shift_input.py +0 -0
  94. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/__init__.py +0 -0
  95. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/axis_type_combobox.py +0 -0
  96. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/custom_doublespinbox.py +0 -0
  97. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/data_path_completer.py +0 -0
  98. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/data_path_selection.py +0 -0
  99. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/fileselection.py +0 -0
  100. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/message.py +0 -0
  101. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/qsignalspy.py +0 -0
  102. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/range_slider.py +0 -0
  103. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/standard_buttonbox.py +0 -0
  104. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/utils.py +0 -0
  105. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/utils/vspacer.py +0 -0
  106. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/weak_beam_widget.py +0 -0
  107. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/gui/zsum_widget.py +0 -0
  108. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/io/__init__.py +0 -0
  109. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/io/hdf5.py +0 -0
  110. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/io/progress.py +0 -0
  111. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/io/utils.py +0 -0
  112. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/main.py +0 -0
  113. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/math.py +0 -0
  114. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/pixel_sizes.py +0 -0
  115. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/processing/__init__.py +0 -0
  116. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/processing/dimension_detection.py +0 -0
  117. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/processing/image_operations.py +0 -0
  118. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/__init__.py +0 -0
  119. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/__init__.py +0 -0
  120. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/__init__.py +0 -0
  121. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/advanced_settings.png +0 -0
  122. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/advanced_settings.svg +0 -0
  123. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/contour.svg +0 -0
  124. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/curves.png +0 -0
  125. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/curves.svg +0 -0
  126. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/flashlight.svg +0 -0
  127. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/hsv.svg +0 -0
  128. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/median-filter.png +0 -0
  129. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/median-filter.svg +0 -0
  130. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/optional_settings.png +0 -0
  131. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/optional_settings.svg +0 -0
  132. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/required_settings.png +0 -0
  133. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/required_settings.svg +0 -0
  134. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/resize.png +0 -0
  135. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/resize.svg +0 -0
  136. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/scatter.png +0 -0
  137. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/gui/icons/scatter.svg +0 -0
  138. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/tests/__init__.py +0 -0
  139. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/tests/dimensions_definition/NiTi_1PD_002_g411_420MPa_mosalayers_2x.h5 +0 -0
  140. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/tests/dimensions_definition/__init__.py +0 -0
  141. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/tests/dimensions_definition/silicon_111_reflection.h5 +0 -0
  142. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/resources/tests/transformation/316H_dummy_insitu_g1_RSM_2.h5 +0 -0
  143. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/__init__.py +0 -0
  144. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/binning.py +0 -0
  145. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/blind_source_separation.py +0 -0
  146. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/blindsourceseparation.py +0 -0
  147. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/copy.py +0 -0
  148. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/data_partition.py +0 -0
  149. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/datapartition.py +0 -0
  150. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/dimension_definition.py +0 -0
  151. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/dimensiondefinition.py +0 -0
  152. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/grain_plot.py +0 -0
  153. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/grainplot.py +0 -0
  154. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/hdf5_data_selection.py +0 -0
  155. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/hdf5_scans_concatenation.py +0 -0
  156. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/metadata.py +0 -0
  157. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/noise_removal.py +0 -0
  158. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/noiseremoval.py +0 -0
  159. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/pca.py +0 -0
  160. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/projection.py +0 -0
  161. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/roi.py +0 -0
  162. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/rsm_histogram.py +0 -0
  163. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/shift_correction.py +0 -0
  164. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/shiftcorrection.py +0 -0
  165. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/transformation.py +0 -0
  166. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/weak_beam.py +0 -0
  167. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/weakbeam.py +0 -0
  168. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tasks/zsum.py +0 -0
  169. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/__init__.py +0 -0
  170. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/conftest.py +0 -0
  171. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/decomposition/__init__.py +0 -0
  172. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/decomposition/test_base.py +0 -0
  173. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/decomposition/test_ipca.py +0 -0
  174. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/decomposition/test_nica.py +0 -0
  175. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/decomposition/test_nmf.py +0 -0
  176. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/decomposition/utils.py +0 -0
  177. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/gui/test_concatenate_scans.py +0 -0
  178. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/gui/test_data_path_completer.py +0 -0
  179. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/gui/test_data_path_selection.py +0 -0
  180. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/gui/test_dimension_range_slider_2d.py +0 -0
  181. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/gui/test_range_slider_with_spinboxes.py +0 -0
  182. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/gui/test_roi_selection.py +0 -0
  183. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/orange/__init__.py +0 -0
  184. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/orange/test_ewoks.py +0 -0
  185. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/orange/widgets/__init__.py +0 -0
  186. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/orange/widgets/test_concatenate_hdf5_scans.py +0 -0
  187. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/orange/widgets/test_dimension.py +0 -0
  188. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/orange/widgets/test_hdf5_data_selection.py +0 -0
  189. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/orange/widgets/test_transformation.py +0 -0
  190. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/orange/workflow_files/concatenate_scans.ows +0 -0
  191. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/tasks/test_binning.py +0 -0
  192. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/tasks/test_data_copy.py +0 -0
  193. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/tasks/test_dimension_definition.py +0 -0
  194. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/tasks/test_hdf5_data_selection.py +0 -0
  195. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/tasks/test_hdf5_scans_concatenation.py +0 -0
  196. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/tasks/test_weak_beam.py +0 -0
  197. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_array_utils.py +0 -0
  198. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_components_matching.py +0 -0
  199. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_data_path_finder.py +0 -0
  200. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_dataset.py +0 -0
  201. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_dimension.py +0 -0
  202. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_generate_grain_maps_nxdict.py +0 -0
  203. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_image_operations.py +0 -0
  204. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_image_registration.py +0 -0
  205. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_image_stack.py +0 -0
  206. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_mapping.py +0 -0
  207. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_mask.py +0 -0
  208. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_math.py +0 -0
  209. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_moments.py +0 -0
  210. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_projection.py +0 -0
  211. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_rocking_curves.py +0 -0
  212. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_roi.py +0 -0
  213. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_rsm_histogram.py +0 -0
  214. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_save_dataset.py +0 -0
  215. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_shift.py +0 -0
  216. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_transformation.py +0 -0
  217. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_workflow.py +0 -0
  218. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_zigzag.py +0 -0
  219. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/test_zsum.py +0 -0
  220. {darfix-4.3.0 → darfix-4.3.2}/src/darfix/tests/utils.py +0 -0
  221. {darfix-4.3.0 → darfix-4.3.2}/src/darfix.egg-info/SOURCES.txt +0 -0
  222. {darfix-4.3.0 → darfix-4.3.2}/src/darfix.egg-info/dependency_links.txt +0 -0
  223. {darfix-4.3.0 → darfix-4.3.2}/src/darfix.egg-info/entry_points.txt +0 -0
  224. {darfix-4.3.0 → darfix-4.3.2}/src/darfix.egg-info/requires.txt +0 -0
  225. {darfix-4.3.0 → darfix-4.3.2}/src/darfix.egg-info/top_level.txt +0 -0
  226. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/__init__.py +0 -0
  227. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/tutorials/__init__.py +0 -0
  228. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/tutorials/darfix_example1.ows +0 -0
  229. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/tutorials/darfix_example_hdf.ows +0 -0
  230. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/tutorials/edf_dataset/strain_0000.edf +0 -0
  231. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/tutorials/edf_dataset/strain_0001.edf +0 -0
  232. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/tutorials/hdf5_dataset/strain.hdf5 +0 -0
  233. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/tutorials/tutorial_workflow.ows +0 -0
  234. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/__init__.py +0 -0
  235. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/binning.py +0 -0
  236. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/blindsourceseparation.py +0 -0
  237. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/concatenateHDF5.py +0 -0
  238. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/datacopy.py +0 -0
  239. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/datapartition.py +0 -0
  240. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/dataset_widget_base.py +0 -0
  241. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/grainplot.py +0 -0
  242. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/hdf5dataselection.py +0 -0
  243. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/__init__.py +0 -0
  244. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/axes.png +0 -0
  245. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/axes.svg +0 -0
  246. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/bss.png +0 -0
  247. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/bss.svg +0 -0
  248. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/category.svg +0 -0
  249. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/concatenate_hdf5.svg +0 -0
  250. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/copy.svg +0 -0
  251. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/curves.png +0 -0
  252. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/curves.svg +0 -0
  253. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/darfix_icon.png +0 -0
  254. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/darfix_icon.svg +0 -0
  255. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/darfix_icon8.png +0 -0
  256. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/filter.png +0 -0
  257. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/filter.svg +0 -0
  258. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/gaussian.png +0 -0
  259. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/gaussian.svg +0 -0
  260. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/grainplot.png +0 -0
  261. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/grainplot.svg +0 -0
  262. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/image-select-box.svg +0 -0
  263. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/metadata.png +0 -0
  264. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/metadata.svg +0 -0
  265. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/mywidget.svg +0 -0
  266. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/noise_removal.png +0 -0
  267. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/noise_removal.svg +0 -0
  268. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/noise_removal_backup.svg +0 -0
  269. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/param_dims.png +0 -0
  270. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/param_dims.svg +0 -0
  271. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/pca.png +0 -0
  272. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/pca.svg +0 -0
  273. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/random.svg +0 -0
  274. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/resize.png +0 -0
  275. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/roi.png +0 -0
  276. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/roi.svg +0 -0
  277. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/save.svg +0 -0
  278. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/shift_correction.svg +0 -0
  279. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/upload_edf.svg +0 -0
  280. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/upload_hdf5.svg +0 -0
  281. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/icons/zsum.svg +0 -0
  282. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/metadata.py +0 -0
  283. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/noiseremoval.py +0 -0
  284. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/operation_widget_base.py +0 -0
  285. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/pca.py +0 -0
  286. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/projection.py +0 -0
  287. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/roiselection.py +0 -0
  288. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/rsmhistogram.py +0 -0
  289. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/shiftcorrection.py +0 -0
  290. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/transformation.py +0 -0
  291. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/weakbeam.py +0 -0
  292. {darfix-4.3.0 → darfix-4.3.2}/src/orangecontrib/darfix/widgets/zsum.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: darfix
3
- Version: 4.3.0
3
+ Version: 4.3.2
4
4
  Summary: Computer vision software for the interpretation of diffraction images
5
5
  Author-email: ESRF <dau-pydev@esrf.fr>
6
6
  License: The MIT license follows:
@@ -8,7 +8,7 @@ addopts = "--import-mode=importlib" # for all pytest versions, pytest-cov needs
8
8
 
9
9
  [project]
10
10
  name = "darfix"
11
- version = "4.3.0"
11
+ version = "4.3.2"
12
12
  keywords = ["orange3 add-on","ewoks"]
13
13
  authors = [{name = "ESRF", email = "dau-pydev@esrf.fr"}]
14
14
  description = "Computer vision software for the interpretation of diffraction images"
@@ -83,8 +83,6 @@ class DimensionTable(qt.QTableWidget):
83
83
  assert isinstance(dim, Dimension)
84
84
  self._addDim(axis, dim, decimals)
85
85
 
86
- self.sigUpdateDims.emit()
87
-
88
86
  def onRemoveDim(self, iRow: int):
89
87
  """
90
88
  Remove dimension.
@@ -298,11 +296,13 @@ class DimensionItem(qt.QWidget):
298
296
  # start
299
297
  self._startWidget = qt.QDoubleSpinBox(self)
300
298
  self._startWidget.setMinimum(float("-inf"))
299
+ self._startWidget.setMaximum(float("+inf"))
301
300
  self._startWidget.setDecimals(5)
302
301
  self._startWidget.valueChanged.connect(self.sigDimChanged)
303
302
  # end
304
303
  self._stopWidget = qt.QDoubleSpinBox(self)
305
304
  self._stopWidget.setMinimum(float("-inf"))
305
+ self._stopWidget.setMaximum(float("+inf"))
306
306
  self._stopWidget.setDecimals(5)
307
307
  self._stopWidget.valueChanged.connect(self.sigDimChanged)
308
308
  # rm button
@@ -124,7 +124,6 @@ class GrainPlotWidget(qt.QMainWindow):
124
124
 
125
125
  return generate_grain_maps_nxdict(
126
126
  self._grainPlotMaps,
127
- self._mosaicity_widget.getMosaicity(),
128
127
  orientation_dist_data,
129
128
  )
130
129
 
@@ -138,7 +138,7 @@ class NoiseRemovalWidget(qt.QWidget):
138
138
  self._dataset = dataset
139
139
 
140
140
  if self._imgDataset.title != "":
141
- self._plot.setTitleCallback(lambda idx: self._imgDataset.title)
141
+ self._plot.setGraphTitle(self._imgDataset.title)
142
142
 
143
143
  self._initPlot()
144
144
 
@@ -245,7 +245,7 @@ class RockingCurvesPlot(qt.QWidget):
245
245
  y_gauss = bivariate_gaussian(x_values, *pars)
246
246
 
247
247
  except (TypeError, RuntimeError):
248
- _logger.warning("Cannot fit", exc_info=True)
248
+ _logger.error("Cannot fit", exc_info=True)
249
249
  y_gauss = numpy.full_like(rocking_curve, numpy.nan)
250
250
  else:
251
251
  self._lastFitParamsLabel.setText(
@@ -17,9 +17,6 @@ from ..math import trivariate_gaussian
17
17
 
18
18
  FitMethod = Literal["trf", "lm", "dogbox"]
19
19
 
20
- _ZERO_SUM_RELATIVE_TOLERANCE = 1e-3
21
- """ Relative tolerance used to check if the sum of values equals 0. Skips fit if it is the case."""
22
-
23
20
  _BOUNDS_TOLERANCE = 1e-3
24
21
  """ Absolute tolerance for to set bounds of fit parameters. The bounds will be set to (min - tol, max + tol) whenever possible."""
25
22
 
@@ -246,6 +243,24 @@ def _gaussian_p0(com: list[float], fwhm: list[float], ptp_y: float):
246
243
  ]
247
244
 
248
245
 
246
+ def _filter_contiguous_zeros(arr) -> numpy.ndarray:
247
+ """
248
+ Mask is FALSE if value == 0 AND its left neighbor == 0 AND its right neighbor == 0.
249
+
250
+ :param arr: 1D array
251
+
252
+ :return: 1D mask
253
+ """
254
+ is_zero = arr == 0
255
+
256
+ left_neighbor_zero = numpy.concatenate(([True], is_zero[:-1]))
257
+
258
+ right_neighbor_zero = numpy.concatenate((is_zero[1:], [True]))
259
+
260
+ mask = is_zero & left_neighbor_zero & right_neighbor_zero
261
+ return ~mask
262
+
263
+
249
264
  def _fit_xd_rocking_curve(
250
265
  len_maps: int,
251
266
  gaussian_function: Callable,
@@ -273,38 +288,42 @@ def _fit_xd_rocking_curve(
273
288
  if thresh is None:
274
289
  thresh = 15.0
275
290
 
276
- com, fwhm = compute_com_fwhm(x_values, y_values)
277
-
278
291
  ptp_y = numpy.ptp(y_values)
279
292
 
293
+ y_not_zero_mask = _filter_contiguous_zeros(y_values)
294
+ x_not_zero_values = x_values[:, y_not_zero_mask]
295
+ y_not_zero_values = y_values[y_not_zero_mask]
280
296
  y_zeros = numpy.zeros_like(y_values)
281
297
 
298
+ com, fwhm = compute_com_fwhm(x_not_zero_values, y_not_zero_values)
299
+
282
300
  if ptp_y <= thresh:
283
301
  # Ptp under threshold
284
302
  return y_zeros, numpy.full(len_maps, numpy.nan)
285
303
 
286
- if len(y_values) < len_maps:
287
- return y_zeros, numpy.full(len_maps, numpy.nan)
288
-
289
304
  p0 = p0_function(com, fwhm, ptp_y)
290
305
 
306
+ if x_not_zero_values.shape[1] < len_maps:
307
+ # Cannot fit if there is less points than the number of parameters.
308
+ # Return `p0` for gaussian parameters is enough when there only a few points.
309
+ y_fitted = y_zeros
310
+ y_fitted[y_not_zero_mask] = gaussian_function(x_not_zero_values, *p0)
311
+ return y_fitted, p0
312
+
291
313
  vmax = max(y_values.max(), ptp_y)
292
314
 
293
315
  bounds = bounds_function(
294
316
  method,
295
- x_values,
317
+ x_not_zero_values,
296
318
  min_y=thresh,
297
319
  max_y=vmax,
298
320
  )
299
321
 
300
- y_not_zero_mask = y_values > 0
301
- x_values_masked = x_values[:, y_not_zero_mask]
302
-
303
322
  try:
304
323
  fit_params, cov = curve_fit(
305
324
  f=gaussian_function,
306
- xdata=x_values_masked,
307
- ydata=y_values[y_not_zero_mask],
325
+ xdata=x_not_zero_values,
326
+ ydata=y_not_zero_values,
308
327
  p0=p0,
309
328
  method=method,
310
329
  bounds=bounds,
@@ -317,7 +336,7 @@ def _fit_xd_rocking_curve(
317
336
  return y_zeros, numpy.full(len_maps, numpy.nan)
318
337
 
319
338
  y_fitted = y_zeros
320
- y_fitted[y_not_zero_mask] = gaussian_function(x_values_masked, *fit_params)
339
+ y_fitted[y_not_zero_mask] = gaussian_function(x_not_zero_values, *fit_params)
321
340
 
322
341
  return y_fitted, fit_params
323
342
 
@@ -25,6 +25,8 @@ class Inputs(BaseInputModel):
25
25
  """Method to use for the rocking curves fit"""
26
26
  output_filename: str | Path | None = None
27
27
  """Output filename to save the rocking curves results. Results are not saved if not provided"""
28
+ save_maps: bool = True
29
+ """Whether to save the maps to file. Default is True."""
28
30
 
29
31
 
30
32
  class RockingCurves(Task, input_model=Inputs, output_names=["dataset", "maps"]):
@@ -38,13 +40,6 @@ class RockingCurves(Task, input_model=Inputs, output_names=["dataset", "maps"]):
38
40
 
39
41
  inputs = Inputs(**self.get_input_values())
40
42
 
41
- output_filename = inputs.output_filename
42
- if output_filename and os.path.isfile(output_filename):
43
- raise FileExistsError(
44
- f"""Cannot launch rocking curves fit: saving destination {output_filename} already exists.
45
- Change the `output_filename` input or set it to None to disable saving."""
46
- )
47
-
48
43
  dataset = inputs.dataset.dataset
49
44
  new_image_dataset, maps = dataset.apply_fit(
50
45
  int_thresh=inputs.int_thresh,
@@ -52,13 +47,14 @@ class RockingCurves(Task, input_model=Inputs, output_names=["dataset", "maps"]):
52
47
  abort_event=self.cancelEvent,
53
48
  )
54
49
 
55
- if output_filename is not None:
50
+ if inputs.save_maps:
51
+
56
52
  nxdict = generate_rocking_curves_nxdict(
57
53
  new_image_dataset,
58
54
  maps,
59
55
  residuals=compute_residuals(new_image_dataset, dataset),
60
56
  )
61
- dicttonx(nxdict, output_filename)
57
+ dicttonx(nxdict, _get_output_path(inputs.output_filename, dataset.dir))
62
58
 
63
59
  self.outputs.dataset = Dataset(
64
60
  dataset=new_image_dataset,
@@ -68,3 +64,17 @@ class RockingCurves(Task, input_model=Inputs, output_names=["dataset", "maps"]):
68
64
 
69
65
  def cancel(self):
70
66
  self.cancelEvent.set()
67
+
68
+
69
+ def _get_output_path(output_path: str | None, output_directory: str) -> str:
70
+ """
71
+ :return: Default output path or output path specified by user.
72
+ """
73
+ if output_path is None:
74
+ output_path = str(Path(output_directory) / "rocking_curve_maps.h5")
75
+ if os.path.isfile(output_path):
76
+ raise FileExistsError(
77
+ f"""Cannot launch rocking curves fit: saving destination {output_path} already exists.
78
+ Change the `output_filename` input or set `save_maps` input to False to disable saving."""
79
+ )
80
+ return output_path
@@ -2,7 +2,9 @@ import warnings
2
2
  from pathlib import Path
3
3
 
4
4
  import h5py
5
+ import hdf5plugin # noqa: F401
5
6
  import numpy
7
+ import pytest
6
8
  from scipy.optimize import OptimizeWarning
7
9
 
8
10
  from darfix.core.rocking_curves_map import Maps_2D
@@ -10,8 +12,16 @@ from darfix.dtypes import Dataset
10
12
  from darfix.tasks.rocking_curves import RockingCurves
11
13
 
12
14
 
13
- def test_rocking_curves(input_dataset, tmp_path):
14
- output_filename = tmp_path / "rocking_curves.h5"
15
+ @pytest.mark.parametrize("test_default_value", (True, False))
16
+ def test_rocking_curves(input_dataset, tmp_path, test_default_value):
17
+
18
+ if test_default_value:
19
+ output_filename = None
20
+ expected_output_filename = tmp_path / "rocking_curve_maps.h5"
21
+ else:
22
+ output_filename = tmp_path / "file_name_defined_by_user.h5"
23
+ expected_output_filename = output_filename
24
+
15
25
  input_dataset.find_dimensions()
16
26
  input_dataset.reshape_data()
17
27
  task = RockingCurves(
@@ -22,6 +32,7 @@ def test_rocking_curves(input_dataset, tmp_path):
22
32
  "int_thresh": 15,
23
33
  }
24
34
  )
35
+
25
36
  with warnings.catch_warnings():
26
37
  warnings.simplefilter("always", RuntimeWarning)
27
38
  warnings.simplefilter("always", OptimizeWarning)
@@ -29,8 +40,8 @@ def test_rocking_curves(input_dataset, tmp_path):
29
40
 
30
41
  assert isinstance(task.get_output_value("maps"), numpy.ndarray)
31
42
  assert isinstance(task.get_output_value("dataset"), Dataset)
32
- assert output_filename.is_file()
33
- with h5py.File(output_filename, "r") as output_file:
43
+ assert expected_output_filename.is_file()
44
+ with h5py.File(expected_output_filename, "r") as output_file:
34
45
  output_entry = output_file["entry"]
35
46
  for map_type in Maps_2D:
36
47
  assert map_type.value in output_entry
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: darfix
3
- Version: 4.3.0
3
+ Version: 4.3.2
4
4
  Summary: Computer vision software for the interpretation of diffraction images
5
5
  Author-email: ESRF <dau-pydev@esrf.fr>
6
6
  License: The MIT license follows:
@@ -108,6 +108,7 @@ class DimensionWidgetOW(DatasetWidgetBase, ewokstaskclass=DimensionDefinition):
108
108
  )
109
109
  # Disable inputs only when the dim rows are added
110
110
  self._widget.setEnableInputs(False)
111
+ self.buttons.button(qt.QDialogButtonBox.Ok).setEnabled(True)
111
112
  else:
112
113
  self._widget.setEnableInputs(True)
113
114
  _logger.error(
@@ -142,8 +143,7 @@ class DimensionWidgetOW(DatasetWidgetBase, ewokstaskclass=DimensionDefinition):
142
143
  raw_dims = self.get_task_input_value("dims")
143
144
  if not is_missing_data(raw_dims):
144
145
  dims = convert_dim_from_dict_to_Dimension(raw_dims)
145
- with block_signals(self._widget):
146
- self._widget.setDims(dims)
146
+ self._widget.setDims(dims)
147
147
  self._widget.setZigzagMode(self.get_task_input_value("is_zigzag", False))
148
148
  self._widget.setEnableInputs(False)
149
149
  except ValueError as e:
@@ -52,6 +52,7 @@ class RockingCurvesWidgetOW(DatasetWidgetBase, ewokstaskclass=RockingCurves):
52
52
  self._widget.updateDataset(dataset.dataset, maps)
53
53
 
54
54
  def _launch_fit(self):
55
+ self.set_dynamic_input("save_maps", False)
55
56
  self.set_default_input("int_thresh", self._widget.getIntensityThreshold())
56
57
  self.set_default_input("method", self._widget.getFitMethod())
57
58
  self.execute_ewoks_task()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes