nabu 2025.1.0.dev13__py3-none-any.whl → 2025.1.0rc1__py3-none-any.whl

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 (63) hide show
  1. nabu/__init__.py +1 -1
  2. nabu/app/cast_volume.py +12 -1
  3. nabu/app/cli_configs.py +81 -4
  4. nabu/app/estimate_motion.py +54 -0
  5. nabu/app/multicor.py +2 -4
  6. nabu/app/pcaflats.py +116 -0
  7. nabu/app/reconstruct.py +1 -7
  8. nabu/app/reduce_dark_flat.py +5 -2
  9. nabu/estimation/cor.py +1 -1
  10. nabu/estimation/motion.py +557 -0
  11. nabu/estimation/tests/test_motion_estimation.py +471 -0
  12. nabu/estimation/tilt.py +1 -1
  13. nabu/estimation/translation.py +47 -1
  14. nabu/io/cast_volume.py +94 -13
  15. nabu/io/reader.py +32 -1
  16. nabu/io/tests/test_remove_volume.py +152 -0
  17. nabu/pipeline/config_validators.py +42 -43
  18. nabu/pipeline/estimators.py +255 -0
  19. nabu/pipeline/fullfield/chunked.py +67 -43
  20. nabu/pipeline/fullfield/chunked_cuda.py +5 -2
  21. nabu/pipeline/fullfield/nabu_config.py +17 -11
  22. nabu/pipeline/fullfield/processconfig.py +8 -2
  23. nabu/pipeline/fullfield/reconstruction.py +3 -0
  24. nabu/pipeline/params.py +12 -0
  25. nabu/pipeline/tests/test_estimators.py +240 -3
  26. nabu/preproc/ccd.py +53 -3
  27. nabu/preproc/flatfield.py +306 -1
  28. nabu/preproc/shift.py +3 -1
  29. nabu/preproc/tests/test_pcaflats.py +154 -0
  30. nabu/processing/rotation_cuda.py +3 -1
  31. nabu/processing/tests/test_rotation.py +4 -2
  32. nabu/reconstruction/fbp.py +7 -0
  33. nabu/reconstruction/fbp_base.py +31 -7
  34. nabu/reconstruction/fbp_opencl.py +8 -0
  35. nabu/reconstruction/filtering_opencl.py +2 -0
  36. nabu/reconstruction/mlem.py +51 -14
  37. nabu/reconstruction/tests/test_filtering.py +13 -2
  38. nabu/reconstruction/tests/test_mlem.py +91 -62
  39. nabu/resources/dataset_analyzer.py +144 -20
  40. nabu/resources/nxflatfield.py +101 -35
  41. nabu/resources/tests/test_nxflatfield.py +1 -1
  42. nabu/resources/utils.py +16 -10
  43. nabu/stitching/alignment.py +7 -7
  44. nabu/stitching/config.py +22 -20
  45. nabu/stitching/definitions.py +2 -2
  46. nabu/stitching/overlap.py +4 -4
  47. nabu/stitching/sample_normalization.py +5 -5
  48. nabu/stitching/stitcher/post_processing.py +5 -3
  49. nabu/stitching/stitcher/pre_processing.py +24 -20
  50. nabu/stitching/tests/test_config.py +3 -3
  51. nabu/stitching/tests/test_y_preprocessing_stitching.py +11 -8
  52. nabu/stitching/tests/test_z_postprocessing_stitching.py +2 -2
  53. nabu/stitching/tests/test_z_preprocessing_stitching.py +23 -20
  54. nabu/stitching/utils/utils.py +7 -7
  55. nabu/testutils.py +1 -4
  56. nabu/utils.py +13 -0
  57. {nabu-2025.1.0.dev13.dist-info → nabu-2025.1.0rc1.dist-info}/METADATA +3 -4
  58. {nabu-2025.1.0.dev13.dist-info → nabu-2025.1.0rc1.dist-info}/RECORD +62 -57
  59. {nabu-2025.1.0.dev13.dist-info → nabu-2025.1.0rc1.dist-info}/WHEEL +1 -1
  60. {nabu-2025.1.0.dev13.dist-info → nabu-2025.1.0rc1.dist-info}/entry_points.txt +2 -1
  61. nabu/app/correct_rot.py +0 -62
  62. {nabu-2025.1.0.dev13.dist-info → nabu-2025.1.0rc1.dist-info}/licenses/LICENSE +0 -0
  63. {nabu-2025.1.0.dev13.dist-info → nabu-2025.1.0rc1.dist-info}/top_level.txt +0 -0
@@ -1,31 +1,32 @@
1
1
  doc/conf.py,sha256=3xtCarCHrXPr50GbeRDuH-o3Jzojw7mpr7vpGfZPLAE,3787
2
2
  doc/create_conf_doc.py,sha256=IVOdP70KvbW9WS_UQu3Iyd0YfS60E2fJ5IDtQ_s4cDw,1143
3
3
  doc/get_mathjax.py,sha256=VIvKRCdDuF2VoY8JD3mSey9XX13AZMmwTJBHdt1tUs4,1012
4
- nabu/__init__.py,sha256=ArHDO8a36q5KpcPAtV9nZ2qBWX2x49EWkvGtd6goCII,276
4
+ nabu/__init__.py,sha256=OFYai1bEoZ3LQEXRpCl_wc9LDqZnA7uga7Scl_CY5As,274
5
5
  nabu/tests.py,sha256=hOJD1GGxn_KE1bWMoxfjnjzI7d9JBUpoc9B2_tVFiEk,1370
6
- nabu/testutils.py,sha256=PmQVGkQmLjq1oX8C_rE8N5yceVNbUifPuNMiE6cQq7k,8667
7
- nabu/utils.py,sha256=XFk8_sUupngl5g1aFEE7IL_AzL9eJUV_ikmjiGfJNDA,26727
6
+ nabu/testutils.py,sha256=eL81DWgYwu2CCFmDMsFs4QjfI7w9RPXFuPU5gvYF6No,8631
7
+ nabu/utils.py,sha256=tJI64BNXMhD6W293fwwcgf9bvTalYG_5AwVGYkgi6tU,27179
8
8
  nabu/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  nabu/app/bootstrap.py,sha256=3yLZJmrmQBmPJMBtE2ih2cspfqOy5T_UN2U8B3i_hkI,3266
10
10
  nabu/app/bootstrap_stitching.py,sha256=wCKgugOQr6-lPMWEn4AYQeric0tCuRc9O-RnpBuTWAA,2230
