Check out the Hyperspy Workshop May 13-17, 2024 Online

LearningSegment#

class pyxem.signals.LearningSegment(factors, loadings)[source]#

Bases: object

Signal classes for nanocrystal segmentation results obtained from i) machine learning (LearningSegment) and ii) VDF images (VDFSegment).

Methods

LearningSegment.correlate_learning_segments([...])

Iterates through the factors and loadings and calculates the normalized cross-correlation between all factors and all loadings.

LearningSegment.get_ncc_matrix()

Get the normalised correlation coefficient (NCC) matrix containing the NCC between each pair of segments.

LearningSegment.separate_learning_segments([...])

Segmentation of loading maps by the watershed segmentation method implemented in scikit-image [1,2].