Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
63
void 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_NAME
Function · 0.85
Calls
1
addType
Method · 0.80
Tested by
no test coverage detected