11
- nabu/app/cast_volume.py,sha256=fBjVWOgLWS_JBF5qEdN-b-7GCOQVx15cwerh4BmAsTQ,11171
12
- nabu/app/cli_configs.py,sha256=x32idqLU2iMWxMi8ysYneUnq8mgpyAcT_-1udvAWWuM,22141
11
+ nabu/app/cast_volume.py,sha256=Z6DeEVtR8QtfDw2FtWuvA58N8ELtQdFwBNjgKjfKzG0,11570
12
+ nabu/app/cli_configs.py,sha256=D3KaMVnZ9eLnSzgSJmdNWhxF0GESbmXMYiNeOBzu1vY,24794
13
13
  nabu/app/compare_volumes.py,sha256=3qm3QsxV-D_myLAkhM_LlX0DTrDmhzfhrnNak-1538Q,3337
14
14
  nabu/app/composite_cor.py,sha256=-qAbMJCFa0NmSb1hO2G1QvdW4fwEXSMBBbSFCnQXmCc,5068
15
- nabu/app/correct_rot.py,sha256=rIgBZZ_q-WPTy0mH22_XUXSXYqmR9DQkKlgEw_ol1kI,1988
16
15
  nabu/app/create_distortion_map_from_poly.py,sha256=aa-vE-ndB9PsuHwdHUW7-8jGz4BxvjC-bQDWHlPV0Kg,6193
17
16
  nabu/app/diag_to_pix.py,sha256=KKIj4YrcvEc8Ey-_T3yvxeSKTfrY5o13ekteMQN_cr4,14987
18
17
  nabu/app/diag_to_rot.py,sha256=tBaF1Oy0-bjCqkLFK-Bu_n74easzLlRkI_FTC1cAH2Q,16933
19
18
  nabu/app/double_flatfield.py,sha256=1yquRUIHYXmrIg7NGHMDIXpkUCS_muEioUeqLyWf8PI,5641
19
+ nabu/app/estimate_motion.py,sha256=VyUv3scqbzj8mlccdMO3XgI-HIekFjxFtlVEGd2swo4,2079
20
20
  nabu/app/generate_header.py,sha256=Voo-FAvwS_mU5gtDxyqpZnSpP_mlMSfd_6bEtgdi_tg,8919
21
21
  nabu/app/histogram.py,sha256=gyLXKwFrU5WPQMkM1k8OdpIXSwGEEKC-f8RcTHKOho4,7930
22
- nabu/app/multicor.py,sha256=Q9sxHSaCmahhf9hFZxX2jlfhk0me4ORBnHYfEwLo2dY,4725
22
+ nabu/app/multicor.py,sha256=FjmJurruRmrwXF7v56KlTszQGIGsqft1_P7AKR9feY0,4726
23
23
  nabu/app/nx_z_splitter.py,sha256=p54jR-PAAw-AkGolM9fZE5lM2vbNLspCNCy5zBnJNP4,4976
24
24
  nabu/app/parse_reconstruction_log.py,sha256=msOtA3xaqLZpISRqS0F9_SrkvbdvKNPE99tdWhPrkY0,4745
25
+ nabu/app/pcaflats.py,sha256=R1udJSdJwfGwBL557HoPH6dVzka7ULMFI0JHUZfR7ds,4018
25
26
  nabu/app/prepare_weights_double.py,sha256=jy78aP1UNKqSk82Wy6ZCkKjpYXxaGmlIj_vjB4SxS8A,5443
26
- nabu/app/reconstruct.py,sha256=L5N6BnP8lUQbXGi4NtcAZQ7h-T8CbyiBBP6s1SlPqrg,5792
27
+ nabu/app/reconstruct.py,sha256=g_pkrs11QFuclgxKLih1JCRLhyM-Ln8ACXlMspA2phc,5681
27
28
  nabu/app/reconstruct_helical.py,sha256=cMjcc8IUGUtqAOfObsznLkcGm6Ev4ZoE_vJa--fDSNQ,4257
28
- nabu/app/reduce_dark_flat.py,sha256=nJ67oRGRWRw3P5Q3oTdW17_SszVxwkNSiYUjTkZJQZA,6555
29
+ nabu/app/reduce_dark_flat.py,sha256=nJg94M64Mtvcc8B-mKQT056s30fEJRHFYPMcxH3GGJ0,6599
29
30
  nabu/app/rotate.py,sha256=st9tPf9XSH_nYPivANbcvBwDcY3snH-fYXJhVh7Suh4,6503
30
31
  nabu/app/shrink_dataset.py,sha256=P9dorO0Q-gPAWgSHyZi3XQp4jkMTJacDYzNvJY4oh98,3507
31
32
  nabu/app/stitching.py,sha256=WAcAAxWw9nTpajp273KylfRc-Rxw7HmyqzSLjJ4sWh4,4418
@@ -64,29 +65,32 @@ nabu/cuda/src/transpose.cu,sha256=Enim7vLxTCFZbK3BmYdQ6ZatA_FLp6601VOSl8iGFjg,47
64
65
  nabu/cuda/tests/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
65
66
  nabu/estimation/__init__.py,sha256=HWE3ivArjlJx4FjFh2Q73VmpIyzod80KTmXvFo1AP1s,379
66
67
  nabu/estimation/alignment.py,sha256=i7q6txkHDXuxusJ9bi6MlMVpOR8yv07LeWkKXGwqSz0,20839
67
- nabu/estimation/cor.py,sha256=Hk3aRDoP5JRIWQO-mqZWtyb84Fy-Pe9hrYOKRQZoOws,50275
68
+ nabu/estimation/cor.py,sha256=8RsyZ_MYT04EWvP2tLThftn_bD3cz9-uWo8D5FpXLKQ,50353
68
69
  nabu/estimation/cor_sino.py,sha256=qN6y16UVqoDX696JYyn3iWXDxQo0FMcFTuGbT92BW_s,18959
69
70
  nabu/estimation/distortion.py,sha256=DEXizQpgHBXmrhbQ0kuEchicxmiDgmU2qrh8bCgSezg,4701
70
71
  nabu/estimation/focus.py,sha256=CdtMFk6Xt4qq1JwwKDmDcVCeVocz-mpV0saikO0B1mc,17995
71
- nabu/estimation/tilt.py,sha256=VllpMNX-_4XIyqSFYSh4y_rxnZX9U1ZlpflHjBS6hp0,8765
72
- nabu/estimation/translation.py,sha256=L-SCLozW1I-FyGta9LjbNPLYRnaznwenF-p9rISM2pE,8581
72
+ nabu/estimation/motion.py,sha256=8fgwGsJMZleUugCCMRyZ2Zfi6-fWp-_dJpUnvetxGvk,26501
73
+ nabu/estimation/tilt.py,sha256=6R8l8gnf00m-xdgLhvQmkvZ3lIO_8hDglNsFjzlzZ4E,8834
74
+ nabu/estimation/translation.py,sha256=qoxT8VT38TZqrqLRwOef7-wBE5OeEObp_Qy9T2De2Do,10184
73
75
  nabu/estimation/utils.py,sha256=31d17Ng__NxcLOtGXPmbPPW1veh1m0poCvRgDCJssUA,347
