diff --git a/src/tike/ptycho/ptycho.py b/src/tike/ptycho/ptycho.py index 28499e3c..bffc5b2a 100644 --- a/src/tike/ptycho/ptycho.py +++ b/src/tike/ptycho/ptycho.py @@ -239,6 +239,12 @@ def reconstruct( " Probably your estimate of photon energy and/or sample to detector " "distance is off by that amount." ) + t = context.parameters.position_options.transform.asarray() + logger.info(f"""Affine transform parameters: + +{t[0,0]: .3e}, {t[0,1]: .3e} +{t[1,0]: .3e}, {t[1,1]: .3e} +""") return context.parameters @@ -947,6 +953,12 @@ def reconstruct_multigrid( " Probably your estimate of photon energy and/or sample to detector " "distance is off by that amount." ) + t = context.parameters.position_options.transform.asarray() + logger.info(f"""Affine transform parameters: + +{t[0,0]: .3e}, {t[0,1]: .3e} +{t[1,0]: .3e}, {t[1,1]: .3e} +""") return context.parameters # Upsample result to next grid