File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -654,7 +654,7 @@ def pinhole_distortion_kwargs(self):
654654 kwargs = self .tth_distortion_kwargs .copy ()
655655 if self .pinhole_distortion_type == 'RyggPinholeDistortion' :
656656 # Add our absorption length
657- kwargs ['absorption_length' ] = HexrdConfig ().absorption_length ()
657+ kwargs ['absorption_length' ] = HexrdConfig ().absorption_length () * 1e-3
658658 return kwargs
659659 # END PolarDistortionObject mixin reroutes
660660
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def correction_kwargs(self):
144144 }
145145 if self .rygg_absorption_length_visible :
146146 # Only return an absorption length if it is visible
147- output ['absorption_length' ] = HexrdConfig ().absorption_length ()
147+ output ['absorption_length' ] = HexrdConfig ().absorption_length () * 1e-3
148148 return output
149149
150150 raise Exception (f'Not implemented for: { dtype } ' )
You can’t perform that action at this time.
0 commit comments