74
76
  nabu/estimation/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
77
  nabu/estimation/tests/test_alignment.py,sha256=knNn_IqVd5MR-K3LBNc1BkREZF9V8aRD829K_zD1atY,2513
76
78
  nabu/estimation/tests/test_cor.py,sha256=YKrZc1v33WBcNEOTmzoifnotghgvUL8-78B0IxCmjCs,23811
77
79
  nabu/estimation/tests/test_focus.py,sha256=cMxEeTLlfVHOvG_4oGMLpp6bVI6okYz0u4aNcW0vmNI,4188
80
+ nabu/estimation/tests/test_motion_estimation.py,sha256=WKUpkVand8VszoBIvsaEnhKqvwlsr4NVNtTaNvd-nsE,19179
78
81
  nabu/estimation/tests/test_tilt.py,sha256=KIgTJqQvNfWndm8f3aRSdznWFl3AdQhYXiZPKLseYOs,1672
79
82
  nabu/estimation/tests/test_translation.py,sha256=RkOnCYgk9DZGKlIka1snqTv4wbIz_nG7-EHAxnBHsJU,2999
80
83
  nabu/io/__init__.py,sha256=AbQgj4-fCCHOKynO_PyAR9ejnFSuWKgroxxhxWVpjyQ,120
81
- nabu/io/cast_volume.py,sha256=56HDNQ3mr7krylMGWW8aBXZ6d3FAGfKK-syppDv1P8k,17573
84
+ nabu/io/cast_volume.py,sha256=BmQW0Z8dMEBN-1_DsGYn9HOL17cj0fcHq9tbt7Y7I4w,21221
82
85
  nabu/io/detector_distortion.py,sha256=qO1Z6gejkBrixThvU_sLwH3UfLAe8aAO63YQ8z7PH78,11750
83
- nabu/io/reader.py,sha256=D5pOhOPadySvl7YkZmIIb9ZUJGpv5dITvb6r5RHZAkE,40525
86
+ nabu/io/reader.py,sha256=M6kLLzDe-OLh4veNr_F1Nn4TT6E6RfBpWPxMxrsnL94,41324
84
87
  nabu/io/reader_helical.py,sha256=q3LOmu6F_4Uxi3rZZWJ-rsix2Lgu_saXXdiJF8TLi24,4533
85
88
  nabu/io/utils.py,sha256=iSeBhOIcLlKgiHXdDLfAdyvSrgdv6I5iQUcjT2gv_WQ,9303
86
89
  nabu/io/writer.py,sha256=0bZ2X0hvT-r_2Uu2u3fIfXZH7clxKIDhBwHmBS0ZcxM,15811
87
90
  nabu/io/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
88
91
  nabu/io/tests/test_cast_volume.py,sha256=UGrIYVp1fxm372YFJinLWAL-xCtcR731axYchhonZHY,10774
89
92
  nabu/io/tests/test_readers.py,sha256=E26UE_nwqKcA6fBvzSdANNwqJ4Py07Dho61ShcMLb50,18131
93
+ nabu/io/tests/test_remove_volume.py,sha256=q632Rq0qLneDcJLHGWCR8HYlvdnTvaEEyTQAsNv1ggM,5967
90
94
  nabu/io/tests/test_writers.py,sha256=EJp3DKeaRko7FVTgGdjrl2tt6jES228_XT5Jb767I0w,3137
91
95
  nabu/misc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
96
  nabu/misc/binning.py,sha256=x7mbKTfEKF8ZaZoPq2LJl9hfUsQ0qMNGMxaHE98PcNc,2920
@@ -126,25 +130,25 @@ nabu/opencl/src/transpose.cl,sha256=jFRIFccPefzbKFEqEIVYGrWac5XJs3FY1tEmvCzA74E,
126
130
  nabu/opencl/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
127
131
  nabu/pipeline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
128
132
  nabu/pipeline/config.py,sha256=rOpCHywEi_StPDaz-fSYc36ondCMamMPhMy7o03HcJk,9207
129
- nabu/pipeline/config_validators.py,sha256=ertytKkgp154AI0lOZbCWK9vMugSEoWVp7dy1x32wsk,16395
133
+ nabu/pipeline/config_validators.py,sha256=Wx9nnUpfxTJ8H2ODkUyjImTtJS9V68TafLH1TecEFxI,16222
130
134
  nabu/pipeline/datadump.py,sha256=tKW-Dl28FU2vf1OuIie_YI1-GT1DMreis57sOR-DuGU,7026
131
135
  nabu/pipeline/dataset_validator.py,sha256=etQw9NC_YGsdWCgjsn8aJ3WfvcRuJlLVZlWoqhvvo-8,9263
132
136
  nabu/pipeline/detector_distortion_provider.py,sha256=ru1AxbcuO-FA8FYooPBWgp1lzdSDUtzFUC1A_sS8jME,920
133
- nabu/pipeline/estimators.py,sha256=QAX0ZZicaRp81ffN8XjDlk_WGVOfy6nZBqtiW_Fr5Lo,40445
134
- nabu/pipeline/params.py,sha256=o4uD1v8eqNXDqxpNoC7rHOHgg-8cf5q_KfGrnHPP3sE,3882
137
+ nabu/pipeline/estimators.py,sha256=8OKGEMn6VKwyy1FK1eADokP32AOolsXM8pmwc4FOs8E,51556
138
+ nabu/pipeline/params.py,sha256=UKMQWFQnrlNMW5aIGty-JoGmBdkS6tpoAXCjW8n6FX8,4229
135
139
  nabu/pipeline/processconfig.py,sha256=3xx2Lc8uEzPAqSMwUncr4RCiCtKn2c7wnXXbPSn8GNo,7719
136
140
  nabu/pipeline/reader.py,sha256=wkxPHYOi_C8dHNc7kddB8AMtFuW7GjsP_tm6SJeHlEY,4792
137
141
  nabu/pipeline/utils.py,sha256=5GGhT9Wu7tHDlF3w7YNjTTYkNBl5xHa9EcRZSGFUWtM,3538
138
142
  nabu/pipeline/writer.py,sha256=NVeAtkWDtXg5UJ4C3wsbkfM23ZnK64atCWl8tjmjsuY,8166
139
143
  nabu/pipeline/fullfield/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
140
- nabu/pipeline/fullfield/chunked.py,sha256=xuLkZk18fRbyNJcYl3mY-oEFpnKtOw-1vyMl8LvQ_mk,40954
141
- nabu/pipeline/fullfield/chunked_cuda.py,sha256=Jdkk6ZIt3S6UZYbupHtSj2vrj3krWMcqRHHprfblDfk,5848
144
+ nabu/pipeline/fullfield/chunked.py,sha256=MVqIceFGZKQZSiNa1PfetXrNAVlto-a4K4b_AyWtZnA,42534
145
+ nabu/pipeline/fullfield/chunked_cuda.py,sha256=US5prrhNjsx3QVHkY5duQp8uFcGdgYEPzVS7nfWkJRw,6047
142
146
  nabu/pipeline/fullfield/computations.py,sha256=uqf7LvuDPm7n51BpP8eb8vTewDgRFyzSDP249g3FWBE,10098
