Visualizers
Jones Tail Visualizer
create_heatmap(u, v, j=10, qsub=2, trunc=50, tail=True)
Creates heatmap for the tail of the colored jones polynomial of a rational knot
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
u
|
int
|
Numerator. |
required |
v
|
int
|
Denominator. |
required |
j
|
int
|
Highest color to calculate. |
10
|
qsub
|
int
|
q specialization, 2 gives the Jones polynomial. |
2
|
trunc
|
int
|
Highest degree for each polynomial. |
50
|
tail
|
bool
|
True to compute tail, False to compute head. |
True
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
NoneType
|
Saves image to path. |
Source code in visualizers\heatmap.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | |
create_heatmap_frac(u, v, j=10, qnum=2, qdenom=1, trunc=50, tail=True)
Creates heatmap for the tail of the colored HOMFLY-PT polynomial of a rational knot specialized to qnum/qdenom
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
u
|
int
|
Numerator. |
required |
v
|
int
|
Denominator. |
required |
j
|
int
|
Highest color to calculate. |
10
|
qnum
|
int
|
specializes a - > q^qnum |
2
|
qdenom
|
int
|
specializes q -> q^-qdenom |
1
|
trunc
|
int
|
Highest degree for each polynomial. |
50
|
tail
|
bool
|
True to compute tail, False to compute head. |
True
|
Returns:
| Name | Type | Description |
|---|---|---|
None |
NoneType
|
Saves image to path. |
Source code in visualizers\heatmap.py
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 | |
Quiver Table Generator
create_A_table(n, path='a_table')
Writes to text file A vectors of rational knots up to numerator n.
Source code in visualizers\quiver_tables.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 | |
create_S_table(n, path='s_table')
Writes to text file S vectors of rational knots up to numerator n.
Source code in visualizers\quiver_tables.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 | |
create_diag_table(n, path='diag_table')
Writes to text file all quiver diagonals of rational knots up to numerator n.
Source code in visualizers\quiver_tables.py
49 50 51 52 53 54 55 56 57 58 59 60 61 62 | |
create_diff_table(n, path='diff_table')
Writes to text file all difference quivers of rational knots up to numerator n.
Source code in visualizers\quiver_tables.py
69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
create_head_table(n, path='head_table')
Writes to text file all head subquivers of rational knots up to numerator n.
Source code in visualizers\quiver_tables.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
create_quiver_table(n, path='table')
Writes to text file all quivers of rational knots up to numerator n.
Source code in visualizers\quiver_tables.py
5 6 7 8 9 10 11 12 13 14 15 16 17 | |
create_tail_table(n, path='tail_table')
Writes to text file all tail subquivers of rational knots up to numerator n.
Source code in visualizers\quiver_tables.py
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | |
Homfly Polynomial Lattice
visualize_lattice(polynomial, path=None, show_plot=True, log_scale=True, edgecolor=None, thick_dots=False, cols='viridis')
Visualizes the colored Homfly polynomial of some rational knot
Source code in visualizers\visualize.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | |
visualize_lattice_colormap(polynomial, path=None, show_plot=True)
Visualizes the colored Homfly polynomial of some rational knot
Source code in visualizers\visualize.py
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
Homfly Tail Visualizer
homfly_plots(u, v, trunc=100, dir='se')
Creates subplots for the first 10 colored Homfly tails of a knot.
Source code in visualizers\homfly_tail.py
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | |
homfly_tail(u, v, j, trunc=10, dir='se')
Computes the first j colored Homfly polynomials of the rational knot \(K_{u/v}\).
Source code in visualizers\homfly_tail.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
homfly_tail_animation(u, v, j, trunc)
Creates an animation for the tail of the colored Homfly Polynomial.
Source code in visualizers\homfly_tail.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | |
homfly_tail_heatmap(u, v, j, trunc, dir='se')
Creates an animation for the tail of the colored Homfly polynomial visualized on a heatmap.
Source code in visualizers\homfly_tail.py
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 | |
plot_heatmap(coeff_dict, title='Coefficient heatmap', save_path=None)
coeff_dict: {(a_power, q_power): coefficient} Rows = a_power, Columns = q_power.
Source code in visualizers\homfly_head_torus.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | |