skein#

Here are implementations of Skein operations. The “A”-type smoothing is also referred to as “L_0” smoothing and the “B”-type smoothing is also referred to as “L_infinity” smoothing, see [L.H. Kauffman, “State models and the Jones polynomial” Topology , 26 (1987) pp. 395–407]

Functions

crossing_to_vertex(k, crossing[, inplace])

Converts a crossing in a planar diagram to a vertex, by projecting it to a vertex.

smoothen_crossing(k, crossing_for_smoothing, ...)

Smoothens a specified crossing in a planar diagram using type "A", "B", or oriented ("O") smoothing, depending on the method specified.