143
147
  nabu/pipeline/fullfield/dataset_validator.py,sha256=HK_bmlII9pc59PXCgKJOyLv7Xu3DYv_jbH3RmQSgzvI,2933
144
148
  nabu/pipeline/fullfield/get_double_flatfield.py,sha256=uYFDAii6Nw4RCUQO_6Id6tXLdmtVbj_pxAHQWennSeE,5411
145
- nabu/pipeline/fullfield/nabu_config.py,sha256=gSsWXEyQsCpQnrWtqhMSYAiNZLXdYnWwCiQzmYplxWI,32700
146
- nabu/pipeline/fullfield/processconfig.py,sha256=MISwEwb57hJRWr4Vih2cPA503CVMccqrsaTzmUt-BFk,37726
147
- nabu/pipeline/fullfield/reconstruction.py,sha256=sXI0NIFUc9nAhbAW6M52mbqalc6mFO315rrCl5r1RoY,37775
149
+ nabu/pipeline/fullfield/nabu_config.py,sha256=0uZS02rpc1Exy_pvG3nysSy9ZZCM56MYMQMJhA621nY,33146
150
+ nabu/pipeline/fullfield/processconfig.py,sha256=gGnRogl6dHu9kGf4fv2QleLJ2l5a3jHz69oKB05_A_Q,38081
151
+ nabu/pipeline/fullfield/reconstruction.py,sha256=nyMvkhpn_Y8aOwSHW3z-Z4XsDFTp8c3xNKka06NLRSA,37996
148
152
  nabu/pipeline/helical/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
149
153
  nabu/pipeline/helical/dataset_validator.py,sha256=HdKjUSj3PIpJb1dKSzJg8s4zXbAnMPWaPn8kvp_xQEs,657
150
154
  nabu/pipeline/helical/fbp.py,sha256=MKn587bO5Lj7yFu-Sll2RkOIY5r3rC-fmC10SzFU5i0,5841
@@ -160,11 +164,11 @@ nabu/pipeline/helical/span_strategy.py,sha256=tKLWQv2woj3SSW5JLJu5pNbv48fy0vYNej
160
164
  nabu/pipeline/helical/weight_balancer.py,sha256=9yQodctr1qUZFOEA-xfvUiolr-tI-HjX0Y8YIlO5gII,3975
161
165
  nabu/pipeline/helical/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
162
166
  nabu/pipeline/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
163
- nabu/pipeline/tests/test_estimators.py,sha256=usi2Rp0zry5ADJV9k8nHhCqdDBSuHguZvyH-jkg-F48,6146
167
+ nabu/pipeline/tests/test_estimators.py,sha256=fYSc5ZA9j7e--AC9D4es7cSQ8-e0FsYq4IfXv4-LBcs,14901
164
168
  nabu/pipeline/xrdct/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
165
169
  nabu/preproc/__init__.py,sha256=dKxvZvWZXjKS3iPRaSXiUeM2dNGIOyTlirq5pdAWY0Y,284
166
170
  nabu/preproc/alignment.py,sha256=PUw4YdpCmY6FVkUaosaT6LxFoNgPv7XHFy11Fhz1_6w,19
167
- nabu/preproc/ccd.py,sha256=AHU9iwXLrzisMOfIfMtKwDfd9vP5m_-MBI0rmP4u7eg,5145
171
+ nabu/preproc/ccd.py,sha256=QEe6c0bynAziE-r1obWLNRZ1i6xqpwlitT0eMN_r678,6977
168
172
  nabu/preproc/ccd_cuda.py,sha256=IckZjk0fznVgX6VlBWZEURar_RqvMTN-g87Aj6Y8rJk,6093
169
173
  nabu/preproc/ctf.py,sha256=LEZT5fawEIIT3Qx0V0910RSv8aPLYuuHDrMzTYqyd5o,14981
170
174
  nabu/preproc/ctf_cuda.py,sha256=j6s8JOYQ7IVuu5HHAoGJhbTRW2zi7t5d6YrcAxIU0aQ,5268
@@ -172,12 +176,12 @@ nabu/preproc/distortion.py,sha256=XksQNrrSBfZS7mlvIdVEMZjw839ppQWP6AitTLcgfb0,33
172
176
  nabu/preproc/double_flatfield.py,sha256=WcYsNuotgQgm_KaioNa3OVI8rGfk3Wrn_YCW5v4mo4w,7895
173
177
  nabu/preproc/double_flatfield_cuda.py,sha256=lqgvZyeujdWJ5nF_GNRMQx7punjqA3SZ8K3IIyL3HDY,6197
174
178
  nabu/preproc/double_flatfield_variable_region.py,sha256=yiyvfGLFv3b93aKzHw84EQszPwQHfBv0PqtlQ8khvm4,2258
175
- nabu/preproc/flatfield.py,sha256=EX4zz7l8YddyGcY8bSF0QLeu7XQWzxj1jLXf70_t4Vs,19401
179
+ nabu/preproc/flatfield.py,sha256=pjXDcICtRtErj3_s3eBMkytqj0JL2hwjnwTKoDbZFLk,30572
176
180
  nabu/preproc/flatfield_cuda.py,sha256=Iiqv7bHa870DZOH68L19xiN1kG9I9JXuckFfA3khGtY,5482
177
181
  nabu/preproc/flatfield_variable_region.py,sha256=RVmSW515vgkHagjqotPNPUe97oQooHgdqkBn6hPH_2Q,3142
178
182
  nabu/preproc/phase.py,sha256=nRFhnHN_Bmmu5AHDcoO-Kt59sXYFSQaTljHZ5dlZiA0,13857
179
183
  nabu/preproc/phase_cuda.py,sha256=2oGjpmSl8U6dbzxrU_pt-_3JFm3XeBMCTCUNoxjIAuw,4944
180
- nabu/preproc/shift.py,sha256=CT1i-G7Bs36hK5CGYBik05qAcKj82YpBZKNL3brcbzw,3419
184
+ nabu/preproc/shift.py,sha256=wAzZgafxbgboAZAs_m3q6Hxlz2ztMMN4FRY5balwNsE,3501
181
185
  nabu/preproc/shift_cuda.py,sha256=4YOVRZ4oECEVWOQ6MzDBh8cOY2RtOOhlU7tir0Tp77M,4125
182
186
  nabu/preproc/tests/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
