save_domain_map

seas.domains.save_domain_map(domain_ROIs: numpy.ndarray, basepath: str, blur_level: int, n_rotations: int = 0)[source]

Saves domain maps to pngs for visualization. Two files are saved to basepath_xb.png and basepath_xb_edges.png. One is the visualization of the domain indices, saved in black and white, the other is just the edge visualization.

Parameters
  • domain_ROIs

  • basepath – The path to save at, including everything but the file extension.

  • blur_level – The Gaussian blur kernel size, only used for generating the image name

  • n_rotations – The number of CCW rotations to implement before saving images

Returns

Nothing.