Skip to content

Commit

Permalink
Fixup! CBP Cal: change levels of logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
elanaku committed Nov 16, 2024
1 parent beb7944 commit f10b3d1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -707,13 +707,15 @@ async def take_calibration_sequence(self):

for i, exposure in exposure_table.iterrows():
self.log.debug(f"exposure is {exposure}")
self.log.debug(f"Performing calibration with {exposure.wavelength=}.")
self.log.debug(f"Changing wavelength to {exposure.wavelength=}.")
await self.change_laser_wavelength(wavelength=exposure.wavelength)
await self.tunablelaser.cmd_setBurstMode.set_start(
count=int(exposure.npulses)
)

self.log.debug("Taking data sequence.")
self.log.info(
f"Taking data sequence with wavelength {exposure.wavelength=} nm."
)
await self._take_data(
electrometer_exposure_time=exposure.exposure_time,
delay_before=exposure.delay_before,
Expand Down

0 comments on commit f10b3d1

Please sign in to comment.