183
187
  nabu/preproc/tests/test_ccd_corr.py,sha256=KIpwaWYWT_6OPVXyVuLxXIIWreBkYF0rOnDMiegiLMU,2249
@@ -185,6 +189,7 @@ nabu/preproc/tests/test_ctf.py,sha256=4KtjLdiMqwtv3ZJgk-q5xzxoxSnKL_wleZtEgEgEw2
185
189
  nabu/preproc/tests/test_double_flatfield.py,sha256=qUmgAktFHqzKJBHHfj3GJzorey0yk7R0e4nr8dRmbTo,2870
186
190
  nabu/preproc/tests/test_flatfield.py,sha256=8_vmTtfmrpbuKUr4fW8NmtH-PtGWkSQkMBFD6hs0ul4,21055
187
191
  nabu/preproc/tests/test_paganin.py,sha256=Ixlp624o0xtFs12akN6sDn-gHWXm1wVlcdumm2prqh4,2978
192
+ nabu/preproc/tests/test_pcaflats.py,sha256=tZpMNzEtcqhLgnfl02VYyn9Ez8_YmZgtHAZublYNTHo,6356
188
193
  nabu/preproc/tests/test_vshift.py,sha256=Gq9sDtbbAAdLTJALH2qcbeYXE5dINQ8QpBnCgZM0tFQ,2972
189
194
  nabu/processing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
190
195
  nabu/processing/azim.py,sha256=GIv_C1NYjUP3IYd51qvfECTDu-rfs3Dl2Hb5-ZhdhHY,7080
@@ -205,7 +210,7 @@ nabu/processing/padding_opencl.py,sha256=H7w5bY9Th9pJKYKaX1_u-XqUj8lM5XWfVViu0ax
205
210
  nabu/processing/processing_base.py,sha256=sbMmkjjYvkqNosGsO8IeC2hlzIqLapdAh-wGv2ssG-o,4477
206
211
  nabu/processing/roll_opencl.py,sha256=ms6ZW7ecG-kWq--wWijAjDB_uVWQtUylFp_EDKmfUKw,2283
207
212
  nabu/processing/rotation.py,sha256=8tVQponi8tv8uPw-xT-0GyZecl3YIXyJgPkEnQMer8M,1836
208
- nabu/processing/rotation_cuda.py,sha256=mfExwPCTyoKFhv8ZmE833jI_D6o-J-p5-TxacGdb-e4,2796
213
+ nabu/processing/rotation_cuda.py,sha256=_NtcrqshEwbD7DUW1NA0HVq0nr8RBAKovEg1DvuADcw,2941
209
214
  nabu/processing/transpose.py,sha256=bOnxEFXJd16YcTGyMS-3lwREIVaDkClE_Fkb8bOn1l8,4410
210
215
  nabu/processing/unsharp.py,sha256=XqoieKlX5sEHalxObi5JBOjauRUSbiHc6rqYT_buTa4,2682
211
216
  nabu/processing/unsharp_cuda.py,sha256=uKFCEk8bRqgJzR8HB_OeKYuwC5jKqaXpFI6pRv_pDY4,2152
@@ -218,19 +223,19 @@ nabu/processing/tests/test_medfilt.py,sha256=rnReK3MMCsc74-NoycYSRSMp7bN4Qdg4cZb
218
223
  nabu/processing/tests/test_muladd.py,sha256=cRhAC5hgmRV0BAwPA4o4M-kcx-UDniLK7sSyiN0F3kE,1927
219
224
  nabu/processing/tests/test_padding.py,sha256=EQXYwAFDvtAjK6KRPAY7fNarRXPixuwqKItM3bkJDKY,8730
220
225
  nabu/processing/tests/test_roll.py,sha256=XtEFz1V_OId1O2hGf4JJjesCyYLxKjoz966sGL-YzEs,2333
221
- nabu/processing/tests/test_rotation.py,sha256=vedRXV9RePJywBKoyBkGANP1dhZCjphbYOhdnsBDQtE,2737
226
+ nabu/processing/tests/test_rotation.py,sha256=5O1yHthJfdoP-2loXob96j_V2IwI2eb8rouCYwDrdKk,2834
222
227
  nabu/processing/tests/test_transpose.py,sha256=hTG17wTaB5Wv6twbW3ZFhBv6BYfqJY7DTQPoO0-KdkM,2760
223
228
  nabu/processing/tests/test_unsharp.py,sha256=R3ovbwDDp3ccy2A8t6CcUVELXRWkED5EnQdN2FQOfQM,4391
224
229
  nabu/reconstruction/__init__.py,sha256=EmKVvx_-FJvzJngG4ielIC7FhMCpI1Waaflg_lF44tk,163
225
230
  nabu/reconstruction/cone.py,sha256=tSjaMDHeFV-h_IFbxUqSbhqlWmvlBcJQ8u89Y9Q9gg8,20559
226
- nabu/reconstruction/fbp.py,sha256=Tiz-CkYnDZ6YL6YB-e-BfwPdQEbw1X4GhGPX8gUs7Ng,5520
227
- nabu/reconstruction/fbp_base.py,sha256=NaHGF33TERTB-mCeMJPYLEn_FkZCKCUioSYkNXaA-Xg,17553
228
- nabu/reconstruction/fbp_opencl.py,sha256=coEGLq65PCuvWnhAbIyLPHACkWjMB0XOceMp9ZIDWtc,3274
231
+ nabu/reconstruction/fbp.py,sha256=ptHcQsZTxgMFa9PhFJeTzDekibWR-P1BUj2SvRrk770,5684
232
+ nabu/reconstruction/fbp_base.py,sha256=usd49ctQMI5w6uU5xn8qBsN7gI95iU9a3jRZgSPmOJk,18653
233
+ nabu/reconstruction/fbp_opencl.py,sha256=U-XP7v1m1lJ1ulvlF8tclJfEOWmZLCT1hevIw4gsNec,3497
229
234
  nabu/reconstruction/filtering.py,sha256=monJnA_kk9k_Gy7bMAos9I-XgU8czWhf9vBth6ikcMM,10566
230
235
  nabu/reconstruction/filtering_cuda.py,sha256=_S-BZMhtnNt8ugePSmf-LF7JvMPCOyGPUMSseymgwZw,4019
231
- nabu/reconstruction/filtering_opencl.py,sha256=s65EWrjfUFdScicmNAGyRv8-8OQgapy_HvwMm-J7Lh4,3705
236
+ nabu/reconstruction/filtering_opencl.py,sha256=v-sUzbnRp6M1B221F-iSh-crBCGknjHYYsjFs05VhDY,3788
232
237
  nabu/reconstruction/hbp.py,sha256=Qll7i20LWxUo1-SHRxemkYAolBTP8HScwt1OvWmD2r0,18642
