MCPcopy Create free account
hub / github.com/bab2min/tomotopy / addCoherenceTypes

Function addCoherenceTypes

src/python/handler/py_coherence.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void addCoherenceTypes(py::Module& module)
64{
65 module.addType(
66 py::define<CoherenceObject>("tomotopy._Coherence", "_Coherence", Py_TPFLAGS_BASETYPE)
67 .method<&CoherenceObject::getScore>("get_score")
68 );
69}

Callers 1

MODULE_NAMEFunction · 0.85

Calls 1

addTypeMethod · 0.80

Tested by

no test coverage detected