Skip to content

Commit 166f25a

Browse files
iverksIver Smage
andauthored
set phi in .pts input file as well (#122)
Co-authored-by: Iver Smage <iversmage@gmail.com>
1 parent ebd6d12 commit 166f25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instamatic/processing/ImgConversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ def write_pets_inp(self, path: str, tiff_path: str = 'tiff') -> None:
674674
print('', file=f)
675675
print(f'lambda {self.wavelength}', file=f)
676676
print(f'Aperpixel {self.pixelsize}', file=f)
677-
print('phi 0.0', file=f)
677+
print(f'phi {float(self.osc_angle)/2}', file=f)
678678
print(f'omega {omega}', file=f)
679679
print('bin 1', file=f)
680680
print('reflectionsize 20', file=f)

0 commit comments

Comments
 (0)