A library for computing topological data structures
Project description
A library for computing topological data structures stemming from Morse Theory. Given a set of arbitrarily arranged points in any dimension, this library is able to construct approximate topological structures using a neighborhood graph to simulate manifold structures.
Installation
Currently, you can use pip to install this package and all of its prerequisite libraries:
pip install topopy
Or to install from source, install all of the prerequiste libraries:
And then clone and build the source repository:
git clone https://github.com/maljovec/topopy.git cd topopy make python setup.py [develop|install]
Example Usage
import nglpy as ngl import numpy as np import topopy def hill(_x): _x = np.atleast_2d(_x) x = _x[:, 0] y = _x[:, 1] return np.exp(- ((x - .55)**2 + (y-.75)**2)/.125) + 0.01*(x+y) X = np.random.rand(100,2) Y = hill(X) graph = ngl.EmptyRegionGraph(beta=1.0, relaxed=False, p=2.0) msc = topopy.MorseSmaleComplex(graph=graph, gradient='steepest', normalization='feature') msc.build(X, Y) msc.get_partitions()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
topopy-1.0.2.tar.gz
(399.2 kB
view hashes)
Built Distributions
Close
Hashes for topopy-1.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61fb8f4f410b8bec32d098064d5753ddcf66087600d0e90b48ecf9529ed0ded1 |
|
MD5 | 48782a6b2540ee87ddbbef416ba1df46 |
|
BLAKE2b-256 | 68c84f59b106c6519e5e475c713badade5b5cfaedef98229c44bfef0cb5ac99b |
Close
Hashes for topopy-1.0.2-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7324c22666537b698e3aa299842569ede75c6e9f91901bed59ddc3431dfbdc23 |
|
MD5 | 54a2680355c29040cf7fcae792e96838 |
|
BLAKE2b-256 | 94d2ed21345344fc6c613e2747e491f2d8d7e5ff216802d0ffcffa7723e34338 |
Close
Hashes for topopy-1.0.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ac1264b590ab84042d04ef19102569176ce6637ba6b83c491409c4afd25f7bc |
|
MD5 | 63fb4e89535bf5d434da3233eaae1c40 |
|
BLAKE2b-256 | 8160319ce7cfdf394a8500ee2f0b0721184b00ca5e43a6e221b12e622e5cbf9b |
Close
Hashes for topopy-1.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cdd343fb7e61e8516575a9e2a3941eea59a771b9ba77ed5850e3b9d291e1c64 |
|
MD5 | 94ae32ba71872331dd65aaed64bec4ec |
|
BLAKE2b-256 | e46d0e03e106eccf435590cb2ea625180f95b02edf742084366488e64ec054ed |
Close
Hashes for topopy-1.0.2-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05411ab36b64ceae77e7979e558f165202cd9c26ebc1865d0e6a657ecd6c2a58 |
|
MD5 | 0c3ffbf5ae8601f786ad218dd500d9c6 |
|
BLAKE2b-256 | f27a4d212be2cae5c81d241d562c4fb180bf81badb0c984e2ffa0b15a6213d2a |
Close
Hashes for topopy-1.0.2-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f09d7e7579e9edf947bb9a28842cf06736aa9e9a53d896d3887a8cc7d0025f7f |
|
MD5 | ab3a9997d4a506a85d29d651bb240c12 |
|
BLAKE2b-256 | dfd5c98f4cc357af34dc0f91f2c6621568f97cc9d3df63b9907a8ee79ada42be |
Close
Hashes for topopy-1.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b719967df6cc832cf63e35a04a51bc69cf16fa13d3f68df24619fe655357335 |
|
MD5 | e389d89875e604b8249ca0daea741cca |
|
BLAKE2b-256 | 84998224268b398d62d9d6216d16f942572f76076035255572771372b492ff8f |
Close
Hashes for topopy-1.0.2-pp37-pypy37_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6cd2aa9fa3c40675dda98603ac8a5244e300288d13c4e7a1fd936de707a7297 |
|
MD5 | e93b0b72830188b0c566261c32f34041 |
|
BLAKE2b-256 | e9fde4f7f0ae4af5c8d7d8ebbb064e03985c8543cfe000beecd04e158f6f8468 |
Close
Hashes for topopy-1.0.2-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6b6346b2cecc6bc9b1b0d1d02a6803fd52b3f21880347883845fe068b7b2f98 |
|
MD5 | 577c6e775820c36c924eac077080d5d7 |
|
BLAKE2b-256 | 58ed88eb8b92dfc74898f91fec53bc50394c720ecd41d79ac0b691081c9d8414 |
Close
Hashes for topopy-1.0.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7fce933839611e7d247fc61b2f7cea0db04707f6176593d071950b7b5bbc3f |
|
MD5 | 2b6603170a30a8f3ffbfc8f6da1336b3 |
|
BLAKE2b-256 | 3539f53fbeea7d176940c1f828479a7795dbdf758770cc6c19244de6d1b4f92e |
Close
Hashes for topopy-1.0.2-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 582fa2c1dea01ed0f8f92306ea7c14f5791f33903f8f338a499660a9814c8499 |
|
MD5 | d31d98e19e31f1d9443ac370e7cb41f6 |
|
BLAKE2b-256 | 31aa65ccddcbe26f596f75bd86f4ae2f0a7faeeba0220d49f1be815fb4a493d2 |
Close
Hashes for topopy-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98682e4e58d93c19bce1d5ec909cccc320f77e4fd69862157ecc2cbe7070a3ca |
|
MD5 | 62594a1a4ac8799e24a150457ea543eb |
|
BLAKE2b-256 | 58b531ccc74802c5526f70d707ddf335278082920a1b7e5de864a0e9189c40fd |
Close
Hashes for topopy-1.0.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d95a1e5335249b89e3db4b6c704a1e08ec4611a38cc8152d594c8fd81d99cc |
|
MD5 | 064ff1c6b0cccb4e586e2793f3f03a23 |
|
BLAKE2b-256 | 9de68c052c99a884a2046a8fb2ab7f32adf029e58223ef5aa56710ca55c75b96 |
Close
Hashes for topopy-1.0.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cd1fbd9fbd3cbc83378d25368240b8cc72fdce6c6a1117b5ec3018b7c57966b |
|
MD5 | d7a47547934c9be96cd0a0d90bedb1ef |
|
BLAKE2b-256 | 0945700af76455431a105c55afe7d9b6e8c61a8d806c71e832426c58888c2be3 |
Close
Hashes for topopy-1.0.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba2745632d3f94b545ea5f4e211f74d2b84489cc4eb4051388fbc69510790327 |
|
MD5 | 12a5d7a7145f11776affdac951bacaf6 |
|
BLAKE2b-256 | b5d1dcf10bfab82e3b707cc32dd0b8d0c90d3e8314e26e46dfafd1a5ced3f8f3 |
Close
Hashes for topopy-1.0.2-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9eb07cd44a1205b3aad5f57376840fee4eecb2af75c2ee2c5a0d368d1163a518 |
|
MD5 | dcb47cb21c7ae05e19b8441111d5e888 |
|
BLAKE2b-256 | 90f966453ed401a3617d9d5a3de327e7cafb4ad558447da09d811f6070d045de |
Close
Hashes for topopy-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f92debbe72d6627f21a514390bc95c8679a652e538c523566b81e37befa2d3a7 |
|
MD5 | 0afa78b2f944d8f721159c6905667964 |
|
BLAKE2b-256 | 1853d354f584bb1c8da21a9cd61b491c36e50662960b2a3b1c48183dd091790f |
Close
Hashes for topopy-1.0.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67a51ed650f0f720084c2a6c1e374eab4d4c9dac925dda465504093fcd9f83c0 |
|
MD5 | 947d0f42f067497b2bb8f2801daa0761 |
|
BLAKE2b-256 | 2043485a2473702e89817ec1ce5eb645b9f6d9b94c23ff2ee240b26adef57c79 |
Close
Hashes for topopy-1.0.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4744963da8765e76947c1dc0bfba22b672e7403abff5501287f1af01ffec56d1 |
|
MD5 | d50438592a62f5ae4d143c78bf7d8dd9 |
|
BLAKE2b-256 | c4efd2ed36c5dac429d673700668924727c76ead43d46f0fd345538e91350594 |
Close
Hashes for topopy-1.0.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51d21a04ead49372d17fbf63a61053774f2e6bd77d5f013a8432cc0da6072816 |
|
MD5 | 74f8d059996e62e487be9f7526dfd029 |
|
BLAKE2b-256 | 36ad07eec82cfae2fa0a08067d103512fa9a1afc1c7db044ce7c409bea8f63f8 |
Close
Hashes for topopy-1.0.2-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e62e8cf5d6c4b57cd3d846abf5b511628ecfd206858f64ca250d57f0a1b86a53 |
|
MD5 | 282c6b46f512f8a9d07c10b3ded43248 |
|
BLAKE2b-256 | 34a58565653821203a879d8d802fb16498664ba7f66dd69969172cf1401a9ea6 |
Close
Hashes for topopy-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b83febe0f35b15f2dda6c11c20d1ab950b755b6569bc1eb167a4026ef51e461a |
|
MD5 | 169b87a8d64ed36229b87e4adf9247e8 |
|
BLAKE2b-256 | ad55d90c70586a6d66b1e952383d7cd435c1be2168cd098978e13b7dfc9f7926 |
Close
Hashes for topopy-1.0.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91cd5c80af518fe13e25cf6c87b31a6ed56eb8da1f69c598cb159fc0e07b3371 |
|
MD5 | 8ca95072994c2af151fe8c230629c39d |
|
BLAKE2b-256 | b0bae8140d225f839ba4ace4ab623bedeb9a661a951bd882dfcfaac33a681130 |
Close
Hashes for topopy-1.0.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6f8e8a909a36451ed839c5d4ce3f17e4d37f2b34c17ab55ab40b0a7d76ed8c7 |
|
MD5 | ae8f763506b84c5278ad1afa0415f294 |
|
BLAKE2b-256 | 12b5743a57defcbc0a68d883bac25e145fcdbf4a22965a2a7d56504d5245f3b4 |
Close
Hashes for topopy-1.0.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5695709ed71a7e1c48f6d79a5b1d1ecc2b8a95e245f0b69876c74575174ce2b7 |
|
MD5 | 945d6bf207561de0e02cf9b99b5d7439 |
|
BLAKE2b-256 | 77469d3f5db5184d2f26e98b28e43f3bd32c3db1879a24a0f5eac86723afc926 |
Close
Hashes for topopy-1.0.2-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 874a90b9fe35af5fac2daa531c32f778b61bbb9946a298190445355b28af1614 |
|
MD5 | 1b0d79ac48bb21dfb879832cb77df28c |
|
BLAKE2b-256 | 4c1212f0a226a7683515be0f23eaea11530e75a1ab6029e15030e95eb74690b8 |
Close
Hashes for topopy-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9460d0cb397e3ca3fb4618aec97cf8e891f439298f784bfc991b1bacc43e38f6 |
|
MD5 | 442ba80a4750b0cb2d86080220cc242f |
|
BLAKE2b-256 | d59b33213979ec9d0bcd0fcb9ca7db306e79a52eb15e28af1a75a48c321458b3 |
Close
Hashes for topopy-1.0.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c75c34edbabfc5226df5836eabba365048629851d12013eb749272f13445c8b8 |
|
MD5 | 43c229c8d52290c5c58d7d590d12e227 |
|
BLAKE2b-256 | 52d3ee135e18822e2cf74785daf590f1da9c51f602b6055b15e58238f4a93f0b |
Close
Hashes for topopy-1.0.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1e2eecdeb4f943c999d27ec445c272d73e1882fa77245fb1208fa781330909c |
|
MD5 | 771e525b952d1d882c1ca4e5d10ae145 |
|
BLAKE2b-256 | 6db64bd19db482415e69829d87c5a5026620a6680fb3462716b2479363018021 |
Close
Hashes for topopy-1.0.2-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a3ec90aacd32c4e61de08b5ce6847dc6a4ee45ebdc5269c8e3cadcc05113c07 |
|
MD5 | e6e87dca35d3b9bae87963fe6c8c4c09 |
|
BLAKE2b-256 | 600977d03fb2cfd45cb195c9f7bbc6c4d768fc68d0e33b14825db5197b066bb7 |
Close
Hashes for topopy-1.0.2-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 808c3241051b96a738526b46920f4f21dc8a010959b8c2f727c143c83afde449 |
|
MD5 | b22f5312fb86242c07fcf15f1109f100 |
|
BLAKE2b-256 | 8e4eff1e9017faee7e4b3987fda5822c473f78f5cf9553a02d0ed3268e0ed15a |
Close
Hashes for topopy-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ccf2122f683c0d5f4a3fb10cd1c2ee9d92a314e009bee969e3aa6e58462377f |
|
MD5 | 53c990acdd0d335a08b689426b56f777 |
|
BLAKE2b-256 | c58245fd440e46fece279301fc746a7630dc6448343130cba60034b9884c155c |
Close
Hashes for topopy-1.0.2-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b22372e5d1be56bfeb6cb1fd98922f2ee1f46361aca19ab2e05fe4770fc3c67 |
|
MD5 | 82122261f962b9fd66ca32b947751b60 |
|
BLAKE2b-256 | 153797043bcd5829c00d66b45f39e12748f3881321e8e6b4dca30658cde7957c |
Close
Hashes for topopy-1.0.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2ad0cc7874758192bb23d92e2b0a55a1a3bb8c49df6ccbb0540b3946e20aa30 |
|
MD5 | 6f6d987de2c4df52081fb4697b89a3b0 |
|
BLAKE2b-256 | b0d978bc7f7e51d6b558f340026cdd719811abc806099621c299e05f542245a3 |