pwspy.utility.fluorescence.updateFolderStructure

pwspy.utility.fluorescence.updateFolderStructure(rootDirectory, rotate, flipX, flipY)[source]

Used to translate old fluorescence images to the new file organization that is recognized by the code.

Parameters
  • rootDirectory (str) – The top level directory containing fluorescence images that were saved in the old FL_Cell{X} folder format

  • rotate (int) – The number of times that the images should be rotated clockwise to match up with the PWS images they go with

  • flipX (bool) – Should the images be mirrored over the X-axis after being rotated?

  • flipY (bool) – Should the images be mirrored over the Y-axis after being rotated?