mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-11-11 16:53:57 +01:00
'.'
This commit is contained in:
1 parent
eb64770258
commit
332541c951
1 file changed
+1
-1
@@ -68,7 +68,7 @@ class PolarizedPtycho2DDataset(Ptycho2DDataset):
|
||||
|
||||
polarizer = []
|
||||
analyzer = []
|
||||
for k in t.tensor(translations).shape[0]:
|
||||
for k in range(t.tensor(translations).shape[0]):
|
||||
polarizer.append((k//3)%3)
|
||||
analyzer.append((k%3))
|
||||
self.polarizer = t.tensor(polarizer)
|
||||
|
||||
Reference in new issue
Block a user