hyperspy.api.samfire.global_strategies#
A SAMFire strategy that operates in "parameter space" - i.e the pixel positions are not important, and only parameter value distributions are segmented to be used as starting point estimators. |
|
|
- class hyperspy.api.samfire.global_strategies.GlobalStrategy(name)#
Bases:
SamfireStrategyA SAMFire strategy that operates in “parameter space” - i.e the pixel positions are not important, and only parameter value distributions are segmented to be used as starting point estimators.
- clean()#
Purge the currently saved values (not the database).
- plot(fig=None)#
Plot the current database of histograms.
- Parameters:
- fig
NoneofHistogramTilePlot If given updates the plot.
- fig
- refresh(overwrite, given_pixels=None)#
Refresh the database (i.e. constructs it again from scratch).
- remove()#
Remove this strategy from its SAMFire.
- update(ind, isgood)#
Update the database and marker with the given pixel results.
- values(ind=None)#
Return the saved most frequent values that should be used for prediction.
- class hyperspy.api.samfire.global_strategies.HistogramStrategy(bins='fd')#
Bases:
GlobalStrategy- clean()#
Purge the currently saved values (not the database).
- plot(fig=None)#
Plot the current database of histograms.
- Parameters:
- fig
NoneofHistogramTilePlot If given updates the plot.
- fig
- refresh(overwrite, given_pixels=None)#
Refresh the database (i.e. constructs it again from scratch).
- remove()#
Remove this strategy from its SAMFire.
- update(ind, isgood)#
Update the database and marker with the given pixel results.
- values(ind=None)#
Return the saved most frequent values that should be used for prediction.