Core

The Core Module contains only the PySeus application class.

class pyseus.PySeus(gui=True)

The main application class acts as front controller.

clear()

Reset the application.

clear_tool()

Reset the active evaluation tool.

dataset = None

The current dataset object. See Formats.

flip(direction)

Flip the pixeldata of the current scan.

formats = None

List of all avaiable data formats. See Formats.

gui = None

Flag wheter to use the GUI or not.

load_data(data)

Try to load data. See also setup_dataset.

load_file(path)

Try to load the file at path. See also setup_dataset.

load_scan(sid=None)

Load a scan from the current dataset.

meta_window = None

Holds the meta window object.

mode = None

The display mode object. See Display.

modes = None

List of all avaiable display modes. See Display.

qt_app = None

The QApplication instance for interaction with the Qt framework.

recalculate()

Refresh the active evaluation tool.

refresh()

Refresh the displayed image.

rotate(axis)

Rotate the pixeldata of the current scan in 3D.

select_scan(sid, relative=False)

Select and load a scan from the current dataset. See also load_scan.

select_slice(sid, relative=False)

Select and display a slice from the current scan.

setup_dataset(arg, dataset=None)

Setup a new dataset: Load scan list, generate thumbnails and load default scan.

show()

Show the main window, even if initialized without the GUI.

show_metadata_window()

Show the metadata window. See Interface.

slice = None

Index of the current slice.

timer = None

Timer for cine view.

toggle_cine()

Toggle automatic loading of next scans.

tool = None

The current tool object. See Tools.

tools = None

List of all avaiable evaluation tools. See Tools.

window = None

The main window object. See Interface.