Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Circular spline coupling on a toroidal density

Fits a 2D torus with circular spline couplings that keep each angle periodic.

/home/azureuser/localfiles/geo_repos/geo_ml/gauss_flows-fit/.venv/lib/python3.13/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
  from .autonotebook import tqdm as notebook_tqdm

Generate a toroidal dataset

Each sample is an angle pair; a two-mode mixture builds torus structure.

<Figure size 600x500 with 1 Axes>

Build and train a circular coupling flow

Stack circular spline couplings with permutations and train by maximum likelihood.

<Figure size 600x400 with 1 Axes>

Sample from the trained circular flow

Samples respect angular topology: a 2pi2\\pi shift leaves log-probability unchanged.

<Figure size 1200x500 with 2 Axes>