233
- nabu/reconstruction/mlem.py,sha256=CD9RppEzHgWRTEwzkY1hQXsfP9xXn1n8p3Lk8H1ya5Y,3629
238
+ nabu/reconstruction/mlem.py,sha256=ToQjy81vFvRwNKc8YA8jWAa4Ms6bQSQmRBx8QcBZ_oc,5778
234
239
  nabu/reconstruction/projection.py,sha256=SNocaOY9HuNiHs-VxkW9IS707JPJnd3sDjAbf7aIw2E,9081
235
240
  nabu/reconstruction/reconstructor.py,sha256=16xxHcK4iie-uh-trf6x_IuvgxJKBvQRTE5B8tnc4F8,7358
236
241
  nabu/reconstruction/reconstructor_cuda.py,sha256=m_3GzG44PRyiSEfTvYjgr5atLwl26hMfZOMyqTWxp0g,1644
@@ -243,19 +248,19 @@ nabu/reconstruction/tests/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-
243
248
  nabu/reconstruction/tests/test_cone.py,sha256=yRx0k1Nv1bTP2IyiwygtIoafQ6v18-qf9J1Rkg_OxSI,22732
244
249
  nabu/reconstruction/tests/test_deringer.py,sha256=3xT7YltisnXa-NUd7aoMe88wOfTiTj-uxC6JFxGXtUA,8352
245
250
  nabu/reconstruction/tests/test_fbp.py,sha256=SLdNjpWp3c7XVRUlR9nKyUvvzEcu9CkFE7WaP6nFxQc,16368
246
- nabu/reconstruction/tests/test_filtering.py,sha256=RXQAEvNIjwiQ-zU6xrkV4h-MkDg3uVBAUyz0tOSIfIw,5581
251
+ nabu/reconstruction/tests/test_filtering.py,sha256=J5U6PDykX2yThQn4fVrln4mNxC2TgwW9xRY7wE9X-dQ,5977
247
252
  nabu/reconstruction/tests/test_halftomo.py,sha256=zCAOFGRaLicr2PLw3628Kdcuj_bhGZz8QZvWBL-c7As,6526
248
- nabu/reconstruction/tests/test_mlem.py,sha256=JWby9nqWqockgUh2RQoqrC8BtfB4v5SCNayk4bBJ4TM,3791
253
+ nabu/reconstruction/tests/test_mlem.py,sha256=QlrBZIJJetRxDRWoMDZ3wNepanAwGd6KgJd3hhoQ7dU,4983
249
254
  nabu/reconstruction/tests/test_projector.py,sha256=QcHLnNWQ6HC9pJo9CdalaaeEDQ_vFpNMn5yXEpfBDXI,6259
250
255
  nabu/reconstruction/tests/test_reconstructor.py,sha256=xzfEM0j48ScQoGqWVcAK74HG97tcF7FsVVLzvX_TgHE,3379
251
256
  nabu/reconstruction/tests/test_sino_normalization.py,sha256=qNnpVUp3UcFGyLlSP0rCzE5hxdV6YENL9AF6mo72WcQ,3669
252
257
  nabu/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
253
258
  nabu/resources/cor.py,sha256=-mcrTbj3G7o4PP5E_gIRo2j6_-ADmMkkOc_0CyQv84c,170
254
- nabu/resources/dataset_analyzer.py,sha256=H32DEnusLVVuITGUjZW-CLvBaV6H22W1UtHZjybaRsI,19562
259
+ nabu/resources/dataset_analyzer.py,sha256=PfYov5UrEkfE3oMLZaVJEpEWQuR5gtxctkA1hPhcpK4,23980
255
260
  nabu/resources/gpu.py,sha256=oQA8PpPdyuIzpxq1PwVd9gJdyCiLIry2godUV1AbPW0,5769
256
261
  nabu/resources/logger.py,sha256=xV9UoLZBw3wXAWYfOgqrnOtzJc9aC1VNO4LM2cHxWJg,3738
257
- nabu/resources/nxflatfield.py,sha256=4B8MYKPEtREOe4ZMTpDVlIxldXPutdI8DgO0P8AeRo0,9317
258
- nabu/resources/utils.py,sha256=LtOWEYneEzz0mDIpUWM23v9ILJ8FM0YFaVG3fFVc7OU,5725
262
+ nabu/resources/nxflatfield.py,sha256=uPivKr4T5AYDGeyxoLns7UL6KYZt_2niNYuSsXrUMm8,12368
263
+ nabu/resources/utils.py,sha256=79iO6I0sXx8VGXZOC9eXquNvasF37A9Zr6r2BYSwJWU,5974
259
264
  nabu/resources/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
260
265
  nabu/resources/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
261
266
  nabu/resources/templates/bm05_pag.conf,sha256=3-Zny2_QlQuZKge53N1vFLZ8yzq-y2cmpAAkByUdHX8,394
@@ -265,15 +270,15 @@ nabu/resources/templates/id16a_fluo.conf,sha256=Nz1etzO2fSwksi7CThWJ5T1kZEdyBe8r
265
270
  nabu/resources/templates/id19_pag.conf,sha256=u4fFPEBprzOW9_5_ChkIgowQcYpLhjmA8Gwm5XgC4Jc,384
266
271
  nabu/resources/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
267
272
  nabu/resources/tests/test_extract.py,sha256=6ufLTc4Wgf9-FLsscpG2TbUDEn767iLVdyOrwRQyI9A,443
268
- nabu/resources/tests/test_nxflatfield.py,sha256=cbUWBOhE9sfdpKmxPTfu3_waPHFC2dZjy6z9gWpfzBA,4193
273
+ nabu/resources/tests/test_nxflatfield.py,sha256=XCiFULzNyApdhr89a3a3BseJMPUN4JnzxQ8VdBaA8ac,4225
269
274
  nabu/resources/tests/test_units.py,sha256=F2jFTck-1UwYET1MwTtX6ntzYUosfwOJkugSencGgz8,2155
270
275
  nabu/stitching/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
271
- nabu/stitching/alignment.py,sha256=UbyhDAYlISeb6pD0NCzdPo1h5rQwjROVP29jsXoYTsg,8954
272
- nabu/stitching/config.py,sha256=_4_cGIBwSDk7BFTKtuZy0x0PuCkK5LD5EJbTVlxxAKM,52966
273
- nabu/stitching/definitions.py,sha256=JbmYwXKxOTYCr2LDXbHO-uNE2OLOBm4ir9AQ7e-Q3lY,158
276
+ nabu/stitching/alignment.py,sha256=J1wNjULS1PTB_37MSvw9-EX1yb5MuNElsqcdk3g9KWU,8923
277
+ nabu/stitching/config.py,sha256=ZYMvbxsJN-lUvJuJiWcVpdF4Pp5Pua3ifCLHP3d87J8,52991
278
+ nabu/stitching/definitions.py,sha256=PhSvXZwe-nPrqFebCs3M-OIKoLvD4oq3XRRnOEBvk7Y,137
274
279
  nabu/stitching/frame_composition.py,sha256=bOuOn3SoyAgtEv_DZon-JbEfh5hW3RySTjK6ERxVZ2w,6626
