The Data Manifold under the Microscope
manifold-microscope provides toy and image datasets, plus finite-difference estimates of volume, scalar curvature and reach on parameter grids. It accompanies Marios Koulakis and Constantin Seibold, The Data Manifold under the Microscope (ICML 2026).
Install 
Python ≥3.10:
pip install manifold-microscope
If you want to use the experiment scripts then run:
pip install "manifold-microscope[benchmark]"
Quickstart: scalar curvature on a sphere
import numpy as np
from microscope.computations_grid.curvature import scalar_curvature
radius = 2.0
latitude = np.linspace(-0.7, 0.7, 41) # Avoid the coordinate singularities at the poles.
longitude = np.linspace(0, 2 * np.pi, 48, endpoint=False)
u, v = np.meshgrid(latitude, longitude, indexing="ij")
points = radius * np.stack(
[np.cos(u) * np.cos(v), np.cos(u) * np.sin(v), np.sin(u)], axis=-1
)
curvature = scalar_curvature(
points,
difference_intervals=[latitude[1] - latitude[0], longitude[1] - longitude[0]],
cyclic_dimensions=[1],
patch_sizes=[13, 17],
device="cpu",
)
print(f"Mean scalar curvature: {curvature.mean():.3f}")
# Approximately 0.5: a sphere has scalar curvature 2 / radius**2.
Grid APIs with a device argument default to CUDA when available, otherwise CPU. Dense image grids and experiment scripts have additional resource/device requirements.
Documentation and paper reproduction
Note: Paper reproduction is not fully seeded, so plots may vary slightly between runs. They should retain similar shapes and values in comparable ranges.
BSD-3-Clause license; adapted β-VAE code has a separate MIT attribution and license.
Citation
If you use our code in your work, please cite our paper:
@InProceedings{pmlr-v306-koulakis26a,
title = {The Data Manifold under the Microscope},
author = {Koulakis, Marios and Seibold, Constantin},
booktitle = {Proceedings of the 43rd International Conference on Machine Learning},
pages = {60568--60602},
year = {2026},
volume = {306},
series = {Proceedings of Machine Learning Research},
publisher = {PMLR},
url = {https://proceedings.mlr.press/v306/koulakis26a.html}
}
Metadata
Release files for manifold-microscope 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| manifold_microscope-0.1.0.tar.gz | 94.6 kB | Without provenance | Details for manifold_microscope-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| manifold_microscope-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for manifold_microscope-0.1.0-py3-none-any.whl |
Total release size: 218.9 kB
Release files / manifold_microscope-0.1.0.tar.gz
| Download URL | manifold_microscope-0.1.0.tar.gz |
|---|---|
| Size | 94.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21139db1fad311e3b043fe8c23d439846476aadbed97db85e2a72698c24d1c97
|
|
BLAKE2b-256 checksum How to use checksums |
5d8f58d2288bffba2ab180b8230ed23a5131d242f119aabcf5ac98cfd2e8ea54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|
Release files / manifold_microscope-0.1.0-py3-none-any.whl
| Download URL | manifold_microscope-0.1.0-py3-none-any.whl |
|---|---|
| Size | 124.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81795c4c73069ddb93b2ebd798622d06c16cb3bbdb2354942cddd0d04ff35320
|
|
BLAKE2b-256 checksum How to use checksums |
562fae248f04130b92a6a0170e2c4475ebd9675928afaedb3eda279a61d6df15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|
Security for manifold-microscope 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.