pylabrobot.li_cor.odyssey.OdysseyClassic.get_preview#

async OdysseyClassic.get_preview(group: str, scan_name: str, contrast_700: int = 5, contrast_800: int = 5, channels: str = '700 800', background: str = 'black') bytes#

Fetch a JPEG preview rendered by the instrument.

Parameters:
  • group (str)

  • scan_name (str)

  • contrast_700 (int)

  • contrast_800 (int)

  • channels (str)

  • background (str)

Return type:

bytes