275
- nabu/stitching/overlap.py,sha256=bW_QjjEOihFqVFVmGt3_nmEx4wYKGjpzSDFL9Q9_o6E,17214
276
- nabu/stitching/sample_normalization.py,sha256=_radin_wxnuD3MMmZNAOKA__aPa2z3ss4TFbZeocpXc,2069
280
+ nabu/stitching/overlap.py,sha256=pGDZqh0TAp3z89yVktO5x-yi0tG-qQugLmRuTO9AFIM,17168
281
+ nabu/stitching/sample_normalization.py,sha256=d6xjDp4-_MA4S2ytPXX3ROV2CBKcY4QAhE52t6HjC50,2025
277
282
  nabu/stitching/single_axis_stitching.py,sha256=bAJlZhUOqW93VkX4nWFNrnQN4G92PHCn-87RpQ34oto,1214
278
283
  nabu/stitching/slurm_utils.py,sha256=kTtqZOrkSLjY_AzL5Fd2n11uqmWPCYHJvN1qbbaGy-E,8993
279
284
  nabu/stitching/stitcher_2D.py,sha256=g9MQttUrJTYNt4SreGjj3PkccyVCQ4MwyUUUbjsweC4,12667
@@ -281,8 +286,8 @@ nabu/stitching/y_stitching.py,sha256=Urt2lBXokxXxX5HFHEiLBqC69yy5b_KyuKFoU8smah4
281
286
  nabu/stitching/z_stitching.py,sha256=gNwj7qWvDFQaGroLVoQnKBPlbvr_CReUQEqxW15m2Ag,1835
282
287
  nabu/stitching/stitcher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
283
288
  nabu/stitching/stitcher/base.py,sha256=Nyc5L-nvSLWOsrVVq_EP8V9j5AKnFVgxTijStyiF5-I,4326
284
- nabu/stitching/stitcher/post_processing.py,sha256=ztVpSSMaznV61OT9fDkRa2A6Xnpd_IkMvCX4sAp0r2M,26864
285
- nabu/stitching/stitcher/pre_processing.py,sha256=bdnGy_RHXugglLAn0ixKRxenPdEm5jbxJEDGQIoEkJg,51482
289
+ nabu/stitching/stitcher/post_processing.py,sha256=jgNL-3nPevNGHtDKgYMGeJdUxR0ma-qCfzCcYJW8aEI,26868
290
+ nabu/stitching/stitcher/pre_processing.py,sha256=S5bvORC0IsXf82WW1-9YMpk3JzFvp-G9c1mM5_89UKU,51829
286
291
  nabu/stitching/stitcher/single_axis.py,sha256=hocbPKtOmcx9z_Eavyzxj9W-yMgeLlaze6Dsv8NdWVc,20026
287
292
  nabu/stitching/stitcher/stitcher.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
288
293
  nabu/stitching/stitcher/y_stitcher.py,sha256=KXwkyw6cCFcuSBCq5OyAait2Ob_5WRrtawrAlAhk60k,317
@@ -292,18 +297,18 @@ nabu/stitching/stitcher/dumper/base.py,sha256=kenknxtqyg_SQMDsLzd0yBYPlpepCaqyB5
292
297
  nabu/stitching/stitcher/dumper/postprocessing.py,sha256=-50ZIzsBqp1344pcp_eGKaWeCvIXLevPNtvDtDiGP_E,18274
293
298
  nabu/stitching/stitcher/dumper/preprocessing.py,sha256=7qOx27p92Tbbiah6gYEjkxfax7L8ictdrvzqfDm3vHo,2219
294
299
  nabu/stitching/tests/test_alignment.py,sha256=MACak1ILOr8nRKeT0mWfMd-ZvhCl3SWjjcp6GjRbITc,2735
295
- nabu/stitching/tests/test_config.py,sha256=joelu7WubWbT3z5NxhiGdhaMOhI8z7-XkTmN6U9Cc-o,7302
300
+ nabu/stitching/tests/test_config.py,sha256=oFlLm3VCC2DEE948IDU-PE9FklCjZU86K-sd8wvSDvA,7311
296
301
  nabu/stitching/tests/test_frame_composition.py,sha256=fQLT426u-uF5TTURKN48uHKgeYiz3ogTjwo7o4YFE30,4839
297
302
  nabu/stitching/tests/test_overlap.py,sha256=B_iT0pe9b9EJ77V59ilk-_Run6n5a1V9mTDuiPzqieg,7820
298
303
  nabu/stitching/tests/test_sample_normalization.py,sha256=a-F8geN8qrteDeQK37oeSYNdt49siyWFs3fZgPTRn4g,1328
299
304
  nabu/stitching/tests/test_slurm_utils.py,sha256=QTbtx5SRAK1JkbyI-GNSI5xeqVHI8KptD3STpOb09Pc,4951
300
305
  nabu/stitching/tests/test_utils.py,sha256=hIahPlogtnZNr_YkbN_Rcv-y6qG47IiRSSss51-cWK4,647
301
- nabu/stitching/tests/test_y_preprocessing_stitching.py,sha256=Hi7UtxzELBsjeLsvI3Qjq__VXVDsHAuKLJyYalxXtGI,5021
302
- nabu/stitching/tests/test_z_postprocessing_stitching.py,sha256=vAQB8nGa2-GdqGNj7PM63aA_NyXJIefn9JqVByV6jro,26930
303
- nabu/stitching/tests/test_z_preprocessing_stitching.py,sha256=UDka2f6_6ex2Zu4T5hJhjbt5jB19r16pnnfPLL6KiVM,16127
306
+ nabu/stitching/tests/test_y_preprocessing_stitching.py,sha256=9AGMM3glAVsZ-M1v-_DD1u_QWUb5Id5QldIOYnw-1vY,5179
307
+ nabu/stitching/tests/test_z_postprocessing_stitching.py,sha256=vzWPGr2X-kN6WuRMHFMcEnSMjA9xv_TTq3pogpT8uEY,26908
308
+ nabu/stitching/tests/test_z_preprocessing_stitching.py,sha256=aIaYaROpoMflx_wW-cOoLUqmngMEnRCXlQUuoGldcs4,16445
304
309
  nabu/stitching/utils/__init__.py,sha256=alIDGBnxWH4JvP-UW-7N99seBBi0r1GV1h8f1ERFBec,21
305
310
  nabu/stitching/utils/post_processing.py,sha256=aow36shbYhFgAnbCoq6mtXVpjBNCKm7VSLIvv3EYVdA,11303
