We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f04b527 + a7c1f8a commit ab0bd51Copy full SHA for ab0bd51
1 file changed
Python/tigre/algorithms/iterative_recon_alg.py
@@ -328,14 +328,10 @@ def art_data_minimizing(self):
328
329
for j in range(len(self.angleblocks)):
330
331
- if self.blocksize == 1:
332
- angle = np.array([self.angleblocks[j]], dtype=np.float32)
333
- angle_indices = np.array([self.angle_index[j]], dtype=np.int32)
+ angle = self.angleblocks[j]
+ angle_indices = self.angle_index[j]
334
335
- else:
336
- angle = self.angleblocks[j]
337
- angle_indices = self.angle_index[j]
338
- # slice parameters if needed
+ # slice parameters if needed
339
geo.offOrigin = self.geo.offOrigin[angle_indices]
340
geo.offDetector = self.geo.offDetector[angle_indices]
341
geo.rotDetector = self.geo.rotDetector[angle_indices]
0 commit comments