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:
SamfireStrategy
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.
- clean()#
Purges the currently saved values (not the database).
- plot(fig=None)#
Plots the current database of histograms
- Parameters:
- fig
None
ofHistogramTilePlot
If given updates the plot.
- fig
- refresh(overwrite, given_pixels=None)#
Refreshes the database (i.e. constructs it again from scratch)
- remove()#
Removes this strategy from its SAMFire
- update(ind, isgood)#
Updates the database and marker with the given pixel results
- values(ind=None)#
Returns the saved most frequent values that should be used for prediction
- class hyperspy.api.samfire.global_strategies.HistogramStrategy(bins='fd')#
Bases:
GlobalStrategy
- clean()#
Purges the currently saved values (not the database).
- plot(fig=None)#
Plots the current database of histograms
- Parameters:
- fig
None
ofHistogramTilePlot
If given updates the plot.
- fig
- refresh(overwrite, given_pixels=None)#
Refreshes the database (i.e. constructs it again from scratch)
- remove()#
Removes this strategy from its SAMFire
- update(ind, isgood)#
Updates the database and marker with the given pixel results
- values(ind=None)#
Returns the saved most frequent values that should be used for prediction