diff --git a/Makefile b/Makefile index 8271e5f..2fb7995 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ clean: tests: # Running unittests - @pytest + @python -m unittest release: python setup.py sdist bdist_wheel diff --git a/doc_source/contributing.rst b/doc_source/contributing.rst index 50321fb..40799fe 100644 --- a/doc_source/contributing.rst +++ b/doc_source/contributing.rst @@ -92,7 +92,7 @@ You should always include tests for new features and bug fixes. The `ect` packag pytest -or by running:: +or the standard `unittest` python framework by running:: make tests diff --git a/docs/_sources/contributing.rst.txt b/docs/_sources/contributing.rst.txt index 50321fb..40799fe 100644 --- a/docs/_sources/contributing.rst.txt +++ b/docs/_sources/contributing.rst.txt @@ -92,7 +92,7 @@ You should always include tests for new features and bug fixes. The `ect` packag pytest -or by running:: +or the standard `unittest` python framework by running:: make tests diff --git a/docs/contributing.html b/docs/contributing.html index 4b5c41d..8ba4abc 100644 --- a/docs/contributing.html +++ b/docs/contributing.html @@ -178,7 +178,7 @@

4.2.3. Testing guidelines
pytest
 
-

or by running:

+

or the standard unittest python framework by running:

make tests
 
