Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
MNT #109 f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jun 27, 2019
1 parent dc0092d commit e07ab29
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions profile_bluesky/startup/29-axis_tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,15 @@ def _tune_base_(axis, md={}):
)

found = axis.tuner.peak_detected()
logger.info("axis: " + axis.name)
logger.info(f"axis: {axis.name}")
logger.info(f"starting position: {axis_start}")
logger.info(f"peak detected: {found}")
if found:
logger.info(" max: {axis.tuner.peaks.max}")
logger.info(" center: {axis.tuner.peaks.cen}")
logger.info(" centroid: {axis.tuner.peaks.com}")
logger.info(" fwhm: {axis.tuner.peaks.fwhm}")
logger.info("final position: {axis.position}")
logger.info(f" max: {axis.tuner.peaks.max}")
logger.info(f" center: {axis.tuner.peaks.cen}")
logger.info(f" centroid: {axis.tuner.peaks.com}")
logger.info(f" fwhm: {axis.tuner.peaks.fwhm}")
logger.info(f"final position: {axis.position}")


def tune_mr(md={}):
Expand Down

0 comments on commit e07ab29

Please sign in to comment.