photons.plugins.spatial_scan module
Perform a 3D spatial scan of a photodetector.
- class photons.plugins.spatial_scan.SpatialScan(parent, **kwargs)[source]
Bases:
BasePluginPerform a 3D spatial scan of a photodetector.
- Parameters:
parent (
MainWindow) – The main window.**kwargs – All keyword arguments are passed to super().
- closeEvent(event)[source]
Overrides
QtWidgets.QWidget.closeEvent().- Return type:
- keyReleaseEvent(event)[source]
Overrides
QtWidgets.QWidget.keyReleaseEvent().- Return type:
- class photons.plugins.spatial_scan.SpatialScanWorker(parent)[source]
Bases:
WorkerProcess an expensive or blocking operation in a thread that is separate from the main thread.
You can access to the attributes of the
Workeras though they are attributes of theThread.The
*argsand**kwargsparameters are passed to the constructor of theWorkerwhen thestart()method is called.Example
See
SleepWorkerfor an example of aWorker.