diff --git a/docs/doctrees/contributing.doctree b/docs/doctrees/contributing.doctree index 0d68dd0..03d4b82 100644 Binary files a/docs/doctrees/contributing.doctree and b/docs/doctrees/contributing.doctree differ diff --git a/docs/doctrees/ect_on_graphs.doctree b/docs/doctrees/ect_on_graphs.doctree index 3a7c765..ddb7275 100644 Binary files a/docs/doctrees/ect_on_graphs.doctree and b/docs/doctrees/ect_on_graphs.doctree differ diff --git a/docs/doctrees/embed_graph.doctree b/docs/doctrees/embed_graph.doctree index 7a0d521..13e52ea 100644 Binary files a/docs/doctrees/embed_graph.doctree and b/docs/doctrees/embed_graph.doctree differ diff --git a/docs/doctrees/environment.pickle b/docs/doctrees/environment.pickle index 273eda0..6bd817c 100644 Binary files a/docs/doctrees/environment.pickle and b/docs/doctrees/environment.pickle differ diff --git a/docs/searchindex.js b/docs/searchindex.js index 14f11a5..e1c4a9f 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["citing", "contributing", "ect_on_graphs", "embed_graph", "index", "installation", "license", "modules", "notebooks/CodingFiguresFern", "notebooks/Tutorial-ECT_for_embedded_graphs", "tutorials"], "filenames": ["citing.rst", "contributing.rst", "ect_on_graphs.md", "embed_graph.md", "index.rst", "installation.rst", "license.md", "modules.rst", "notebooks/CodingFiguresFern.ipynb", "notebooks/Tutorial-ECT_for_embedded_graphs.ipynb", "tutorials.rst"], "titles": ["6. Citing", "4. Contributing to the ect Package", "2.2. ECT on Graphs", "2.1. Embedded graphs", "ect: Euler Characteristic Transform in Python", "1. Installation", "5. GPL-3.0 License", "2. Table of Contents", "Figure generation for Invitation to the ECT", "3.1. Tutorial : ECT for embedded graphs", "3. Tutorials"], "terms": {"To": [0, 1, 5, 8, 9], "ect": [0, 7, 10], "pleas": [0, 1, 6], "us": [0, 1, 2, 3, 4, 6, 8, 9], "follow": [0, 1, 5, 8, 9], "public": [0, 6], "elizabeth": [0, 4, 8], "munch": [0, 1, 4, 8], "an": [0, 1, 2, 3, 4, 8, 9], "invit": [0, 4], "euler": [0, 2, 8, 9], "characterist": [0, 2, 8, 9], "transform": [0, 2, 8, 9], "arxiv": [0, 4, 8], "2310": [0, 4, 8], "10395": [0, 4, 8], "2023": [0, 4, 8], "note": [1, 2, 9], "thi": [1, 2, 3, 4, 8, 9], "i": [1, 2, 3, 4, 8, 9], "draft": 1, "subject": 1, "chang": [1, 8], "prerequisit": 1, "set": [1, 2, 3, 8, 9], "up": [1, 9], "develop": 1, "environ": 1, "fork": [1, 8], "repositori": [1, 5], "clone": [1, 4, 5], "It": 1, "essenti": 1, "project": [1, 4, 8], "have": [1, 2, 4, 5, 8, 9], "well": [1, 3], "clean": 1, "readabl": 1, "The": [1, 2, 3, 4, 6, 8, 9], "should": [1, 2, 3], "when": [1, 9], "pep": 1, "8": [1, 8, 9], "guid": 1, "python": [1, 5], "docstr": 1, "given": [1, 3, 9], "below": 1, "function": [1, 2, 3, 8, 9], "class": [1, 2, 3, 9], "sphinx": 1, "system": 1, "gener": [1, 6], "alwai": 1, "includ": [1, 3, 4], "new": [1, 3], "featur": 1, "bug": 1, "fix": [1, 8, 9], "There": 1, "ar": [1, 3, 8, 9], "two": 1, "thing": 1, "do": [1, 3, 4, 8], "first": [1, 3], "which": [1, 9], "autogener": 1, "doubt": 1, "write": [1, 9], "too": 1, "much": 1, "second": [1, 3, 8], "doc_sourc": 1, "directori": 1, "restructuredtext": 1, "also": [1, 3, 9], "support": 1, "file": [1, 4], "markdown": 1, "although": 1, "some": [1, 9], "deal": [1, 8], "content": 1, "so": [1, 9], "": [1, 9], "bit": [1, 9], "mix": 1, "moment": [1, 8], "everyth": 1, "doc": 1, "folder": 1, "delet": 1, "overwritten": 1, "your": [1, 8], "work": [1, 3], "lost": 1, "assum": [1, 9], "todo": [1, 3, 9], "add": [1, 3], "instal": [1, 8], "list": [1, 3, 9], "correctli": 1, "you": [1, 4, 5, 8, 9], "can": [1, 2, 4, 5, 6, 8, 9], "run": [1, 5, 9], "command": [1, 5, 9], "from": [1, 2, 5, 8, 9], "top": 1, "level": 1, "make": [1, 2, 3, 5, 9], "html": 1, "view": 1, "open": 1, "index": [1, 8], "browser": 1, "exampl": [1, 3, 9], "indent": 1, "sinc": [1, 3, 9], "rst": 1, "picki": 1, "about": 1, "def": [1, 8], "my_funct": 1, "arg1": 1, "arg2": 1, "brief": 1, "descript": 1, "more": [1, 4, 9], "detail": [1, 4, 9], "inform": 1, "argument": 1, "return": [1, 2, 3, 8, 9], "valu": [1, 2, 3, 8, 9], "If": [1, 2, 3, 9], "rais": [1, 3], "ani": 1, "except": [1, 8], "thei": [1, 3], "here": [1, 4, 9], "math": 1, "text": [1, 6, 8, 9], "direct": [1, 2, 3, 9], "e": [1, 3, 9], "g": [1, 2, 3, 8, 10], "y": [1, 2, 3, 8], "x": [1, 2, 3, 8, 9], "2": [1, 2, 3, 8, 9], "A": [1, 2, 3, 4, 9], "displai": 1, "equat": [1, 8], "ad": [1, 3], "block": 1, "certain": 1, "letter": 1, "reserv": 1, "need": [1, 2], "escap": 1, "them": 1, "backslash": 1, "f": [1, 8, 9], "int_0": 1, "1": [1, 8, 9], "dx": 1, "frac": [1, 8, 9], "3": [1, 5, 8, 9], "just": [1, 8], "end": [1, 8, 9], "sentenc": 1, "colon": 1, "creat": [1, 3], "paramet": [1, 2, 3], "type": [1, 2, 3], "exceptiontyp": 1, "pytest": 1, "framework": 1, "locat": 1, "habit": 1, "lot": 1, "simpl": 1, "better": [1, 9], "mani": 1, "than": [1, 9], "few": 1, "written": [1, 4], "wai": 1, "quickli": 1, "easili": [1, 9], "easier": 1, "other": 1, "review": 1, "take": [1, 9], "look": 1, "exist": [1, 3], "order": [1, 3], "must": [1, 2, 8, 9], "prefix": 1, "test_": 1, "For": [1, 4], "call": [1, 2, 9], "would": 1, "test_my_funct": 1, "find": [1, 3], "post": 1, "github": [1, 4, 5], "tracker": 1, "http": [1, 5], "com": [1, 4, 5], "munchlab": [1, 4, 5], "provid": 1, "possibl": 1, "version": [1, 4, 5, 6], "oper": [1, 8], "relev": 1, "like": 1, "contributor": 1, "branch": 1, "main": 1, "protect": 1, "abl": 1, "push": 1, "directli": [1, 4, 5, 9], "onc": [1, 9], "readi": 1, "discuss": 1, "templat": 1, "fill": 1, "out": [1, 8], "help": [1, 3], "pip": [1, 4, 5, 8], "number": [1, 2, 3, 8, 9], "pyproject": 1, "toml": 1, "updat": [1, 8], "sure": [1, 5], "match": 1, "conf": 1, "py": [1, 8], "ensur": [1, 8], "correct": 1, "Be": 1, "all": [1, 2, 3, 8, 9], "befor": [1, 2, 5, 6, 8], "commit": 1, "date": 1, "pass": [1, 9], "approv": 1, "liz": [1, 4], "merg": 1, "acknowledg": 1, "futur": [1, 8], "plan": 1, "contact": 1, "ect_graph": 2, "num_dir": [2, 9], "num_thresh": [2, 9], "bound_radiu": [2, 9], "none": [2, 3, 9], "sourc": [2, 3, 5], "calcul": [2, 3, 8, 9], "input": [2, 9], "embed": [2, 4, 7, 10], "result": 2, "matrix": [2, 8, 9], "where": [2, 8, 9], "entri": 2, "m": [2, 8, 9], "j": [2, 8], "chi": [2, 8, 9], "k_": [2, 8], "a_i": 2, "omega_j": 2, "ith": 2, "self": 2, "thresh": [2, 8, 9], "theta": [2, 3, 8, 9], "attribut": [2, 3, 9], "int": [2, 3, 8], "consid": [2, 3], "threshold": [2, 9], "either": 2, "posit": [2, 8], "radiu": [2, 3, 8, 9], "bound": [2, 3, 9], "circl": [2, 3, 8, 9], "ect_matrix": 2, "np": [2, 3, 8, 9], "arrai": [2, 8, 9], "store": [2, 9], "sect_matrix": [2, 9], "sect": [2, 10], "__init__": [2, 3], "construct": [2, 10], "necessari": [2, 9], "object": [2, 3, 9], "set_bounding_radiu": [2, 9], "manual": 2, "center": [2, 3, 8, 9], "origin": [2, 3, 8, 9], "get_ect": [2, 9], "get_sect": 2, "calculateecc": [2, 9], "tightbbox": [2, 9], "fals": [2, 3, 8, 9], "comput": [2, 3, 4, 10], "coordin": [2, 3, 9], "each": [2, 3, 8, 9], "vertex": [2, 3, 9], "po": [2, 3, 8], "nx": [2, 9], "float": [2, 3], "angl": [2, 3], "radian": 2, "rotat": [2, 9], "bool": [2, 3], "true": [2, 3, 8, 9], "tight": [2, 8], "box": [2, 3], "default": [2, 9], "calculateect": [2, 9], "compute_sect": [2, 9], "embeddedgraph": [2, 3, 7, 9], "a_j": 2, "omega_i": 2, "jth": 2, "whether": [2, 3], "differ": [2, 8], "otherwis": 2, "alreadi": [2, 3, 9], "set_bounding_box": 2, "method": [2, 3, 9], "after": 2, "doesn": 2, "t": [2, 8, 9], "repres": [2, 3], "size": [2, 8, 9], "calculatesect": [2, 9], "smooth": [2, 9], "plotecc": [2, 9], "plot": [2, 3, 8, 9], "curv": [2, 9], "ecc": 2, "specif": [2, 3, 9], "0": [2, 3, 8, 9], "pi": [2, 3, 8, 9], "plotect": [2, 9], "axi": [2, 8], "plotsect": 2, "plot_typ": 2, "str": [2, 3, 8], "embed_graph": 3, "2d": [3, 4, 9], "dict": 3, "dictionari": [3, 9], "map": [3, 9], "vertic": [3, 8, 9], "initi": [3, 9], "empti": 3, "add_vertex": [3, 9], "assign": 3, "add_edg": [3, 9], "u": 3, "v": [3, 9], "edg": [3, 8], "between": 3, "get_coordin": 3, "whose": 3, "tupl": 3, "set_coordin": 3, "valueerror": 3, "doe": [3, 9], "get_bounding_box": 3, "minimum": 3, "maximum": 3, "get_bounding_radiu": [3, 9], "get_mean_centered_coordin": 3, "mean": [3, 8], "set_mean_centered_coordin": [3, 9], "warn": 3, "overwrit": [3, 9], "g_omega": [3, 9], "g_": [3, 9], "omega": [3, 8, 9], "defin": [3, 9], "langl": [3, 9], "texttt": 3, "rangl": [3, 9], "g_omega_edg": 3, "equal": 3, "max": [3, 8], "sort_vertic": 3, "return_g": 3, "sort": 3, "accord": 3, "eventu": [3, 4], "we": [3, 9], "want": [3, 9], "re": 3, "might": 3, "along": [3, 4], "increas": 3, "vertex_nam": 3, "func_valu": 3, "sort_edg": 3, "mid": 3, "lower_edg": 3, "lower": [3, 8], "v_list": 3, "vector": [3, 9], "2pi": [3, 8], "bounding_circl": [3, 9], "color_nodes_theta": [3, 9], "drawn": 3, "around": [3, 8], "Then": [3, 9], "node": [3, 9], "color": [3, 8, 9], "create_example_graph": [3, 7, 9], "mean_cent": 3, "test": [3, 8], "tool": 4, "graph": [4, 7, 10], "modul": 4, "contribut": 4, "cite": 4, "right": [4, 8, 9], "now": [4, 8, 9], "stuff": 4, "goal": 4, "voxel": 4, "higher": [4, 5], "dimension": 4, "simplici": 4, "complex": [4, 8], "etc": 4, "see": [4, 9], "avail": 4, "io": 4, "jupyt": [4, 9], "notebook": [4, 8, 9], "found": [4, 6], "networkx": [4, 9], "numpi": [4, 8, 9], "matplotlib": [4, 8, 9], "numba": 4, "packag": [4, 5, 9], "altern": [4, 5], "repo": 4, "git": [4, 5], "cd": [4, 5], "code": [4, 8, 9], "wa": [4, 8, 9], "her": 4, "research": 4, "group": 4, "collabor": 4, "peopl": 4, "who": 4, "sarah": 4, "mcguir": 4, "under": 4, "gplv3": 4, "websit": 4, "email": 4, "7": [5, 8, 9], "termin": 5, "simpli": 5, "full": [6, 9], "agreement": 6, "gnu": 6, "read": 6, "carefulli": 6, "softwar": 6, "paper": [8, 9], "appear": 8, "maa": 8, "monthli": 8, "2024": 8, "import": [8, 9], "pyplot": [8, 9], "plt": [8, 9], "teaspoon": 8, "rcparam": 8, "usetex": 8, "font": 8, "famili": 8, "helvetica": 8, "serif": 8, "__version__": 8, "39": [8, 9], "4": [8, 9], "colormap": 8, "transpar": 8, "issu": 8, "cmap_viridi": 8, "cm": 8, "viridi": 8, "set_bad": 8, "white": 8, "cmap_binari": 8, "tab20b": 8, "imread": 8, "leafbw": 8, "tif": 8, "255": 8, "f_finit": 8, "copi": 8, "2000": 8, "ones_lik": 8, "print": [8, 9], "shape": [8, 9], "nan": 8, "matshow": 8, "cmap": 8, "fig": 8, "gcf": 8, "set_raster": 8, "set_figwidth": 8, "5": [8, 9], "titl": 8, "savefig": 8, "png": 8, "dpi": 8, "300": 8, "ep": 8, "facecolor": 8, "bbox_inch": 8, "pdf": 8, "makefernp": 8, "maxrow": 8, "maxcol": 8, "co": [8, 9], "sin": [8, 9], "col": 8, "row": 8, "meshgrid": 8, "rang": 8, "floor": 8, "fmask": 8, "dt": [8, 9], "multipli": 8, "colorbar": 8, "fraction": 8, "035": 8, "pad": 8, "04": 8, "demet": 8, "dir": 8, "misc": 8, "time": [8, 9], "tifffil": 8, "tf": 8, "leaf_fil": 8, "leaf_img": 8, "ax": 8, "subplot": 8, "figsiz": 8, "20": [8, 9], "6": [8, 9], "imshow": 8, "grai": 8, "200": 8, "250": 8, "280": 8, "310": 8, "c": [8, 9], "red": 8, "lw": 8, "tic": 8, "perf_count": 8, "leaf": 8, "cubicalcomplex": 8, "complexifi": 8, "toc": 8, "4f": 8, "n": 8, "ncubic": 8, "made": 8, "format": 8, "summari": 8, "0271": 8, "cubic": 8, "53832": 8, "99196": 8, "45167": 8, "squar": 8, "197": 8, "cell": 8, "271": 8, "57746322": 8, "89": 8, "89517387": 8, "90": 8, "270": 8, "88": 8, "259": 8, "42253678": 8, "44": 8, "10482613": 8, "43": 8, "260": 8, "45": 8, "53828": 8, "53829": 8, "53831": 8, "53830": 8, "9": [8, 9], "53821": 8, "53822": 8, "53826": 8, "53827": 8, "53825": 8, "height": 8, "sum": 8, "128": 8, "46877882": 8, "127": 8, "76167204": 8, "152": 8, "25261331": 8, "9597201": 8, "scatter": 8, "magma": 8, "label": 8, "32": 8, "lt": 8, "0x73f180e96250": 8, "gt": 8, "177": 8, "279": 8, "vmin": 8, "150": 8, "vmax": 8, "gca": 8, "midx": 8, "set_xtick": 8, "100": 8, "arang": 8, "set_xticklabel": 8, "midi": 8, "set_ytick": 8, "set_yticklabel": 8, "fern": 8, "1000": 8, "0x73f16b1855d0": 8, "without": 8, "thetastr": 8, "r": [8, 9], "thetastrsfil": 8, "pi_over_4": 8, "3pi_over_4": 8, "3pi_over_2": 8, "7pi_over_4": 8, "enumer": 8, "im": 8, "xaxi": 8, "set_ticks_posit": 8, "bottom": 8, "f_": [8, 9], "get_size_inch": 8, "height_fig": 8, "fern_": 8, "_nocolorbar": 8, "7853981633974483": 8, "356194490192345": 8, "71238898038469": 8, "497787143782138": 8, "03": 8, "set_figheight": 8, "54478873": 8, "remov": 8, "onlycolorbar": 8, "5497": 8, "makefernpicthreshold": 8, "both": [8, 9], "fmaskbelow": 8, "fmaskabov": 8, "dtdown": 8, "dtup": 8, "why": 8, "backward": 8, "someth": 8, "fight": 8, "els": 8, "50": 8, "abov": [8, 9], "theshold": 8, "tick_param": 8, "labelrot": 8, "25": 8, "thresh_size_fig": 8, "fern_3pi_over_4_thresh": 8, "clf": 8, "sharei": 8, "set_titl": 8, "fern_3pi_over_4_allthresh": 8, "numthresh": 8, "64": 8, "linspac": 8, "min": 8, "outecc": 8, "axvlin": 8, "grei": 8, "linestyl": 8, "step": 8, "xlabel": 8, "ylabel": 8, "k_a": 8, "set_size_inch": 8, "fern_3pi_over_4_ecc": 8, "get": [8, 9], "numcircledir": 8, "circledir": 8, "num": 8, "endpoint": 8, "0625": 8, "125": 8, "1875": 8, "3125": 8, "375": 8, "4375": 8, "5625": 8, "625": 8, "6875": 8, "75": 8, "8125": 8, "875": 8, "9375": 8, "choos": [8, 9], "stop": 8, "ect_preprocess": 8, "overallmin": 8, "overallmax": 8, "omegavec": 8, "pixel": 8, "implicitli": 8, "285": 8, "68893688291087": 8, "line": 8, "line2d": 8, "0x73f16b12de10": 8, "omegai": 8, "redraw": 8, "mod": 8, "tmp": 8, "ipykernel_57600": 8, "1470381530": 8, "26": 8, "deprecationwarn": 8, "convers": 8, "ndim": 8, "scalar": 8, "deprec": 8, "error": 8, "extract": 8, "singl": 8, "element": 8, "perform": 8, "pcolormesh": 8, "fern_ect": 8, "900": 8, "10": [8, 9], "bigval": 8, "16": [8, 9], "11": [8, 9], "19": 8, "mpl_toolkit": 8, "mplot3d": 8, "axes3d": 8, "ipympl": 8, "widget": 8, "grid": 8, "color_dimens": 8, "desir": 8, "fourth": 8, "dimens": 8, "minn": 8, "maxx": 8, "norm": 8, "normal": 8, "scalarmapp": 8, "set_arrai": 8, "fcolor": 8, "to_rgba": 8, "24": 8, "27318197": 8, "54636394": 8, "81954591": 8, "09272788": 8, "36590985": 8, "63909182": 8, "91227379": 8, "18545576": 8, "45863773": 8, "7318197": 8, "00500167": 8, "27818364": 8, "55136561": 8, "82454758": 8, "09772955": 8, "37091152": 8, "64409349": 8, "91727546": 8, "19045743": 8, "4636394": 8, "73682137": 8, "01000334": 8, "28318531": 8, "h": 8, "cos\u03b8": 8, "k": 8, "sin\u03b8": 8, "ordin": 8, "\u03b8": 8, "360": 8, "add_subplot": 8, "111": 8, "3d": 8, "z": [8, 9], "plot_surfac": 8, "orang": 8, "surf": 8, "linewidth": 8, "set_edgecolor": 8, "set_axis_off": 8, "fern_ect_cylind": 8, "17": 8, "193": 8, "98518858": 8, "190": 8, "40235323": 8, "186": 8, "81951788": 8, "183": 8, "23668253": 8, "179": 8, "65384718": 8, "176": 8, "07101183": 8, "172": 8, "48817648": 8, "168": 8, "90534113": 8, "165": 8, "32250578": 8, "161": 8, "73967042": 8, "158": 8, "15683507": 8, "154": 8, "57399972": 8, "99116437": 8, "147": 8, "40832902": 8, "143": 8, "82549367": 8, "140": 8, "24265832": 8, "136": 8, "65982297": 8, "133": 8, "07698762": 8, "129": 8, "49415227": 8, "91131692": 8, "122": 8, "32848157": 8, "118": 8, "74564621": 8, "115": 8, "16281086": 8, "57997551": 8, "107": 8, "99714016": 8, "104": 8, "41430481": 8, "83146946": 8, "97": 8, "24863411": 8, "93": 8, "66579876": 8, "08296341": 8, "86": 8, "50012806": 8, "82": 8, "91729271": 8, "79": 8, "33445735": 8, "751622": 8, "72": 8, "16878665": 8, "68": 8, "5859513": 8, "65": 8, "00311595": 8, "61": 8, "4202806": 8, "57": 8, "83744525": 8, "54": 8, "2546099": 8, "67177455": 8, "47": 8, "0889392": 8, "50610385": 8, "92326849": 8, "36": 8, "34043314": 8, "75759779": 8, "29": 8, "17476244": 8, "59192709": 8, "22": 8, "00909174": 8, "18": 8, "42625639": 8, "14": 8, "84342104": 8, "26058569": 8, "67775034": 8, "09491499": 8, "51207963": 8, "07075572": 8, "65359107": 8, "23642642": 8, "13": [8, 9], "81926177": 8, "40209712": 8, "98493247": 8, "56776782": 8, "28": 8, "15060317": 8, "31": 8, "73343852": 8, "35": 8, "31627387": 8, "38": 8, "89910923": 8, "42": 8, "48194458": 8, "46": 8, "06477993": 8, "49": 8, "64761528": 8, "53": 8, "23045063": 8, "56": 8, "81328598": 8, "60": 8, "39612133": 8, "63": 8, "97895668": 8, "67": 8, "56179203": 8, "71": 8, "14462738": 8, "74": 8, "72746273": 8, "78": 8, "31029808": 8, "81": 8, "89313344": 8, "85": 8, "47596879": 8, "05880414": 8, "92": 8, "64163949": 8, "96": 8, "22447484": 8, "99": 8, "80731019": 8, "103": 8, "39014554": 8, "106": 8, "97298089": 8, "110": 8, "55581624": 8, "114": 8, "13865159": 8, "117": 8, "72148694": 8, "121": 8, "3043223": 8, "124": 8, "88715765": 8, "469993": 8, "132": 8, "05282835": 8, "135": 8, "6356637": 8, "139": 8, "21849905": 8, "142": 8, "8013344": 8, "146": 8, "38416975": 8, "149": 8, "9670051": 8, "153": 8, "54984045": 8, "157": 8, "1326758": 8, "160": 8, "71551116": 8, "59": 8, "402097119801482": 8, "83": 8, "circle_dir": 8, "len": 8, "per": 8, "15": [8, 9], "fontsiz": 8, "THe": 8, "crawford2019": 8, "meng22": 8, "averag": [8, 9], "avgoveromega": 8, "mcenter": 8, "33": 8, "01": 8, "95": 8, "91": 8, "34": 8, "69": 8, "07": 8, "87": 8, "98": 8, "94": 8, "51": 8, "05": 8, "101": 8, "12": [8, 9], "09992015e": 8, "23066002e": 8, "07718279e": 8, "00000000e": 8, "00": 8, "27613475e": 8, "48538992e": 8, "96331881e": 8, "03064257e": 8, "71800377e": 8, "78754838e": 8, "33582034e": 8, "12336873e": 8, "42854650e": 8, "56017471e": 8, "35074240e": 8, "25339739e": 8, "56541488e": 8, "54223334e": 8, "40758582e": 8, "66116035e": 8, "87059265e": 8, "29913915e": 8, "53175300e": 8, "cumsum": 8, "mint": 8, "walk": 9, "through": 9, "know": 9, "what": 9, "thorough": 9, "treatment": 9, "our": 9, "undirect": 9, "mathbb": 9, "same": 9, "b": 9, "d": 9, "access": 9, "becaus": 9, "aspect": 9, "often": 9, "shift": 9, "point": 9, "3333333333333335": 9, "6666666666666665": 9, "actual": 9, "4197140881138655": 9, "specifi": 9, "convert": 9, "unit": 9, "dot": 9, "product": 9, "done": 9, "shown": 9, "give": 9, "11785113019775861": 9, "11785113019775795": 9, "5892556509887904": 9, "2963624321753375": 9, "532064692570853": 9, "11785113019775761": 9, "anoth": 9, "begin": 9, "func": 9, "mapsto": 9, "infti": 9, "myect": 9, "automat": 9, "chosen": 9, "howev": 9, "hasn": 9, "been": 9, "yet": 9, "39269908": 9, "78539816": 9, "17809725": 9, "57079633": 9, "96349541": 9, "35619449": 9, "74889357": 9, "14159265": 9, "53429174": 9, "92699082": 9, "3196899": 9, "71238898": 9, "10508806": 9, "49778714": 9, "89048623": 9, "bigger": 9, "pictur": 9, "intern": 9, "1036569057366385": 9, "10365691": 9, "67169302": 9, "23972914": 9, "80776525": 9, "37580137": 9, "94383748": 9, "5118736": 9, "07990971": 9, "64794583": 9, "21598194": 9, "output": 9, "integ": 9, "correspond": 9, "fly": 9, "save": 9, "built": 9, "unlik": 9, "earlier": 9, "equival": 9, "overlin": 9, "_": 9, "2r": 9, "int_": 9, "left": 9, "da": 9, "intro": 9, "m_sect": 9, "technic": 9, "don": 9, "instead": 9, "visual": 9}, "objects": {"": [[2, 0, 0, "-", "ect_graph"], [3, 0, 0, "-", "embed_graph"]], "ect_graph": [[2, 1, 1, "", "ECT"]], "ect_graph.ECT": [[2, 2, 1, "", "__init__"], [2, 2, 1, "", "calculateECC"], [2, 2, 1, "", "calculateECT"], [2, 2, 1, "", "calculateSECT"], [2, 2, 1, "", "get_ECT"], [2, 2, 1, "", "get_SECT"], [2, 2, 1, "", "plot"], [2, 2, 1, "", "plotECC"], [2, 2, 1, "", "plotECT"], [2, 2, 1, "", "plotSECT"], [2, 2, 1, "", "set_bounding_radius"]], "embed_graph": [[3, 1, 1, "", "EmbeddedGraph"], [3, 3, 1, "", "create_example_graph"]], "embed_graph.EmbeddedGraph": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_edge"], [3, 2, 1, "", "add_vertex"], [3, 2, 1, "", "g_omega"], [3, 2, 1, "", "g_omega_edges"], [3, 2, 1, "", "get_bounding_box"], [3, 2, 1, "", "get_bounding_radius"], [3, 2, 1, "", "get_coordinates"], [3, 2, 1, "", "get_mean_centered_coordinates"], [3, 2, 1, "", "lower_edges"], [3, 2, 1, "", "plot"], [3, 2, 1, "", "set_coordinates"], [3, 2, 1, "", "set_mean_centered_coordinates"], [3, 2, 1, "", "sort_edges"], [3, 2, 1, "", "sort_vertices"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"]}, "titleterms": {"cite": 0, "contribut": 1, "ect": [1, 2, 4, 5, 8, 9], "packag": 1, "get": [1, 4], "start": [1, 4], "guidelin": 1, "code": 1, "style": 1, "format": 1, "document": [1, 4], "test": 1, "issu": 1, "track": 1, "pull": 1, "request": 1, "conclus": 1, "graph": [2, 3, 9], "embed": [3, 9], "euler": 4, "characterist": 4, "transform": 4, "python": 4, "tabl": [4, 7], "content": [4, 7, 10], "descript": 4, "tutori": [4, 9, 10], "depend": 4, "instal": [4, 5], "author": 4, "licens": [4, 6], "contact": 4, "inform": 4, "prerequisit": 5, "uninstal": 5, "gpl": 6, "3": 6, "0": 6, "figur": 8, "gener": 8, "invit": 8, "try": 8, "erik": 8, "": 8, "stuff": 8, "make": 8, "pictur": 8, "threshold": 8, "ecc": 8, "one": 8, "direct": 8, "let": 8, "draw": 8, "cylind": 8, "version": 8, "sect": [8, 9], "construct": 9, "comput": 9, "g": 9}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2, "sphinx.ext.viewcode": 1, "nbsphinx": 4, "sphinx": 60}, "alltitles": {"Citing": [[0, "citing"]], "Contributing to the ect Package": [[1, "contributing-to-the-ect-package"]], "Getting Started": [[1, "getting-started"], [4, "getting-started"]], "Contributing Guidelines": [[1, "contributing-guidelines"]], "Code style and formatting": [[1, "code-style-and-formatting"]], "Documentation guidelines": [[1, "documentation-guidelines"]], "Testing guidelines": [[1, "testing-guidelines"]], "Issue tracking and pull requests": [[1, "issue-tracking-and-pull-requests"]], "Conclusion": [[1, "conclusion"]], "ECT on Graphs": [[2, "module-ect_graph"]], "Embedded graphs": [[3, "module-embed_graph"]], "ect: Euler Characteristic Transform in Python": [[4, "ect-euler-characteristic-transform-in-python"]], "Table of Contents": [[4, "table-of-contents"], [7, "table-of-contents"]], "Contents:": [[4, null], [10, null]], "Description": [[4, "description"]], "Documentation and tutorials": [[4, "documentation-and-tutorials"]], "Dependencies": [[4, "dependencies"]], "Installing": [[4, "installing"]], "Authors": [[4, "authors"]], "License": [[4, "license"]], "Contact Information": [[4, "contact-information"]], "Installation": [[5, "installation"]], "Prerequisites": [[5, "prerequisites"]], "Installing ect": [[5, "installing-ect"]], "Uninstalling ect": [[5, "uninstalling-ect"]], "GPL-3.0 License": [[6, "gpl-3-0-license"]], "Figure generation for Invitation to the ECT": [[8, "Figure-generation-for-Invitation-to-the-ECT"]], "Trying Erik\u2019s stuff": [[8, "Trying-Erik's-stuff"]], "Making pictures": [[8, "Making-pictures"]], "Thresholded Figure": [[8, "Thresholded-Figure"]], "ECC in one direction": [[8, "ECC-in-one-direction"]], "ECT": [[8, "ECT"]], "Let\u2019s draw a cylinder!": [[8, "Let's-draw-a-cylinder!"]], "Erik\u2019s version": [[8, "Erik's-version"]], "SECT": [[8, "SECT"], [9, "SECT"]], "Tutorial : ECT for embedded graphs": [[9, "Tutorial-:-ECT-for-embedded-graphs"]], "Constructing the embedded graph": [[9, "Constructing-the-embedded-graph"]], "Computing the ECT of G": [[9, "Computing-the-ECT-of-G"]], "Tutorials": [[10, "tutorials"]]}, "indexentries": {"ect (class in ect_graph)": [[2, "ect_graph.ECT"]], "__init__() (ect_graph.ect method)": [[2, "ect_graph.ECT.__init__"]], "calculateecc() (ect_graph.ect method)": [[2, "ect_graph.ECT.calculateECC"]], "calculateect() (ect_graph.ect method)": [[2, "ect_graph.ECT.calculateECT"]], "calculatesect() (ect_graph.ect method)": [[2, "ect_graph.ECT.calculateSECT"]], "ect_graph": [[2, "module-ect_graph"]], "get_ect() (ect_graph.ect method)": [[2, "ect_graph.ECT.get_ECT"]], "get_sect() (ect_graph.ect method)": [[2, "ect_graph.ECT.get_SECT"]], "module": [[2, "module-ect_graph"], [3, "module-embed_graph"]], "plot() (ect_graph.ect method)": [[2, "ect_graph.ECT.plot"]], "plotecc() (ect_graph.ect method)": [[2, "ect_graph.ECT.plotECC"]], "plotect() (ect_graph.ect method)": [[2, "ect_graph.ECT.plotECT"]], "plotsect() (ect_graph.ect method)": [[2, "ect_graph.ECT.plotSECT"]], "set_bounding_radius() (ect_graph.ect method)": [[2, "ect_graph.ECT.set_bounding_radius"]], "embeddedgraph (class in embed_graph)": [[3, "embed_graph.EmbeddedGraph"]], "__init__() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.__init__"]], "add_edge() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.add_edge"]], "add_vertex() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.add_vertex"]], "create_example_graph() (in module embed_graph)": [[3, "embed_graph.create_example_graph"]], "embed_graph": [[3, "module-embed_graph"]], "g_omega() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.g_omega"]], "g_omega_edges() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.g_omega_edges"]], "get_bounding_box() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.get_bounding_box"]], "get_bounding_radius() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.get_bounding_radius"]], "get_coordinates() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.get_coordinates"]], "get_mean_centered_coordinates() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.get_mean_centered_coordinates"]], "lower_edges() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.lower_edges"]], "plot() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.plot"]], "set_coordinates() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.set_coordinates"]], "set_mean_centered_coordinates() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.set_mean_centered_coordinates"]], "sort_edges() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.sort_edges"]], "sort_vertices() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.sort_vertices"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["citing", "contributing", "ect_on_graphs", "embed_graph", "index", "installation", "license", "modules", "notebooks/CodingFiguresFern", "notebooks/Tutorial-ECT_for_embedded_graphs", "tutorials"], "filenames": ["citing.rst", "contributing.rst", "ect_on_graphs.md", "embed_graph.md", "index.rst", "installation.rst", "license.md", "modules.rst", "notebooks/CodingFiguresFern.ipynb", "notebooks/Tutorial-ECT_for_embedded_graphs.ipynb", "tutorials.rst"], "titles": ["6. Citing", "4. Contributing to the ect Package", "2.2. ECT on Graphs", "2.1. Embedded graphs", "ect: Euler Characteristic Transform in Python", "1. Installation", "5. GPL-3.0 License", "2. Table of Contents", "Figure generation for Invitation to the ECT", "3.1. Tutorial : ECT for embedded graphs", "3. Tutorials"], "terms": {"To": [0, 1, 5, 8, 9], "ect": [0, 7, 10], "pleas": [0, 1, 6], "us": [0, 1, 2, 3, 4, 6, 8, 9], "follow": [0, 1, 5, 8, 9], "public": [0, 6], "elizabeth": [0, 4, 8], "munch": [0, 1, 4, 8], "an": [0, 1, 2, 3, 4, 8, 9], "invit": [0, 4], "euler": [0, 2, 8, 9], "characterist": [0, 2, 8, 9], "transform": [0, 2, 8, 9], "arxiv": [0, 4, 8], "2310": [0, 4, 8], "10395": [0, 4, 8], "2023": [0, 4, 8], "note": [1, 2, 9], "thi": [1, 2, 3, 4, 8, 9], "i": [1, 2, 3, 4, 8, 9], "draft": 1, "subject": 1, "chang": [1, 8], "prerequisit": 1, "set": [1, 2, 3, 8, 9], "up": [1, 9], "develop": 1, "environ": 1, "fork": [1, 8], "repositori": [1, 5], "clone": [1, 4, 5], "It": 1, "essenti": 1, "project": [1, 4, 8], "have": [1, 2, 4, 5, 8, 9], "well": [1, 3], "clean": 1, "readabl": 1, "The": [1, 2, 3, 4, 6, 8, 9], "should": [1, 2, 3], "when": [1, 9], "pep": 1, "8": [1, 8, 9], "guid": 1, "python": [1, 5], "docstr": 1, "given": [1, 3, 9], "below": 1, "function": [1, 2, 3, 8, 9], "class": [1, 2, 3, 9], "sphinx": 1, "system": 1, "gener": [1, 6], "alwai": 1, "includ": [1, 3, 4], "new": [1, 3], "featur": 1, "bug": 1, "fix": [1, 8, 9], "There": 1, "ar": [1, 3, 8, 9], "two": 1, "thing": 1, "do": [1, 3, 4, 8], "first": [1, 3], "which": [1, 9], "autogener": 1, "doubt": 1, "write": [1, 9], "too": 1, "much": 1, "second": [1, 3, 8], "doc_sourc": 1, "directori": 1, "restructuredtext": 1, "also": [1, 3, 9], "support": 1, "file": [1, 4], "markdown": 1, "although": 1, "some": [1, 9], "deal": [1, 8], "content": 1, "so": [1, 9], "": [1, 9], "bit": [1, 9], "mix": 1, "moment": [1, 8], "everyth": 1, "doc": 1, "folder": 1, "delet": 1, "overwritten": 1, "your": [1, 8], "work": [1, 3], "lost": 1, "assum": [1, 9], "todo": [1, 3, 9], "add": [1, 3], "instal": [1, 8], "list": [1, 3, 9], "correctli": 1, "you": [1, 4, 5, 8, 9], "can": [1, 2, 4, 5, 6, 8, 9], "run": [1, 5, 9], "command": [1, 5, 9], "from": [1, 2, 5, 8, 9], "top": 1, "level": 1, "make": [1, 2, 3, 5, 9], "html": 1, "view": 1, "open": 1, "index": [1, 8], "browser": 1, "exampl": [1, 3, 9], "indent": 1, "sinc": [1, 3, 9], "rst": 1, "picki": 1, "about": 1, "def": [1, 8], "my_funct": 1, "arg1": 1, "arg2": 1, "brief": 1, "descript": 1, "more": [1, 4, 9], "detail": [1, 4, 9], "inform": 1, "argument": 1, "return": [1, 2, 3, 8, 9], "valu": [1, 2, 3, 8, 9], "If": [1, 2, 3, 9], "rais": [1, 3], "ani": 1, "except": [1, 8], "thei": [1, 3], "here": [1, 4, 9], "math": 1, "text": [1, 6, 8, 9], "direct": [1, 2, 3, 9], "e": [1, 3, 9], "g": [1, 2, 3, 8, 10], "y": [1, 2, 3, 8], "x": [1, 2, 3, 8, 9], "2": [1, 2, 3, 8, 9], "A": [1, 2, 3, 4, 9], "displai": 1, "equat": [1, 8], "ad": [1, 3], "block": 1, "certain": 1, "letter": 1, "reserv": 1, "need": [1, 2], "escap": 1, "them": 1, "backslash": 1, "f": [1, 8, 9], "int_0": 1, "1": [1, 8, 9], "dx": 1, "frac": [1, 8, 9], "3": [1, 5, 8, 9], "just": [1, 8], "end": [1, 8, 9], "sentenc": 1, "colon": 1, "creat": [1, 3], "paramet": [1, 2, 3], "type": [1, 2, 3], "exceptiontyp": 1, "pytest": 1, "framework": 1, "locat": 1, "standard": 1, "unittest": 1, "habit": 1, "lot": 1, "simpl": 1, "better": [1, 9], "mani": 1, "than": [1, 9], "few": 1, "written": [1, 4], "wai": 1, "quickli": 1, "easili": [1, 9], "easier": 1, "other": 1, "review": 1, "take": [1, 9], "look": 1, "exist": [1, 3], "order": [1, 3], "must": [1, 2, 8, 9], "prefix": 1, "test_": 1, "For": [1, 4], "call": [1, 2, 9], "would": 1, "test_my_funct": 1, "find": [1, 3], "post": 1, "github": [1, 4, 5], "tracker": 1, "http": [1, 5], "com": [1, 4, 5], "munchlab": [1, 4, 5], "provid": 1, "possibl": 1, "version": [1, 4, 5, 6], "oper": [1, 8], "relev": 1, "like": 1, "contributor": 1, "branch": 1, "main": 1, "protect": 1, "abl": 1, "push": 1, "directli": [1, 4, 5, 9], "onc": [1, 9], "readi": 1, "discuss": 1, "templat": 1, "fill": 1, "out": [1, 8], "help": [1, 3], "pip": [1, 4, 5, 8], "number": [1, 2, 3, 8, 9], "pyproject": 1, "toml": 1, "updat": [1, 8], "sure": [1, 5], "match": 1, "conf": 1, "py": [1, 8], "ensur": [1, 8], "correct": 1, "Be": 1, "all": [1, 2, 3, 8, 9], "befor": [1, 2, 5, 6, 8], "commit": 1, "date": 1, "pass": [1, 9], "approv": 1, "liz": [1, 4], "merg": 1, "acknowledg": 1, "futur": [1, 8], "plan": 1, "contact": 1, "ect_graph": 2, "num_dir": [2, 9], "num_thresh": [2, 9], "bound_radiu": [2, 9], "none": [2, 3, 9], "sourc": [2, 3, 5], "calcul": [2, 3, 8, 9], "input": [2, 9], "embed": [2, 4, 7, 10], "result": 2, "matrix": [2, 8, 9], "where": [2, 8, 9], "entri": 2, "m": [2, 8, 9], "j": [2, 8], "chi": [2, 8, 9], "k_": [2, 8], "a_i": 2, "omega_j": 2, "ith": 2, "self": 2, "thresh": [2, 8, 9], "theta": [2, 3, 8, 9], "attribut": [2, 3, 9], "int": [2, 3, 8], "consid": [2, 3], "threshold": [2, 9], "either": 2, "posit": [2, 8], "radiu": [2, 3, 8, 9], "bound": [2, 3, 9], "circl": [2, 3, 8, 9], "ect_matrix": 2, "np": [2, 3, 8, 9], "arrai": [2, 8, 9], "store": [2, 9], "sect_matrix": [2, 9], "sect": [2, 10], "__init__": [2, 3], "construct": [2, 10], "necessari": [2, 9], "object": [2, 3, 9], "set_bounding_radiu": [2, 9], "manual": 2, "center": [2, 3, 8, 9], "origin": [2, 3, 8, 9], "get_ect": [2, 9], "get_sect": 2, "calculateecc": [2, 9], "tightbbox": [2, 9], "fals": [2, 3, 8, 9], "comput": [2, 3, 4, 10], "coordin": [2, 3, 9], "each": [2, 3, 8, 9], "vertex": [2, 3, 9], "po": [2, 3, 8], "nx": [2, 9], "float": [2, 3], "angl": [2, 3], "radian": 2, "rotat": [2, 9], "bool": [2, 3], "true": [2, 3, 8, 9], "tight": [2, 8], "box": [2, 3], "default": [2, 9], "calculateect": [2, 9], "compute_sect": [2, 9], "embeddedgraph": [2, 3, 7, 9], "a_j": 2, "omega_i": 2, "jth": 2, "whether": [2, 3], "differ": [2, 8], "otherwis": 2, "alreadi": [2, 3, 9], "set_bounding_box": 2, "method": [2, 3, 9], "after": 2, "doesn": 2, "t": [2, 8, 9], "repres": [2, 3], "size": [2, 8, 9], "calculatesect": [2, 9], "smooth": [2, 9], "plotecc": [2, 9], "plot": [2, 3, 8, 9], "curv": [2, 9], "ecc": 2, "specif": [2, 3, 9], "0": [2, 3, 8, 9], "pi": [2, 3, 8, 9], "plotect": [2, 9], "axi": [2, 8], "plotsect": 2, "plot_typ": 2, "str": [2, 3, 8], "embed_graph": 3, "2d": [3, 4, 9], "dict": 3, "dictionari": [3, 9], "map": [3, 9], "vertic": [3, 8, 9], "initi": [3, 9], "empti": 3, "add_vertex": [3, 9], "assign": 3, "add_edg": [3, 9], "u": 3, "v": [3, 9], "edg": [3, 8], "between": 3, "get_coordin": 3, "whose": 3, "tupl": 3, "set_coordin": 3, "valueerror": 3, "doe": [3, 9], "get_bounding_box": 3, "minimum": 3, "maximum": 3, "get_bounding_radiu": [3, 9], "get_mean_centered_coordin": 3, "mean": [3, 8], "set_mean_centered_coordin": [3, 9], "warn": 3, "overwrit": [3, 9], "g_omega": [3, 9], "g_": [3, 9], "omega": [3, 8, 9], "defin": [3, 9], "langl": [3, 9], "texttt": 3, "rangl": [3, 9], "g_omega_edg": 3, "equal": 3, "max": [3, 8], "sort_vertic": 3, "return_g": 3, "sort": 3, "accord": 3, "eventu": [3, 4], "we": [3, 9], "want": [3, 9], "re": 3, "might": 3, "along": [3, 4], "increas": 3, "vertex_nam": 3, "func_valu": 3, "sort_edg": 3, "mid": 3, "lower_edg": 3, "lower": [3, 8], "v_list": 3, "vector": [3, 9], "2pi": [3, 8], "bounding_circl": [3, 9], "color_nodes_theta": [3, 9], "drawn": 3, "around": [3, 8], "Then": [3, 9], "node": [3, 9], "color": [3, 8, 9], "create_example_graph": [3, 7, 9], "mean_cent": 3, "test": [3, 8], "tool": 4, "graph": [4, 7, 10], "modul": 4, "contribut": 4, "cite": 4, "right": [4, 8, 9], "now": [4, 8, 9], "stuff": 4, "goal": 4, "voxel": 4, "higher": [4, 5], "dimension": 4, "simplici": 4, "complex": [4, 8], "etc": 4, "see": [4, 9], "avail": 4, "io": 4, "jupyt": [4, 9], "notebook": [4, 8, 9], "found": [4, 6], "networkx": [4, 9], "numpi": [4, 8, 9], "matplotlib": [4, 8, 9], "numba": 4, "packag": [4, 5, 9], "altern": [4, 5], "repo": 4, "git": [4, 5], "cd": [4, 5], "code": [4, 8, 9], "wa": [4, 8, 9], "her": 4, "research": 4, "group": 4, "collabor": 4, "peopl": 4, "who": 4, "sarah": 4, "mcguir": 4, "under": 4, "gplv3": 4, "websit": 4, "email": 4, "7": [5, 8, 9], "termin": 5, "simpli": 5, "full": [6, 9], "agreement": 6, "gnu": 6, "read": 6, "carefulli": 6, "softwar": 6, "paper": [8, 9], "appear": 8, "maa": 8, "monthli": 8, "2024": 8, "import": [8, 9], "pyplot": [8, 9], "plt": [8, 9], "teaspoon": 8, "rcparam": 8, "usetex": 8, "font": 8, "famili": 8, "helvetica": 8, "serif": 8, "__version__": 8, "39": [8, 9], "4": [8, 9], "colormap": 8, "transpar": 8, "issu": 8, "cmap_viridi": 8, "cm": 8, "viridi": 8, "set_bad": 8, "white": 8, "cmap_binari": 8, "tab20b": 8, "imread": 8, "leafbw": 8, "tif": 8, "255": 8, "f_finit": 8, "copi": 8, "2000": 8, "ones_lik": 8, "print": [8, 9], "shape": [8, 9], "nan": 8, "matshow": 8, "cmap": 8, "fig": 8, "gcf": 8, "set_raster": 8, "set_figwidth": 8, "5": [8, 9], "titl": 8, "savefig": 8, "png": 8, "dpi": 8, "300": 8, "ep": 8, "facecolor": 8, "bbox_inch": 8, "pdf": 8, "makefernp": 8, "maxrow": 8, "maxcol": 8, "co": [8, 9], "sin": [8, 9], "col": 8, "row": 8, "meshgrid": 8, "rang": 8, "floor": 8, "fmask": 8, "dt": [8, 9], "multipli": 8, "colorbar": 8, "fraction": 8, "035": 8, "pad": 8, "04": 8, "demet": 8, "dir": 8, "misc": 8, "time": [8, 9], "tifffil": 8, "tf": 8, "leaf_fil": 8, "leaf_img": 8, "ax": 8, "subplot": 8, "figsiz": 8, "20": [8, 9], "6": [8, 9], "imshow": 8, "grai": 8, "200": 8, "250": 8, "280": 8, "310": 8, "c": [8, 9], "red": 8, "lw": 8, "tic": 8, "perf_count": 8, "leaf": 8, "cubicalcomplex": 8, "complexifi": 8, "toc": 8, "4f": 8, "n": 8, "ncubic": 8, "made": 8, "format": 8, "summari": 8, "0271": 8, "cubic": 8, "53832": 8, "99196": 8, "45167": 8, "squar": 8, "197": 8, "cell": 8, "271": 8, "57746322": 8, "89": 8, "89517387": 8, "90": 8, "270": 8, "88": 8, "259": 8, "42253678": 8, "44": 8, "10482613": 8, "43": 8, "260": 8, "45": 8, "53828": 8, "53829": 8, "53831": 8, "53830": 8, "9": [8, 9], "53821": 8, "53822": 8, "53826": 8, "53827": 8, "53825": 8, "height": 8, "sum": 8, "128": 8, "46877882": 8, "127": 8, "76167204": 8, "152": 8, "25261331": 8, "9597201": 8, "scatter": 8, "magma": 8, "label": 8, "32": 8, "lt": 8, "0x73f180e96250": 8, "gt": 8, "177": 8, "279": 8, "vmin": 8, "150": 8, "vmax": 8, "gca": 8, "midx": 8, "set_xtick": 8, "100": 8, "arang": 8, "set_xticklabel": 8, "midi": 8, "set_ytick": 8, "set_yticklabel": 8, "fern": 8, "1000": 8, "0x73f16b1855d0": 8, "without": 8, "thetastr": 8, "r": [8, 9], "thetastrsfil": 8, "pi_over_4": 8, "3pi_over_4": 8, "3pi_over_2": 8, "7pi_over_4": 8, "enumer": 8, "im": 8, "xaxi": 8, "set_ticks_posit": 8, "bottom": 8, "f_": [8, 9], "get_size_inch": 8, "height_fig": 8, "fern_": 8, "_nocolorbar": 8, "7853981633974483": 8, "356194490192345": 8, "71238898038469": 8, "497787143782138": 8, "03": 8, "set_figheight": 8, "54478873": 8, "remov": 8, "onlycolorbar": 8, "5497": 8, "makefernpicthreshold": 8, "both": [8, 9], "fmaskbelow": 8, "fmaskabov": 8, "dtdown": 8, "dtup": 8, "why": 8, "backward": 8, "someth": 8, "fight": 8, "els": 8, "50": 8, "abov": [8, 9], "theshold": 8, "tick_param": 8, "labelrot": 8, "25": 8, "thresh_size_fig": 8, "fern_3pi_over_4_thresh": 8, "clf": 8, "sharei": 8, "set_titl": 8, "fern_3pi_over_4_allthresh": 8, "numthresh": 8, "64": 8, "linspac": 8, "min": 8, "outecc": 8, "axvlin": 8, "grei": 8, "linestyl": 8, "step": 8, "xlabel": 8, "ylabel": 8, "k_a": 8, "set_size_inch": 8, "fern_3pi_over_4_ecc": 8, "get": [8, 9], "numcircledir": 8, "circledir": 8, "num": 8, "endpoint": 8, "0625": 8, "125": 8, "1875": 8, "3125": 8, "375": 8, "4375": 8, "5625": 8, "625": 8, "6875": 8, "75": 8, "8125": 8, "875": 8, "9375": 8, "choos": [8, 9], "stop": 8, "ect_preprocess": 8, "overallmin": 8, "overallmax": 8, "omegavec": 8, "pixel": 8, "implicitli": 8, "285": 8, "68893688291087": 8, "line": 8, "line2d": 8, "0x73f16b12de10": 8, "omegai": 8, "redraw": 8, "mod": 8, "tmp": 8, "ipykernel_57600": 8, "1470381530": 8, "26": 8, "deprecationwarn": 8, "convers": 8, "ndim": 8, "scalar": 8, "deprec": 8, "error": 8, "extract": 8, "singl": 8, "element": 8, "perform": 8, "pcolormesh": 8, "fern_ect": 8, "900": 8, "10": [8, 9], "bigval": 8, "16": [8, 9], "11": [8, 9], "19": 8, "mpl_toolkit": 8, "mplot3d": 8, "axes3d": 8, "ipympl": 8, "widget": 8, "grid": 8, "color_dimens": 8, "desir": 8, "fourth": 8, "dimens": 8, "minn": 8, "maxx": 8, "norm": 8, "normal": 8, "scalarmapp": 8, "set_arrai": 8, "fcolor": 8, "to_rgba": 8, "24": 8, "27318197": 8, "54636394": 8, "81954591": 8, "09272788": 8, "36590985": 8, "63909182": 8, "91227379": 8, "18545576": 8, "45863773": 8, "7318197": 8, "00500167": 8, "27818364": 8, "55136561": 8, "82454758": 8, "09772955": 8, "37091152": 8, "64409349": 8, "91727546": 8, "19045743": 8, "4636394": 8, "73682137": 8, "01000334": 8, "28318531": 8, "h": 8, "cos\u03b8": 8, "k": 8, "sin\u03b8": 8, "ordin": 8, "\u03b8": 8, "360": 8, "add_subplot": 8, "111": 8, "3d": 8, "z": [8, 9], "plot_surfac": 8, "orang": 8, "surf": 8, "linewidth": 8, "set_edgecolor": 8, "set_axis_off": 8, "fern_ect_cylind": 8, "17": 8, "193": 8, "98518858": 8, "190": 8, "40235323": 8, "186": 8, "81951788": 8, "183": 8, "23668253": 8, "179": 8, "65384718": 8, "176": 8, "07101183": 8, "172": 8, "48817648": 8, "168": 8, "90534113": 8, "165": 8, "32250578": 8, "161": 8, "73967042": 8, "158": 8, "15683507": 8, "154": 8, "57399972": 8, "99116437": 8, "147": 8, "40832902": 8, "143": 8, "82549367": 8, "140": 8, "24265832": 8, "136": 8, "65982297": 8, "133": 8, "07698762": 8, "129": 8, "49415227": 8, "91131692": 8, "122": 8, "32848157": 8, "118": 8, "74564621": 8, "115": 8, "16281086": 8, "57997551": 8, "107": 8, "99714016": 8, "104": 8, "41430481": 8, "83146946": 8, "97": 8, "24863411": 8, "93": 8, "66579876": 8, "08296341": 8, "86": 8, "50012806": 8, "82": 8, "91729271": 8, "79": 8, "33445735": 8, "751622": 8, "72": 8, "16878665": 8, "68": 8, "5859513": 8, "65": 8, "00311595": 8, "61": 8, "4202806": 8, "57": 8, "83744525": 8, "54": 8, "2546099": 8, "67177455": 8, "47": 8, "0889392": 8, "50610385": 8, "92326849": 8, "36": 8, "34043314": 8, "75759779": 8, "29": 8, "17476244": 8, "59192709": 8, "22": 8, "00909174": 8, "18": 8, "42625639": 8, "14": 8, "84342104": 8, "26058569": 8, "67775034": 8, "09491499": 8, "51207963": 8, "07075572": 8, "65359107": 8, "23642642": 8, "13": [8, 9], "81926177": 8, "40209712": 8, "98493247": 8, "56776782": 8, "28": 8, "15060317": 8, "31": 8, "73343852": 8, "35": 8, "31627387": 8, "38": 8, "89910923": 8, "42": 8, "48194458": 8, "46": 8, "06477993": 8, "49": 8, "64761528": 8, "53": 8, "23045063": 8, "56": 8, "81328598": 8, "60": 8, "39612133": 8, "63": 8, "97895668": 8, "67": 8, "56179203": 8, "71": 8, "14462738": 8, "74": 8, "72746273": 8, "78": 8, "31029808": 8, "81": 8, "89313344": 8, "85": 8, "47596879": 8, "05880414": 8, "92": 8, "64163949": 8, "96": 8, "22447484": 8, "99": 8, "80731019": 8, "103": 8, "39014554": 8, "106": 8, "97298089": 8, "110": 8, "55581624": 8, "114": 8, "13865159": 8, "117": 8, "72148694": 8, "121": 8, "3043223": 8, "124": 8, "88715765": 8, "469993": 8, "132": 8, "05282835": 8, "135": 8, "6356637": 8, "139": 8, "21849905": 8, "142": 8, "8013344": 8, "146": 8, "38416975": 8, "149": 8, "9670051": 8, "153": 8, "54984045": 8, "157": 8, "1326758": 8, "160": 8, "71551116": 8, "59": 8, "402097119801482": 8, "83": 8, "circle_dir": 8, "len": 8, "per": 8, "15": [8, 9], "fontsiz": 8, "THe": 8, "crawford2019": 8, "meng22": 8, "averag": [8, 9], "avgoveromega": 8, "mcenter": 8, "33": 8, "01": 8, "95": 8, "91": 8, "34": 8, "69": 8, "07": 8, "87": 8, "98": 8, "94": 8, "51": 8, "05": 8, "101": 8, "12": [8, 9], "09992015e": 8, "23066002e": 8, "07718279e": 8, "00000000e": 8, "00": 8, "27613475e": 8, "48538992e": 8, "96331881e": 8, "03064257e": 8, "71800377e": 8, "78754838e": 8, "33582034e": 8, "12336873e": 8, "42854650e": 8, "56017471e": 8, "35074240e": 8, "25339739e": 8, "56541488e": 8, "54223334e": 8, "40758582e": 8, "66116035e": 8, "87059265e": 8, "29913915e": 8, "53175300e": 8, "cumsum": 8, "mint": 8, "walk": 9, "through": 9, "know": 9, "what": 9, "thorough": 9, "treatment": 9, "our": 9, "undirect": 9, "mathbb": 9, "same": 9, "b": 9, "d": 9, "access": 9, "becaus": 9, "aspect": 9, "often": 9, "shift": 9, "point": 9, "3333333333333335": 9, "6666666666666665": 9, "actual": 9, "4197140881138655": 9, "specifi": 9, "convert": 9, "unit": 9, "dot": 9, "product": 9, "done": 9, "shown": 9, "give": 9, "11785113019775861": 9, "11785113019775795": 9, "5892556509887904": 9, "2963624321753375": 9, "532064692570853": 9, "11785113019775761": 9, "anoth": 9, "begin": 9, "func": 9, "mapsto": 9, "infti": 9, "myect": 9, "automat": 9, "chosen": 9, "howev": 9, "hasn": 9, "been": 9, "yet": 9, "39269908": 9, "78539816": 9, "17809725": 9, "57079633": 9, "96349541": 9, "35619449": 9, "74889357": 9, "14159265": 9, "53429174": 9, "92699082": 9, "3196899": 9, "71238898": 9, "10508806": 9, "49778714": 9, "89048623": 9, "bigger": 9, "pictur": 9, "intern": 9, "1036569057366385": 9, "10365691": 9, "67169302": 9, "23972914": 9, "80776525": 9, "37580137": 9, "94383748": 9, "5118736": 9, "07990971": 9, "64794583": 9, "21598194": 9, "output": 9, "integ": 9, "correspond": 9, "fly": 9, "save": 9, "built": 9, "unlik": 9, "earlier": 9, "equival": 9, "overlin": 9, "_": 9, "2r": 9, "int_": 9, "left": 9, "da": 9, "intro": 9, "m_sect": 9, "technic": 9, "don": 9, "instead": 9, "visual": 9}, "objects": {"": [[2, 0, 0, "-", "ect_graph"], [3, 0, 0, "-", "embed_graph"]], "ect_graph": [[2, 1, 1, "", "ECT"]], "ect_graph.ECT": [[2, 2, 1, "", "__init__"], [2, 2, 1, "", "calculateECC"], [2, 2, 1, "", "calculateECT"], [2, 2, 1, "", "calculateSECT"], [2, 2, 1, "", "get_ECT"], [2, 2, 1, "", "get_SECT"], [2, 2, 1, "", "plot"], [2, 2, 1, "", "plotECC"], [2, 2, 1, "", "plotECT"], [2, 2, 1, "", "plotSECT"], [2, 2, 1, "", "set_bounding_radius"]], "embed_graph": [[3, 1, 1, "", "EmbeddedGraph"], [3, 3, 1, "", "create_example_graph"]], "embed_graph.EmbeddedGraph": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "add_edge"], [3, 2, 1, "", "add_vertex"], [3, 2, 1, "", "g_omega"], [3, 2, 1, "", "g_omega_edges"], [3, 2, 1, "", "get_bounding_box"], [3, 2, 1, "", "get_bounding_radius"], [3, 2, 1, "", "get_coordinates"], [3, 2, 1, "", "get_mean_centered_coordinates"], [3, 2, 1, "", "lower_edges"], [3, 2, 1, "", "plot"], [3, 2, 1, "", "set_coordinates"], [3, 2, 1, "", "set_mean_centered_coordinates"], [3, 2, 1, "", "sort_edges"], [3, 2, 1, "", "sort_vertices"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"]}, "titleterms": {"cite": 0, "contribut": 1, "ect": [1, 2, 4, 5, 8, 9], "packag": 1, "get": [1, 4], "start": [1, 4], "guidelin": 1, "code": 1, "style": 1, "format": 1, "document": [1, 4], "test": 1, "issu": 1, "track": 1, "pull": 1, "request": 1, "conclus": 1, "graph": [2, 3, 9], "embed": [3, 9], "euler": 4, "characterist": 4, "transform": 4, "python": 4, "tabl": [4, 7], "content": [4, 7, 10], "descript": 4, "tutori": [4, 9, 10], "depend": 4, "instal": [4, 5], "author": 4, "licens": [4, 6], "contact": 4, "inform": 4, "prerequisit": 5, "uninstal": 5, "gpl": 6, "3": 6, "0": 6, "figur": 8, "gener": 8, "invit": 8, "try": 8, "erik": 8, "": 8, "stuff": 8, "make": 8, "pictur": 8, "threshold": 8, "ecc": 8, "one": 8, "direct": 8, "let": 8, "draw": 8, "cylind": 8, "version": 8, "sect": [8, 9], "construct": 9, "comput": 9, "g": 9}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2, "sphinx.ext.viewcode": 1, "nbsphinx": 4, "sphinx": 60}, "alltitles": {"Citing": [[0, "citing"]], "Contributing to the ect Package": [[1, "contributing-to-the-ect-package"]], "Getting Started": [[1, "getting-started"], [4, "getting-started"]], "Contributing Guidelines": [[1, "contributing-guidelines"]], "Code style and formatting": [[1, "code-style-and-formatting"]], "Documentation guidelines": [[1, "documentation-guidelines"]], "Testing guidelines": [[1, "testing-guidelines"]], "Issue tracking and pull requests": [[1, "issue-tracking-and-pull-requests"]], "Conclusion": [[1, "conclusion"]], "ECT on Graphs": [[2, "module-ect_graph"]], "Embedded graphs": [[3, "module-embed_graph"]], "ect: Euler Characteristic Transform in Python": [[4, "ect-euler-characteristic-transform-in-python"]], "Table of Contents": [[4, "table-of-contents"], [7, "table-of-contents"]], "Contents:": [[4, null], [10, null]], "Description": [[4, "description"]], "Documentation and tutorials": [[4, "documentation-and-tutorials"]], "Dependencies": [[4, "dependencies"]], "Installing": [[4, "installing"]], "Authors": [[4, "authors"]], "License": [[4, "license"]], "Contact Information": [[4, "contact-information"]], "Installation": [[5, "installation"]], "Prerequisites": [[5, "prerequisites"]], "Installing ect": [[5, "installing-ect"]], "Uninstalling ect": [[5, "uninstalling-ect"]], "GPL-3.0 License": [[6, "gpl-3-0-license"]], "Figure generation for Invitation to the ECT": [[8, "Figure-generation-for-Invitation-to-the-ECT"]], "Trying Erik\u2019s stuff": [[8, "Trying-Erik's-stuff"]], "Making pictures": [[8, "Making-pictures"]], "Thresholded Figure": [[8, "Thresholded-Figure"]], "ECC in one direction": [[8, "ECC-in-one-direction"]], "ECT": [[8, "ECT"]], "Let\u2019s draw a cylinder!": [[8, "Let's-draw-a-cylinder!"]], "Erik\u2019s version": [[8, "Erik's-version"]], "SECT": [[8, "SECT"], [9, "SECT"]], "Tutorial : ECT for embedded graphs": [[9, "Tutorial-:-ECT-for-embedded-graphs"]], "Constructing the embedded graph": [[9, "Constructing-the-embedded-graph"]], "Computing the ECT of G": [[9, "Computing-the-ECT-of-G"]], "Tutorials": [[10, "tutorials"]]}, "indexentries": {"ect (class in ect_graph)": [[2, "ect_graph.ECT"]], "__init__() (ect_graph.ect method)": [[2, "ect_graph.ECT.__init__"]], "calculateecc() (ect_graph.ect method)": [[2, "ect_graph.ECT.calculateECC"]], "calculateect() (ect_graph.ect method)": [[2, "ect_graph.ECT.calculateECT"]], "calculatesect() (ect_graph.ect method)": [[2, "ect_graph.ECT.calculateSECT"]], "ect_graph": [[2, "module-ect_graph"]], "get_ect() (ect_graph.ect method)": [[2, "ect_graph.ECT.get_ECT"]], "get_sect() (ect_graph.ect method)": [[2, "ect_graph.ECT.get_SECT"]], "module": [[2, "module-ect_graph"], [3, "module-embed_graph"]], "plot() (ect_graph.ect method)": [[2, "ect_graph.ECT.plot"]], "plotecc() (ect_graph.ect method)": [[2, "ect_graph.ECT.plotECC"]], "plotect() (ect_graph.ect method)": [[2, "ect_graph.ECT.plotECT"]], "plotsect() (ect_graph.ect method)": [[2, "ect_graph.ECT.plotSECT"]], "set_bounding_radius() (ect_graph.ect method)": [[2, "ect_graph.ECT.set_bounding_radius"]], "embeddedgraph (class in embed_graph)": [[3, "embed_graph.EmbeddedGraph"]], "__init__() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.__init__"]], "add_edge() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.add_edge"]], "add_vertex() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.add_vertex"]], "create_example_graph() (in module embed_graph)": [[3, "embed_graph.create_example_graph"]], "embed_graph": [[3, "module-embed_graph"]], "g_omega() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.g_omega"]], "g_omega_edges() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.g_omega_edges"]], "get_bounding_box() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.get_bounding_box"]], "get_bounding_radius() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.get_bounding_radius"]], "get_coordinates() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.get_coordinates"]], "get_mean_centered_coordinates() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.get_mean_centered_coordinates"]], "lower_edges() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.lower_edges"]], "plot() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.plot"]], "set_coordinates() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.set_coordinates"]], "set_mean_centered_coordinates() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.set_mean_centered_coordinates"]], "sort_edges() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.sort_edges"]], "sort_vertices() (embed_graph.embeddedgraph method)": [[3, "embed_graph.EmbeddedGraph.sort_vertices"]]}}) \ No newline at end of file