This documentation is for the older Mesmerize legacy desktop application. Please see the home page or GitHub repo for information on the latest packages.


class mesmerize.plotting.SpaceMapWidget[source]

Bases: QMainWindow, BasePlotWidget


sub-dataframe of the current sample

update_plot(*args, **kwargs)[source]

Must be implemented in subclass

property transmission: Transmission

The input transmission

Return type:


get_plot_opts(drop: bool = False) dict[source]

Must be implemented in subclass

save_plot_dialog(path, *args)

Plot save dialog


Save the plot as a Transmission in an HDF5 file. Plot parameters are stored as a JSON string within the HDF5 file. See Transmission.to_hdf5


path – Path to save the file to. For easy identification use “.ptrn” extension.

open_plot_dialog(filepath, dirpath, *args, **kwargs)

Open plot dialog

open_plot(ptrn_path: str, proj_path: str) Optional[Tuple[str, str]]

Open a plot saved by the save_plot() method

  • ptrn_path – Path to the HDF5 Transmission file. By convention file extension is “.ptrn”

  • proj_path – Project path of the associated plot data.

set_plot_opts(*args, **kwds)

Must be implemented in subclass