PYME.DSView.modules.LMAnalysis module

class PYME.DSView.modules.LMAnalysis.AnalysisController(imageMdh=None, tq=None)

Bases: object

pushImages(image)
pushImagesCluster(image)
pushImagesDS(image)
pushImagesHDF(image)
pushImagesQueue(image)
class PYME.DSView.modules.LMAnalysis.AnalysisSettingsView(dsviewer, analysisController, lmanal=None)

Bases: object

DEFAULT_PARAMS = [<PYME.localization.MetaDataEdit.IntParam object>, <PYME.localization.MetaDataEdit.ParamGroup object>, <PYME.localization.MetaDataEdit.ParamGroup object>, <PYME.localization.MetaDataEdit.ParamGroup object>]
FINDING_PARAMS = [<PYME.localization.MetaDataEdit.FloatParam object>, <PYME.localization.MetaDataEdit.IntParam object>]
GenAnalysisPanel(_pnl)
GenPointFindingPanel(_pnl)
OnFitModuleChanged(event)
on_metadata_change(*args, **kwargs)
class PYME.DSView.modules.LMAnalysis.FitDefaults(dsviewer, analysisController)

Bases: object

OnCalibrateSplitter(event)
OnDNAPaint(event)
OnPRI3D(event)
OnSetMapsDefault(event)
OnSplitter2D(event)
OnSplitter3D(event)
OnStandard2D(event)
OnStandard3D(event)
class PYME.DSView.modules.LMAnalysis.LMAnalyser2(dsviewer)

Bases: Plugin

GenFitStatusPanel(_pnl)
GetStatusText()
OnGo(event=None)
OnImagesPushed(**kwargs)
OnTest(event)
OnTestFrame(event)
OnToggleBackground(event)
SetFitInfo()
analysis_refresh_bruteforce()

Refresh points display from cluster-based analysis. This works in the crudest possible way by simply repeatedly re-reading the results file. This should also work for old style analysis, with the same caveats (below) about IO.

WARNING: This has potential performance implications as there wll be significant IO overhead to doing it this way!!!

Files should be closed when spooling is complete.

TODO: - Allow incremental update (as is done in refresh_analysis above). Will probably need modification of PYMEDataServer.
  • Stop updates when spooling is complete (HOW? Check file size?)

  • What is the effect of the caches in clusterIO? Do we actually get the updated file?

  • Make sure this only gets called at a reasonable rate.

  • Add logic to call this (and make sure that self.results_filename is defined)

refresh_analysis()
testFrame(gui=True)
toggle_new_style(event=None)
property tq
update(dsviewer)
property use_cluster
PYME.DSView.modules.LMAnalysis.Plug(dsviewer)
PYME.DSView.modules.LMAnalysis.debugPrint(msg)