306
- nabu/stitching/utils/utils.py,sha256=hnS0_TFl5SjsOv03bwSAPUQXbL1t9dsUTR259v9IDZ8,24558
311
+ nabu/stitching/utils/utils.py,sha256=hX9WC-ZpmV31svQnKPO8Ek-uW-RZ3Ot4szfvuYpZjPg,24586
307
312
  nabu/stitching/utils/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
308
313
  nabu/stitching/utils/tests/test_post-processing.py,sha256=X79gYJ2dwF_bjFWVQLu9odHNJaMmljfuI1-ROIp7jdE,766
309
314
  nabu/thirdparty/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -312,9 +317,9 @@ nabu/thirdparty/pore3d_deringer_munch.py,sha256=o4bisnFc-wMjuohWBT8wgWmfNehPQGtC
312
317
  nabu/thirdparty/tomocupy_remove_stripe.py,sha256=Khe4zFf0kRzu65Yxnvq58gt1ljOztqJGdMDhVAiM7lM,24363
313
318
  nabu/thirdparty/tomopy_phase.py,sha256=hK4oPpkogLOhv23XzzEXQY2u3r8fJvASY_bINVs6ERE,8634
314
319
  nabu/thirdparty/tomwer_load_flats_darks.py,sha256=ZNoVAinUb_wGYbfvs_4BVnWsjsQmNxSvCh1bWhR2WWg,5611
315
- nabu-2025.1.0.dev13.dist-info/licenses/LICENSE,sha256=1eAIPSnEsnSFNUODnLtNtQTs76exG3ZxJ1DJR6zoUBA,1066
316
- nabu-2025.1.0.dev13.dist-info/METADATA,sha256=lwL6b68kmLzJUclKbi3MMeCZ1ltGOyS1NviEUbSuUiI,4327
317
- nabu-2025.1.0.dev13.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
318
- nabu-2025.1.0.dev13.dist-info/entry_points.txt,sha256=cJKGkBeykVL7uK3E4R0RLRqMXifTL2qdO573syPAvJc,1288
319
- nabu-2025.1.0.dev13.dist-info/top_level.txt,sha256=fsm_N3eXLRZk2QXF9OSKPNDPFXOz8FAQjHh5avT3dok,9
320
- nabu-2025.1.0.dev13.dist-info/RECORD,,
320
+ nabu-2025.1.0rc1.dist-info/licenses/LICENSE,sha256=1eAIPSnEsnSFNUODnLtNtQTs76exG3ZxJ1DJR6zoUBA,1066
321
+ nabu-2025.1.0rc1.dist-info/METADATA,sha256=cm6lBb8UyHChthz3HLCNB8AojOzCX9ciK54SWWd2fGc,4276
322
+ nabu-2025.1.0rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
323
+ nabu-2025.1.0rc1.dist-info/entry_points.txt,sha256=YxzCY5CNQ1XHrIGbRKg-BgC1Jy7QaCITdITpyhhxpZU,1338
324
+ nabu-2025.1.0rc1.dist-info/top_level.txt,sha256=fsm_N3eXLRZk2QXF9OSKPNDPFXOz8FAQjHh5avT3dok,9
325
+ nabu-2025.1.0rc1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -8,12 +8,13 @@ nabu-diag2pix = nabu.app.diag_to_pix:main
8
8
  nabu-diag2rot = nabu.app.diag_to_rot:main
9
9
  nabu-display-timings = nabu.app.parse_reconstruction_log:parse_reclog_cli
10
10
  nabu-double-flatfield = nabu.app.double_flatfield:dff_cli
11
+ nabu-estimate-motion = nabu.app.estimate_motion:estimate_motion
11
12
  nabu-generate-info = nabu.app.generate_header:generate_merged_info_file
12
13
  nabu-helical = nabu.app.reconstruct_helical:main_helical
13
- nabu-helical-correct-rot = nabu.app.correct_rot:main
14
14
  nabu-helical-prepare-weights-double = nabu.app.prepare_weights_double:main
15
15
  nabu-histogram = nabu.app.histogram:histogram_cli
16
16
  nabu-multicor = nabu.app.multicor:main
17
+ nabu-pcaflats = nabu.app.pcaflats:main
17
18
  nabu-poly2map = nabu.app.create_distortion_map_from_poly:create_distortion_maps_entry_point
18
19
  nabu-reduce-dark-flat = nabu.app.reduce_dark_flat:main
19
20
  nabu-rotate = nabu.app.rotate:rotate_cli
nabu/app/correct_rot.py DELETED
@@ -1,62 +0,0 @@
1
- from .. import version
2
-
3
- import sys
4
- import numpy as np
5
-
6
-
7
- from .utils import parse_params_values
8
- from .cli_configs import CorrectRotConfig
9
- from silx.io.dictdump import h5todict
10
-
11
- from nxtomo.application.nxtomo import NXtomo
12
-
13
- from nabu.utils import DictToObj
14
-
15
-
16
- def main(user_args=None):
17
- """Applies the correction found by diag_to_rot to a nexus file"""
18
-
19
- if user_args is None:
20
- user_args = sys.argv[1:]
21
-
22
- args = DictToObj(
23
- parse_params_values(
24
- CorrectRotConfig,
25
- parser_description=main.__doc__,
26
- program_version="nabu " + version,
27
- user_args=user_args,
28
- )
29
- )
30
-
31
- # now we read the results of the diag_to_rot utility, they are in the cor_file parameter
32
- # of the cli
33
- cor_data = DictToObj(h5todict(args.cor_file, "/"))
34
-
35
- my_cor = cor_data.cor[0]
36
- # we will take my_cor as cor at the first angular position
37
- # and then we correct the x_translation at the other angles
38
-
39
- # We now load the nexus that we wish to correct
40
- nx_tomo = NXtomo().load(args.nexus_source, args.entry_name)
41
-
42
- # The cor_file that we use for correction
43
- # is providing us with the z_m that gives for each
44
- # cor position found in the cor array the corresponding value of
45
- # the translation along z (in meters)
46
- z_translation = nx_tomo.sample.z_translation.value
47
- z_translation = z_translation - z_translation[0]
48
-
49
- # now we interpolate to find the correction
50
- # for each position of the encoders
51
- cors = np.interp(z_translation, cor_data.z_m, cor_data.cor)
52
-
53
- # this is the correction
54
- x_correction = nx_tomo.instrument.detector.x_pixel_size.value * (cors - my_cor) # we are in meters here
55
-
56
- # and we apply it to the nexus that we have loaded
57
- nx_tomo.sample.x_translation = nx_tomo.sample.x_translation.value + x_correction
58
-
59
- # finally we write it to the corrected nexus file
60
- nx_tomo.save(file_path=args.nexus_target, data_path=args.entry_name, overwrite=True)
61
-
62
- return 0