pyriemann_qiskit.utils.utils.is_qfunction

pyriemann_qiskit.utils.utils.is_qfunction(string)[source]

Indicates if the function is a mean or a distance introduced in this library.

Return True is “string” represents a mean or a distance introduced in this library.

Parameters:

string (str) – A string representation of the mean/distance.

Returns:

is_qfunction – True if “string” represents a mean or a distance introduced in this library.

Return type:

boolean

Notes

Added in version 0.2.0.