performance_qa_image

performance_qa_image(performance_file, key, im, indent=2, mode='a')[source]

Store image qa in a performance file

Parameters:
  • performance_file – The (JSON) file to which the environment is to be written

  • key – Key to use for the configuration info e.g. “restored”

  • im – Image for which qa is to be calculated and written

  • indent – Number of characters indent in performance file

  • mode – Writing mode: ‘w’ or ‘a’ for write and append