{"id":876,"date":"2025-03-06T00:14:15","date_gmt":"2025-03-06T00:14:15","guid":{"rendered":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/?page_id=876"},"modified":"2026-04-17T22:23:39","modified_gmt":"2026-04-17T22:23:39","slug":"geometric-structures-from-diagrams-code","status":"publish","type":"page","link":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/","title":{"rendered":"Geometric Structures from Diagrams"},"content":{"rendered":"<p><a href=\"https:\/\/github.com\/Nastia-Tsvietkova\/Geometric-Structures\/\">This is Python code<\/a> for computing:<\/p>\n<p>&#8211; the complete hyperbolic structure by giving equations for edge and crossing labels (1 in the menu) and their complex values (2 in the menu) for a hyperbolic link in 3-sphere;<\/p>\n<p>&#8211; equations for the canonical component of PSL(2, C)-representation variety (3 in the menu) of a hyperbolic knot in 3-sphere.<\/p>\n<p>If you use Windows and would rather not run the code and associated modules, here is <a href=\"https:\/\/www.dropbox.com\/scl\/fi\/djmorpfynm7zjc4x6q981\/DiagramToGeometries_v3.exe?rlkey=caf9r1cdjvk608653ftz8q91z&amp;st=pefsiml1&amp;dl=0\">exe file<\/a>.<\/p>\n<p>The link\/knot diagram needs to be taut (e.g. any reduced alternating diagram is taut) and can be given as Dowker-Thistlethwaite (DT) code or planar diagram (PD) code (the latter only for alternating links).<\/p>\n<p>Computing 1 and 2 are based on <a href=\"https:\/\/msp.org\/agt\/2014\/14-3\/agt-v14-n3-p03-s.pdf\">this paper<\/a> by Thistlethwaite and Tsvietkova; 3 is based on an upcoming preprint by K. Petersen and A. Tsvietkova. The equations for 3 can be large, and are hence additionally recorded in a txt file (called <em>log<\/em>) in the folder with the code.<\/p>\n<p>Different people worked on the code at different times: Jaeyun Bae, Mark Bell, Dale Koenig, Alex Lowen, Anastasiia Tsvietkova. The code uses the <a href=\"http:\/\/www.github.com\/3-manifolds\/Spherogram\">Spherogram<\/a> module from <a href=\"https:\/\/snappy.computop.org\/\">SnapPy<\/a>, as well as the NumPy, SciPy, and SymPy packages.<\/p>\n<p>If you use the code, please reference it as<br \/>\nJaeyun Bae, Dale Koenig, Anastasiia Tsvietkova, w. contributions by other people (see ReadMe), <em>Geometric structures from diagrams<\/em>, www.github.com\/Nastia-Tsvietkova\/Geometric-Structures<\/p>\n<p>Many people were students or postdocs when they worked on the code, and were learning to code. So please excuse any potential bugs or inefficiency you may find! If you might be interested in contributing, email Anastasiia Tsvietkova.<\/p>\n<p>The project is\/was partially supported by NSF and OIST under grants with Anastasiia Tsvietkova as the PI (see <a href=\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/research\/\">this page<\/a> for the full list of related funding).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is Python code for computing: &#8211; the complete hyperbolic structure by giving equations for edge and crossing labels (1 in the menu) and their complex values (2 in the &hellip; <a href=\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/\" class=\"\">Read More<\/a><\/p>\n","protected":false},"author":477,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-876","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Geometric Structures from Diagrams - Anastasiia Tsvietkova<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Geometric Structures from Diagrams - Anastasiia Tsvietkova\" \/>\n<meta property=\"og:description\" content=\"This is Python code for computing: &#8211; the complete hyperbolic structure by giving equations for edge and crossing labels (1 in the menu) and their complex values (2 in the &hellip; Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Anastasiia Tsvietkova\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-17T22:23:39+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/\",\"url\":\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/\",\"name\":\"Geometric Structures from Diagrams - Anastasiia Tsvietkova\",\"isPartOf\":{\"@id\":\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/#website\"},\"datePublished\":\"2025-03-06T00:14:15+00:00\",\"dateModified\":\"2026-04-17T22:23:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Geometric Structures from Diagrams\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/#website\",\"url\":\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/\",\"name\":\"Anastasiia Tsvietkova\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Geometric Structures from Diagrams - Anastasiia Tsvietkova","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/","og_locale":"en_US","og_type":"article","og_title":"Geometric Structures from Diagrams - Anastasiia Tsvietkova","og_description":"This is Python code for computing: &#8211; the complete hyperbolic structure by giving equations for edge and crossing labels (1 in the menu) and their complex values (2 in the &hellip; Read More","og_url":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/","og_site_name":"Anastasiia Tsvietkova","article_modified_time":"2026-04-17T22:23:39+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/","url":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/","name":"Geometric Structures from Diagrams - Anastasiia Tsvietkova","isPartOf":{"@id":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/#website"},"datePublished":"2025-03-06T00:14:15+00:00","dateModified":"2026-04-17T22:23:39+00:00","breadcrumb":{"@id":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/geometric-structures-from-diagrams-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/"},{"@type":"ListItem","position":2,"name":"Geometric Structures from Diagrams"}]},{"@type":"WebSite","@id":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/#website","url":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/","name":"Anastasiia Tsvietkova","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/wp-json\/wp\/v2\/pages\/876"}],"collection":[{"href":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/wp-json\/wp\/v2\/users\/477"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/wp-json\/wp\/v2\/comments?post=876"}],"version-history":[{"count":12,"href":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/wp-json\/wp\/v2\/pages\/876\/revisions"}],"predecessor-version":[{"id":957,"href":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/wp-json\/wp\/v2\/pages\/876\/revisions\/957"}],"wp:attachment":[{"href":"https:\/\/sites.rutgers.edu\/anastasiia-tsvietkova\/wp-json\/wp\/v2\/media?parent=876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}