nxtomomill.utils.utils.change_image_key_control#

nxtomomill.utils.utils.change_image_key_control(file_path, entry, frames_indexes, image_key_control_value, logger=None)[source]#

Will modify image_key and image_key_control values for the requested frames.

Parameters
  • file_path (str) – path the nexus file

  • entry (str) – name of the entry to modify

  • frames_indexes (Union[slice, Iterable]) – index of the frame for which we want to modify the image key

  • image_key_control_value (Union[int, ImageKey]) –

  • logger (logging.Logger) – logger