nabu 2024.2.7__py3-none-any.whl → 2024.2.9__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.
- nabu/__init__.py +1 -1
- nabu/io/reader.py +3 -2
- nabu/pipeline/estimators.py +1 -1
- nabu/pipeline/fullfield/chunked.py +3 -2
- nabu/pipeline/fullfield/nabu_config.py +1 -1
- nabu/resources/tests/test_extract.py +9 -0
- {nabu-2024.2.7.dist-info → nabu-2024.2.9.dist-info}/METADATA +1 -1
- {nabu-2024.2.7.dist-info → nabu-2024.2.9.dist-info}/RECORD +12 -11
- {nabu-2024.2.7.dist-info → nabu-2024.2.9.dist-info}/LICENSE +0 -0
- {nabu-2024.2.7.dist-info → nabu-2024.2.9.dist-info}/WHEEL +0 -0
- {nabu-2024.2.7.dist-info → nabu-2024.2.9.dist-info}/entry_points.txt +0 -0
- {nabu-2024.2.7.dist-info → nabu-2024.2.9.dist-info}/top_level.txt +0 -0
nabu/__init__.py
CHANGED
nabu/io/reader.py
CHANGED
@@ -688,8 +688,9 @@ class NXTomoReader(VolReaderBase):
|
|
688
688
|
user_selection_dim0 = self.sub_region[0]
|
689
689
|
indices = np.arange(self.data_shape_total[0])
|
690
690
|
data_selection_indices_axis0 = np.hstack(
|
691
|
-
[indices[image_key_slice]
|
692
|
-
)
|
691
|
+
[indices[image_key_slice] for image_key_slice in self._image_key_slices]
|
692
|
+
)[user_selection_dim0]
|
693
|
+
|
693
694
|
self._source_selection = (data_selection_indices_axis0,) + self.sub_region[1:]
|
694
695
|
|
695
696
|
def _get_temporary_buffer(self, convert_after_reading):
|
nabu/pipeline/estimators.py
CHANGED
@@ -150,7 +150,7 @@ class CORFinderBase:
|
|
150
150
|
lookup_side = default_lookup_side
|
151
151
|
else:
|
152
152
|
lookup_side = initial_cor_pos
|
153
|
-
self._lookup_side =
|
153
|
+
self._lookup_side = lookup_side
|
154
154
|
|
155
155
|
def _init_cor_finder(self):
|
156
156
|
cor_finder_cls = self.search_methods[self.method]["class"]
|
@@ -4,7 +4,7 @@ from math import ceil
|
|
4
4
|
import numpy as np
|
5
5
|
from silx.io.url import DataUrl
|
6
6
|
|
7
|
-
from ...utils import get_num_threads, remove_items_from_list
|
7
|
+
from ...utils import get_num_threads, remove_items_from_list, get_subregion as get_subregion_xy
|
8
8
|
from ...resources.logger import LoggerOrPrint
|
9
9
|
from ...resources.utils import extract_parameters
|
10
10
|
from ...misc.binning import binning as image_binning
|
@@ -457,7 +457,8 @@ class ChunkedPipeline:
|
|
457
457
|
self.double_flatfield = self.DoubleFlatFieldClass(
|
458
458
|
self.radios_shape,
|
459
459
|
result_url=result_url,
|
460
|
-
sub_region
|
460
|
+
# DoubleFlatField expects sub_region as (start_x, end_x, start_y, end_y)
|
461
|
+
sub_region=get_subregion_xy(self.sub_region[1:][::-1]),
|
461
462
|
input_is_mlog=False,
|
462
463
|
output_is_mlog=False,
|
463
464
|
average_is_on_log=avg_is_on_log,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nabu
|
3
|
-
Version: 2024.2.
|
3
|
+
Version: 2024.2.9
|
4
4
|
Summary: Nabu - Tomography software
|
5
5
|
Author-email: Pierre Paleo <pierre.paleo@esrf.fr>, Henri Payno <henri.payno@esrf.fr>, Alessandro Mirone <mirone@esrf.fr>, Jérôme Lesaint <jerome.lesaint@esrf.fr>
|
6
6
|
Maintainer-email: Pierre Paleo <pierre.paleo@esrf.fr>
|
@@ -1,7 +1,7 @@
|
|
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=
|
4
|
+
nabu/__init__.py,sha256=zC_MI_KzALbmsIMyTOjFfDsgHH2yb1ywfTdyPnYdFYU,270
|
5
5
|
nabu/tests.py,sha256=cew9OY2uTyncHI_HM32W8CP6B1GTGKaOW65XtMEqs7o,1417
|
6
6
|
nabu/testutils.py,sha256=VkSL9tbY0XEH49Z5OjDFFhzkSxrCv4UIuvSVFgegSUY,7632
|
7
7
|
nabu/utils.py,sha256=V1B_sD54XGNKn5pORa2yNCATyswOzybey3sv8BuIYWY,26355
|
@@ -79,7 +79,7 @@ nabu/estimation/tests/test_translation.py,sha256=RkOnCYgk9DZGKlIka1snqTv4wbIz_nG
|
|
79
79
|
nabu/io/__init__.py,sha256=AbQgj4-fCCHOKynO_PyAR9ejnFSuWKgroxxhxWVpjyQ,120
|
80
80
|
nabu/io/cast_volume.py,sha256=gYsqHGdeiuTlOBCb9B7koRZ_bO0IQnN-XrzsSvR1s_I,16737
|
81
81
|
nabu/io/detector_distortion.py,sha256=Or4icugi0fGRKWIG0I9hCuR1UZA5Cel25ZGY7cR2j4I,11744
|
82
|
-
nabu/io/reader.py,sha256=
|
82
|
+
nabu/io/reader.py,sha256=McWg7w04zrI0mt2z-BBwUr7rryMWYjdg7aHqbNeZ45A,40518
|
83
83
|
nabu/io/reader_helical.py,sha256=_6vZBH-US_VT7oOGJUtYXqPwFws7xZKcmdOthpwvlIQ,4477
|
84
84
|
nabu/io/utils.py,sha256=pFRULSlmGzJnzBbeSNKRhnKbBPbV0XaeUsxnWmnMtR4,9223
|
85
85
|
nabu/io/writer.py,sha256=01S1nz6u3QxE-nGR6lcVuLEGYSZLNaKModvTaD4bLv8,15895
|
@@ -130,18 +130,18 @@ nabu/pipeline/config_validators.py,sha256=ocAKB26iRjm5qs1Ay4B_rgGcg8aZjAP34XpEZR
|
|
130
130
|
nabu/pipeline/datadump.py,sha256=lK36YlsVSeE4fdkD7cgVCl4RKn-Wa9KYgOw4DNtH8Ow,6982
|
131
131
|
nabu/pipeline/dataset_validator.py,sha256=etQw9NC_YGsdWCgjsn8aJ3WfvcRuJlLVZlWoqhvvo-8,9263
|
132
132
|
nabu/pipeline/detector_distortion_provider.py,sha256=ru1AxbcuO-FA8FYooPBWgp1lzdSDUtzFUC1A_sS8jME,920
|
133
|
-
nabu/pipeline/estimators.py,sha256=
|
133
|
+
nabu/pipeline/estimators.py,sha256=ME5o6Tzoi6_qFplLOS7LkN9DPouBAqpoIQAcK7SbWB0,40469
|
134
134
|
nabu/pipeline/params.py,sha256=EoovjCUTUXmj5HQ3qE0RhP7XD3cndaiT21TdvjTIhE8,3746
|
135
135
|
nabu/pipeline/processconfig.py,sha256=3xx2Lc8uEzPAqSMwUncr4RCiCtKn2c7wnXXbPSn8GNo,7719
|
136
136
|
nabu/pipeline/reader.py,sha256=wkxPHYOi_C8dHNc7kddB8AMtFuW7GjsP_tm6SJeHlEY,4792
|
137
137
|
nabu/pipeline/utils.py,sha256=0O1GLyYLQ8oA2ErI_T3BIfEVjP48dl-u_gl91eX7pjU,3543
|
138
138
|
nabu/pipeline/writer.py,sha256=MG_R1oU8Ff9NdKRHiBkLMz0CmvEXY47zBUE-DpjXElQ,8172
|
139
139
|
nabu/pipeline/fullfield/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
140
|
-
nabu/pipeline/fullfield/chunked.py,sha256=
|
140
|
+
nabu/pipeline/fullfield/chunked.py,sha256=UhNbaxfGgiTdeDdfSBPJhCd3Xo1bNR0EHfEHYf5SQxs,40939
|
141
141
|
nabu/pipeline/fullfield/chunked_cuda.py,sha256=Jdkk6ZIt3S6UZYbupHtSj2vrj3krWMcqRHHprfblDfk,5848
|
142
142
|
nabu/pipeline/fullfield/computations.py,sha256=AEp3qvwyY-l8-GzjH1E6kmcmU6OgDp6sB-mltq0Jnxg,9970
|
143
143
|
nabu/pipeline/fullfield/dataset_validator.py,sha256=Iy6oOnXnBldDcg0ifm_zzrzMQ6YdkR_hkHFySZgxbno,2943
|
144
|
-
nabu/pipeline/fullfield/nabu_config.py,sha256=
|
144
|
+
nabu/pipeline/fullfield/nabu_config.py,sha256=E67oAzRY2YlE6VWZPOS-0WDk-z_cu4UMLgHqPZSjUHY,31877
|
145
145
|
nabu/pipeline/fullfield/processconfig.py,sha256=2eE9W0KjsHq8aSCXlczsISpWM9SMjWL03fN1RqZWyxg,36815
|
146
146
|
nabu/pipeline/fullfield/reconstruction.py,sha256=LpIMyl8LLJoJLhayHXT3VyOwRpEL9tdjPhIegFUS388,37678
|
147
147
|
nabu/pipeline/helical/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -262,6 +262,7 @@ nabu/resources/templates/id16_holo.conf,sha256=sDd_rEJGZjOGVAsGub5sT2arfXDnc_sxy
|
|
262
262
|
nabu/resources/templates/id16a_fluo.conf,sha256=Nz1etzO2fSwksi7CThWJ5T1kZEdyBe8rMO7puNJ93Hc,542
|
263
263
|
nabu/resources/templates/id19_pag.conf,sha256=u4fFPEBprzOW9_5_ChkIgowQcYpLhjmA8Gwm5XgC4Jc,384
|
264
264
|
nabu/resources/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
265
|
+
nabu/resources/tests/test_extract.py,sha256=msYWFP96LjpEntq1ucTWgKZMhUvZcLpJ-AQB3oGOh2E,206
|
265
266
|
nabu/resources/tests/test_nxflatfield.py,sha256=XRGbYwqJv0NYAVQnAB224TwTZP_W2Bs3-yu0zQnDzEM,4179
|
266
267
|
nabu/resources/tests/test_units.py,sha256=F2jFTck-1UwYET1MwTtX6ntzYUosfwOJkugSencGgz8,2155
|
267
268
|
nabu/stitching/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -309,9 +310,9 @@ nabu/thirdparty/pore3d_deringer_munch.py,sha256=o4bisnFc-wMjuohWBT8wgWmfNehPQGtC
|
|
309
310
|
nabu/thirdparty/tomocupy_remove_stripe.py,sha256=Khe4zFf0kRzu65Yxnvq58gt1ljOztqJGdMDhVAiM7lM,24363
|
310
311
|
nabu/thirdparty/tomopy_phase.py,sha256=hK4oPpkogLOhv23XzzEXQY2u3r8fJvASY_bINVs6ERE,8634
|
311
312
|
nabu/thirdparty/tomwer_load_flats_darks.py,sha256=ZNoVAinUb_wGYbfvs_4BVnWsjsQmNxSvCh1bWhR2WWg,5611
|
312
|
-
nabu-2024.2.
|
313
|
-
nabu-2024.2.
|
314
|
-
nabu-2024.2.
|
315
|
-
nabu-2024.2.
|
316
|
-
nabu-2024.2.
|
317
|
-
nabu-2024.2.
|
313
|
+
nabu-2024.2.9.dist-info/LICENSE,sha256=1eAIPSnEsnSFNUODnLtNtQTs76exG3ZxJ1DJR6zoUBA,1066
|
314
|
+
nabu-2024.2.9.dist-info/METADATA,sha256=IbwpeUPJlDnVH70Y0shTvexUML3YTap0wCiOw4lhWY4,5514
|
315
|
+
nabu-2024.2.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
316
|
+
nabu-2024.2.9.dist-info/entry_points.txt,sha256=cJKGkBeykVL7uK3E4R0RLRqMXifTL2qdO573syPAvJc,1288
|
317
|
+
nabu-2024.2.9.dist-info/top_level.txt,sha256=fsm_N3eXLRZk2QXF9OSKPNDPFXOz8FAQjHh5avT3dok,9
|
318
|
+
nabu-2024.2.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|