napari_locan.data_model.smlm_data.SmlmData#

class napari_locan.data_model.smlm_data.SmlmData(locdatas=None, locdata_names=None)[source]#

Bases: PyQt5.QtCore.QObject

Container for one or more LocData objects.

Variables
  • index_changed_signal (PyQt5.QtCore.pyqtSignal) – A Qt signal for index

  • locdata_names_changed_signal (PyQt5.QtCore.pyqtSignal) – A Qt signal for locdata_names

  • locdatas – Localization datasets

  • locdata_names – Localization string identifier

  • index – Current selection of locdatas

  • locdata – The selected LocData object

  • locdata_name – The selected LocData identifier

Methods

__init__([locdatas, locdata_names])

append_item(locdata[, locdata_name, set_index])

rtype

None

blockSignals(self, b)

childEvent(self, a0)

children(self)

connectNotify(self, signal)

customEvent(self, a0)

deleteLater(self)

delete_all()

rtype

None

delete_item()

rtype

None

disconnect(-> bool)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

event(self, a0)

eventFilter(self, a0, a1)

findChild(-> QObjectT)

findChildren(...)

inherits(self, classname)

installEventFilter(self, a0)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

objectName(self)

parent(self)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers(self, signal)

removeEventFilter(self, a0)

sender(self)

senderSignalIndex(self)

setObjectName(self, name)

setParent(self, a0)

setProperty(self, name, value)

set_index_slot(value)

QT slot for property self.index.

signalsBlocked(self)

startTimer(self, interval[, timerType])

thread(self)

timerEvent(self, a0)

tr(self, sourceText[, disambiguation, n])

Attributes

destroyed

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

index

rtype

int

index_changed_signal

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

locdata

rtype

Optional[LocData]

locdata_name

rtype

str

locdata_names

rtype

list[str]

locdata_names_changed_signal

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

locdatas

rtype

list[LocData]

objectNameChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

staticMetaObject

append_item(locdata, locdata_name=None, set_index=True)[source]#
Return type

None

delete_all()[source]#
Return type

None

delete_item()[source]#
Return type

None

property index: int#
Return type

int

index_changed_signal: PyQt5.QtCore.pyqtSignal#

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type

pyqtSignal(*types, name

Type

str = …, revision

property locdata: locan.data.locdata.LocData | None#
Return type

Optional[LocData]

property locdata_name: str#
Return type

str

property locdata_names: list[str]#
Return type

list[str]

locdata_names_changed_signal: PyQt5.QtCore.pyqtSignal#

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type

pyqtSignal(*types, name

Type

str = …, revision

property locdatas: list[locan.data.locdata.LocData]#
Return type

list[LocData]

set_index_slot(value)[source]#

QT slot for property self.index.

Return type

None