twistpy.polarization.TimeDomainAnalysis6C.classify#

TimeDomainAnalysis6C.classify(svm: SupportVectorMachine, eigenvector_to_classify: int = 0, compute_dop: bool = True) None[source]#

Classify wave types using a support vector machine

Parameters
svmSupportVectorMachine

Trained support vector machine used for wave type classification

eigenvector_to_classifyint, optional, default=0

Integer value identifying the eigenvector that will be classified. The eigenvectors are sorted in descending order of their corresponding eigenvalue

If 0: first eigenvector, corresponding to the dominant signal in the time window (associated with the largest eigenvalue).
compute_dopbool, optional, default = True

Specify whether the degree of polarization is computed.