Skip to main content

awesomeTMC — Triplet Markov Chains for Fast Optimal Filtering in Gaussian Markov Switching Systems

Simulation and fast exact jump-filtering algorithms for the paper:

On a New Family of Models for Exact Fast Filtering in Gaussian Markov Switching Systems
Stéphane Derrode, Clément Fernandes, Ugo Hubert-Almuzara, Frédéric Lehmann & Wojciech Pieczynski (preprint, 2026)

DOI

The paper introduces an exact, linear-time optimal filter for Gaussian switching state-space models satisfying a closed-form structural constraint (the AB constraint; these models are called CGOMSM2 in the paper, and the models with C = 0 are called CGOMSM1; earlier releases said NGH-MSM and CGO-MSM, and the API keeps that spelling in NGHMSMParams, validate_ngh_msm and the filter mode "ngh_kf"). The command that regenerates the tables and figures of its Section V from this code is in Reproducing Section V of the paper below.

The library also backs a second paper, on the classical collapse filters:

When Are the IMM and GPB2 Filters Exact? A Complete Characterization in Pairwise Markov Switching Models
Frédéric Lehmann & Stéphane Derrode (in preparation, 2026)

It characterizes the models on which the order-1 IMM and GPB2 reproduce the exact filter; see Reproducing the exactness-domain paper.

This README documents the jump-filtering pipeline: define a model → simulate → filter exactly.


Scientific context

The project targets Gaussian Switching Systems (GSS), a class of hidden Markov models where the state $(X_n, Y_n)$ evolves according to a regime $R_n \in {0,\ldots,K-1}$:

$$Z_{n+1} = F(R_{n+1}),Z_n + W_{n+1}, \qquad Z_n = \begin{bmatrix}X_n \ Y_n\end{bmatrix}$$

with $F(k) = \begin{bmatrix}A_k & B_k \ C_k & D_k\end{bmatrix}$ and a regime-dependent Gaussian noise $W_{n+1}\mid R_{n+1}=k \sim \mathcal{N}(0,\Sigma_W(k))$ whose covariance splits into blocks aligned with $(X_n, Y_n)$:

$$\Sigma_W(k) = \begin{bmatrix}\Sigma_U(k) & \Delta(k) \ \Delta(k)^{\top} & \Sigma_V(k)\end{bmatrix},$$

so that $\Sigma_U(k)$ is the state-noise covariance, $\Sigma_V(k)$ the observation-noise covariance, and $\Delta(k)$ the cross-covariance between the state and observation noises.

The central objective is to compute $\mathbb{E}[X_n \mid Y_{1:n}]$ efficiently (fast optimal filter).

The AB structural assumption translates into an algebraic constraint between the seven block matrices $(A, B, C, D, \Sigma_U, \Sigma_V, \Delta)$ of each regime. Since v0.13.0 the constraint is enforced by the closed-form AB constraint:

$$ A(k) = \Delta(k),\Sigma_V(k)^{-1},C(k), \qquad B(k) = \Delta(k),\Sigma_V(k)^{-1},D(k). $$

This is the unique parametrisation of $(A, B)$ compatible with AB uniformly in the joint covariance $\Sigma(r_1)$. The free blocks per regime become $(C, D, \Sigma_U, \Sigma_V, \Delta)$, and a model is tested for AB block by block: it is AB-constrained iff the residuals $A(k) - M(k) C(k)$ and $B(k) - M(k) D(k)$, $M(k) = \Delta(k) \Sigma_V(k)^{-1}$, vanish at every regime (ab_residual_max, relative to the size of the two terms of each difference). The weaker pairwise regression condition — that $X_{n+1}$ be independent of $Y_n$ given $(R_n, R_{n+1}, Y_{n+1})$ for the stationary law of an AB model — is kept as a diagnostic (pu_residual_max); it vanishes on models the constant-gain filter is biased on, so it is not an AB test.

from awesometmc.utils.ab_constraint import compute_AB, apply_AB_constraint

# Single regime: closed-form helper
A, B = compute_AB(C, D, Delta, Sigma_V)

# All regimes at once: project an existing GSSParams onto the AB manifold
constrained_params = apply_AB_constraint(params)

In the GUI, a single "AB constraint on (A(k), B(k))" checkbox per regime locks both blocks simultaneously. See the CHANGELOG for details and the v0.11 → v0.13 migration table.

Why this matters for filtering. The AB constraint is exactly the closed-form condition under which the observation marginal $(R_n, Y_n)$ is itself a homogeneous Markov chain. This marginal Markovianity is what makes an exact, linear-time optimal filter possible: $p(R_n \mid Y_{1:n})$ is propagated by a forward recursion and $\mathbb{E}[X_n \mid Y_{1:n}]$ then follows in closed form, with no Riccati covariance propagation to carry. The condition $C(k) \neq 0$ characterises this new family, distinguishing it from the classical conditionally-Gaussian switching models ($C = 0$); it is checked at model-build time.


Installation

Python 3.14 is required (declared in pyproject.toml). A virtual environment is recommended (the system-wide Homebrew NumPy does not load correctly on this platform).

From PyPI (library only)

python3.14 -m venv .venv
source .venv/bin/activate
pip install awesomeTMC            # or "awesomeTMC[gui]" for the PyQt6 GUI

The distribution is called awesomeTMC; the package it installs is imported as awesometmc (from awesometmc.filter import GSSFilter). The models of awesometmc/models/, the filters, the learning modules and the python -m awesometmc.simulate / python -m awesometmc.filter.main / python -m awesometmc.gui.main entry points are included; the paper experiments read data and write results relative to the repository, so they need a clone (below).

From a clone (development, paper experiments)

# Clone the repository
git clone https://github.com/SDerrode/awesomeTMC.git
cd awesomeTMC

# Create and activate the venv (must point to Python 3.14)
python3.14 -m venv .venv
source .venv/bin/activate

# Install the package (editable) + dev dependencies
pip install -e ".[dev]"

# Optional: GUI dependencies (PyQt6 + matplotlib)
pip install -e ".[gui]"

The .venv/ directory is excluded from version control (see .gitignore).

A Makefile wraps the canonical workflow and always invokes the venv interpreter explicitly (.venv/bin/python), which avoids the silent "wrong interpreter" failures described below:

make venv      # create .venv with python3.14
make install   # editable install + dev deps
make test      # run the test suite
make check     # lint + typecheck + tests (CI parity)
make help      # list all targets

Override the bootstrap interpreter if needed: make venv PYTHON_SYS=/path/to/python3.14.

Troubleshooting: Package 'awesometmc' requires a different Python

If pip install fails with

ERROR: Package 'awesometmc' requires a different Python: 3.11.15 not in '>=3.14'

it means pip is bound to a Python interpreter older than 3.14 (typical on macOS where Homebrew installs pip for python@3.11). Check with:

pip --version
# pip 26.x from /opt/homebrew/lib/python3.11/site-packages/pip (python 3.11)  ← wrong

Fix it with one of the following:

# (a) Activate the project venv first — cleanest for development
source .venv/bin/activate && pip install -e ".[dev]"

# (b) Use the venv's pip explicitly, no activation needed
./.venv/bin/pip install -e ".[dev]"

# (c) Bypass the global pip shim and use python 3.14 directly
python3.14 -m pip install -e ".[dev]"

# (d) Use the version-suffixed pip
pip3.14 install -e ".[dev]"

After running any of these, pip --version from within the venv should report (python 3.14).


Running the simulator

# Basic run: 1 000 steps, reproducible seed
python -m awesometmc.simulate --model model_gss_K2_q1_s1 -N 1000 --seed 42

# Dry run (no CSV written), full debug output
python -m awesometmc.simulate --model model_gss_K2_q1_s1 -N 500 --no-save --log-level DEBUG -v 2

# Enforce AB constraint: A, B from (C, D, Δ, Σ_V) before simulating
python -m awesometmc.simulate --model model_gss_K2_q1_s1 -N 1000 --seed 42 --constraint

# Custom output directory
python -m awesometmc.simulate --model model_gss_K2_q1_s1 -N 2000 --seed 0 --output my_run.csv

Output CSV columns: n, r, x_0, …, x_{q-1}, y_0, …, y_{s-1}
Log files are written automatically to logs/.

CLI options

Option Default Description
--model — Model name in awesometmc/models/ (required)
-N — Number of time steps (required)
--seed None Random seed (omit for non-deterministic)
--output auto Output CSV filename
--log-level from config.toml DEBUG/INFO/WARNING/ERROR
--no-save False Skip CSV writing (dry run)
--constraint False Apply AB constraint: A=Δ Σ_V⁻¹ C, B=Δ Σ_V⁻¹ D before run
-v / --verbose 1 Console verbosity: 0=silent, 1=normal, 2=debug

Running the filter

The filter computes $\mathbb{E}[X_n \mid Y_{1:n}]$, $\mathbb{E}[X_nX_n^T \mid Y_{1:n}]$, and $p(R_n \mid Y_{1:n})$ recursively, in time linear in $n$.

# Simulate 1 000 steps and filter in one command
python -m awesometmc.filter.main --model model_gss_K2_q1_s1 -N 1000 --seed 42

# Filter from an existing simulation CSV
python -m awesometmc.filter.main --model model_gss_K2_q1_s1 \
    --csv data/simulated/simulated_model_gss_K2_q1_s1_N1000_seed42.csv

# Enforce AB constraint before filtering
python -m awesometmc.filter.main --model model_gss_K2_q1_s1 -N 1000 --seed 42 --constraint

# Dry run (no CSV written)
python -m awesometmc.filter.main --model model_gss_K2_q1_s1 -N 500 --no-save -v 2

Output CSV columns: n, E_x_0, …, E_x_{q-1}, V_x_0, …, V_x_{q-1}, p_r_0, …, p_r_{K-1}, sq_err

Column Description
E_x_i $\mathbb{E}[X_{n,i} \mid Y_{1:n}]$ — filtered mean
V_x_i $\mathrm{Var}(X_{n,i} \mid Y_{1:n})$ — posterior variance (diagonal)
p_r_k $p(R_n = k \mid Y_{1:n})$ — regime probability
sq_err $|X_n - \mathbb{E}[X_n \mid Y_{1:n}]|^2$ — squared error (requires true X)

CLI options

Option Default Description
--model — Model name in awesometmc/models/ (required)
--csv None Path to an existing simulation CSV
-N — Steps to simulate (required without --csv)
--seed None Random seed for simulation
--output auto Output CSV filename for filter results
--log-level from config.toml DEBUG/INFO/WARNING/ERROR
--no-save False Skip all CSV writing (dry run)
--constraint False Apply AB constraint: A=Δ Σ_V⁻¹ C, B=Δ Σ_V⁻¹ D before run
-v / --verbose 1 Console verbosity: 0=silent, 1=normal, 2=debug

Python API

from awesometmc.classes.GSSParams import GSSParams
from awesometmc.models.model_gss_K2_q1_s1 import ModelGssK2Q1S1
from awesometmc.filter import GSSFilter

params = GSSParams.from_model(ModelGssK2Q1S1())
filt   = GSSFilter(params)

# Step by step
for y in observations:          # y shape (s,) or (s, 1)
    res = filt.step(y)
    print(res.E_x)              # E[X_n | y_{1:n}]  shape (q, 1)
    print(res.Var_x)            # Var[X_n | y_{1:n}] shape (q, q)
    print(res.pi)               # p(r_n | y_{1:n})   shape (K,)

# Or in one call
sim_path, df = filt.run(N=1000, seed=42, output_dir="data/simulated")

Worked examples: runnable notebooks are in notebooks/ — a quickstart (01_filtering_quickstart.ipynb) and a filter comparison (02_filters_comparison.ipynb), and fuzzy switching models (03_fuzzy_switches.ipynb).

AB constraint API

from awesometmc.utils.ab_constraint import (
    ab_residual_max, apply_AB_constraint, compute_AB, compute_ab_block_residuals,
)

# Apply A = Δ Σ_V⁻¹ C, B = Δ Σ_V⁻¹ D to all regimes at once
constrained_params = apply_AB_constraint(params)

# Or compute (A, B) for a single regime from (C, D, Δ, Σ_V)
A, B = compute_AB(C, D, Delta, SV)

# Verify that one regime (A, B, C, D, Δ, Σ_V) satisfies AB, block by block:
R_A, R_B = compute_ab_block_residuals(A, B, C, D, Delta, SV)  # A − M C, B − M D
# ... or a whole model: largest relative block residual over the regimes,
# with the regime and block that attain it. 0 ⇔ AB holds.
max_rel, (k, block) = ab_residual_max(params)

validate_ngh_msm, exactness_domains(...)["constant_gain"] and the "ngh_kf" warning of GSSFilter all use this block test. The pairwise regression residuals of the earlier releases are still available as pu_residual_max / compute_pu_pair_residual / compute_pu_residual; they are necessary for AB but not sufficient, and must not be used to decide whether the constant-gain filter is exact.


Graphical interface

The GUI requires pip install -e ".[gui]" (PyQt6 + matplotlib).

# Standalone launch: choose K, q, s interactively
python -m awesometmc.gui.main -K 2 -q 1 -s 1

# Pre-fill from an existing model file
python -m awesometmc.gui.main --model model_gss_K2_q1_s1

Left panel — Parameters

Widget Description
Preset selector Load any model from awesometmc/models/ in one click; triggers a full window restart when K, q, or s differ
Parameter tabs One tab per Markov state; editable F(k), Σ_W(k), μ_{z0}(k), b(k) with block colour coding (A=blue, B=green, C=yellow, D=pink)
AB constraint checkboxes Four per tab (A / B / Σ_U / Δ=0); auto-compute B(k) or enforce Δ=0 in real-time; affected cells become read-only
Stability badges Spectral radii ρ(F), ρ(A), ρ(D) shown live below the F(k) table
Randomize button 🎲 Fills F(k) and Σ_W(k) with random stable parameters
Transition matrix P Editable (K×K) row-stochastic matrix; stationary distribution π* shown live
N / Seed Number of steps (default 1 000); optional integer seed
Monte Carlo checkbox Enables M-trajectory mode; M spinbox (default 50)
Auto-filter checkbox Runs Filter automatically after each single Simulate

Right panel — Plots (2 + q + 2s subplots, shared x-axis)

Subplot Content
R_n Regime sequence (step plot)
π_n(k) Filtered regime posteriors — one line per state, populated after Filter
X^i (×q) Hidden component(s); filter overlay (dashed mean ± 2σ band) added after Filter
Y^i (×s) Observed component(s)
ν^i (×s) Filter innovations, populated after Filter

Simulation modes

Mode How
Single trajectory Simulate → optional Filter (or tick Auto-filter)
Monte Carlo Tick Monte Carlo, set M, Simulate — shows mean ± 2σ + median over M runs
Load CSV File → Load CSV — display external data, then run Filter with current params

Filter quality frame (shown after Filter)

Metric Description
log L Total log-likelihood and per-step mean
MSE / RMSE Against ground-truth X (only when X is available)
Ljung-Box Whiteness test per innovation component (green/amber/red badge)
Skew · Kurt Skewness and excess kurtosis badges; note that GSS innovations are theoretically a mixture of Gaussians, so non-zero kurtosis is expected

Param drift indicator — if you edit any parameter after Simulate and before Filter, the Filter button shows ⚠ Filter with a tooltip; the Filter will use the parameters captured at Simulate, not the current widget values. Re-run Simulate to apply the new parameters.

Keyboard shortcuts

Shortcut Action
Ctrl+R Simulate
Ctrl+F Filter
Ctrl+Shift+R Reset
Ctrl+S Save CSV
Ctrl+O Load CSV
Ctrl+E Export model code (.py)
Ctrl+Shift+E Export plots (PNG/PDF/SVG)
Ctrl+I Innovation histograms
Ctrl+Shift+X MC X distributions

Window geometry, splitter position, M, seed, and auto-filter state are restored across sessions.


Adding a new model

Create a file awesometmc/models/model_<name>.py that subclasses BaseGSSModel:

import numpy as np
from awesometmc.models.base_gss_model import BaseGSSModel

class ModelMyGSS(BaseGSSModel):
    K, q, s = 3, 2, 1

    P = np.array(...)          # (K, K) row-stochastic

    A_list = [...]             # list of K arrays, each (q, q)
    B_list = [...]             # list of K arrays, each (q, s)
    C_list = [...]             # list of K arrays, each (s, q)
    D_list = [...]             # list of K arrays, each (s, s)

    Sigma_U_list = [...]       # list of K arrays, each (q, q) — SPD
    Delta_list   = [...]       # list of K arrays, each (q, s)
    Sigma_V_list = [...]       # list of K arrays, each (s, s) — SPD

    pi0 = None                 # None → stationary distribution of P
    mu_z0_list    = [...]      # list of K arrays, each (q+s, 1)
    Sigma_z0_list = [...]      # list of K arrays, each (q+s, q+s) — SPD

    def get_params(self) -> dict:
        return {k: getattr(self, k) for k in (
            "K", "q", "s", "P",
            "A_list", "B_list", "C_list", "D_list",
            "Sigma_U_list", "Delta_list", "Sigma_V_list",
            "pi0", "mu_z0_list", "Sigma_z0_list",
        )}

Then run with --model model_my_gss.


Reproducing Section V of the paper

The results of Section V (Experiments) of "On a New Family of Models for Exact Fast Filtering in Gaussian Markov Switching Systems" are regenerated by two scripts, both reachable as cases of awesometmc/experiments/tac_simulations.py: tac_stationary.py for Sections V-A to V-C (case e) and tac_rivers.py for Section V-D (case d). The other cases are the experiments of earlier versions of the manuscript; they are kept, but they are not in the paper.

# from the repo root, inside the project venv (pip install -e ".[paper]")
# the paper
python -m awesometmc.experiments.tac_simulations e          # Sections V-A to V-C  (~75 s, no simulation)
python -m awesometmc.experiments.tac_simulations d          # Section V-D  (~2 min, cached USGS data in data/real/rivers)
python -m awesometmc.experiments.tac_simulations all        # e and d (the default)
python -m awesometmc.experiments.tac_simulations replot     # tables and figures from the stored results
# earlier versions of the manuscript (not in the paper)
python -m awesometmc.experiments.tac_simulations a          # error increase at n = 2, regime known  (~10 s)
python -m awesometmc.experiments.tac_simulations b          # path from a CGOMSM1 to a CGOMSM2  (~15 min)
python -m awesometmc.experiments.tac_simulations timing     # computing times per time step
python -m awesometmc.experiments.tac_simulations transient  # only the transient study of case b

The outputs are written to results/tac_simulations/ (--out to change it):

Case Paper Outputs Content
e §V-A to §V-C, Fig. 4 (the parameters of Table I are in FAMILIES) fig_e_stationary.pdf, exp_e.json CGOMSM1 and CGOMSM2 as approximate models of a stationary THGMSM that belongs to neither family (two families of THGMSMs, study of U. Hubert-Almuzara): errors of the estimate of X₃ given y₁:₃, regimes hidden, computed by Gauss–Hermite quadrature on the four regime paths (refined until two successive changes below 1e-7), with their split into regression, weight and interaction terms; python -m awesometmc.experiments.tac_stationary sensitivity adds 104 one-at-a-time perturbations (exp_e_sensitivity.json) (tac_stationary.py)
d §V-D, Table II and Fig. 5 table_d.tex, fig_d_rivers.pdf, exp_d.json Real river-discharge data (USGS, three reaches, 2014–2023) with the gauged tributary inflow as a measured input: THGMSM, CGOMSM1 (also with |A| ≤ 0.99) and CGOMSM2 fitted per rising/falling regime, filters run on the test years, static regression as a reference, paired block-bootstrap intervals, regime accuracy (tac_rivers.py)
a earlier version, not in the paper table_a.tex, fig_a_lambda.pdf, exp_a.json Error increase at n = 2 when a THGMSM is replaced by a CGOMSM1 or a CGOMSM2, regime known: closed forms, checked by Monte Carlo
b earlier version, not in the paper table_b.tex, fig_b_homotopy.pdf, exp_b.json, exp_b_seq.npz Path of THGMSMs from a CGOMSM1 to a CGOMSM2: exact filters of both families against the exact filter by enumeration (N = 10) and an RBPF (N = 200); Monte Carlo half-widths, bootstrap of the crossing point, RBPF accuracy check, initial transient at the two ends of the path
timing earlier version, not in the paper timing.json Time per step of the exact CGOMSM1/CGOMSM2 filters, of the RBPF and of the enumeration

Notes

  • Self-contained filters. The scripts contain their own numpy implementations of the filters they use (scalar case): the exact filters of the CGOMSM1 and of the CGOMSM2 for an arbitrary initial law, the exact filter by enumeration of the regime paths, and the RBPF, with their versions with a known input. tests/test_tac_simulations.py checks them against brute-force enumeration (to about 1e-12). They do not use GSSFilter, whose ngh_kf mode starts from the Gaussian law with the stationary moments, whatever the initial law of the model.
  • Determinism. All the random numbers are seeded; the seeds are recorded in exp_b.json (cfg). The PDF figures carry no creation date.
  • River data. Case d uses the instantaneous discharge of 19 USGS gauges (U.S. Geological Survey, National Water Information System, doi:10.5066/F7P55KJN, public domain), averaged hourly (UTC) and cached in data/real/rivers/ (6.6 MB, kept in the repository because the provisional USGS records may be revised); without the cache, they are downloaded again from waterservices.usgs.gov. exp_d.json records a SHA-256 fingerprint of the cache.

Reproducing the exactness-domain paper

The numbers and figures of "When Are the IMM and GPB2 Filters Exact?" (Lehmann & Derrode) come from two scripts. Both compare the filters with the exact filter by enumeration of the KN regime paths.

# from the repo root, inside the project venv
python -m awesometmc.experiments.cns_exactness      # experiments E1–E11, printed as the paper's tables
python -m awesometmc.experiments.make_cns_figures   # the two figures, written to manuscrits/papiers/CNS-exactness/figures/

cns_exactness.py runs eleven experiments (N = 10 time steps, 100 seeds off the domains). They check each exactness domain at machine precision, the bias off each domain, the sharpness of the non-degeneracy assumption (G), and the (R, Y)-Markov class. The module docstring lists them; the blocks, switching probabilities and seeds of every model are printed with the results.

The three exactness domains of the paper can be tested on any model:

Filter Exact if and only if Function
order-1 IMM Cr = 0 for every regime imm_domain_residual
GPB2 Ck(Aj − MjCj) = 0 for every pair (j, k) gpb2_domain_residual, cross_annihilation_residual
constant gain AB constraint, Ar = MrCr and Br = MrDr for every regime awesometmc.utils.ab_constraint.ab_residual_max (block test)
from awesometmc.utils.exactness import exactness_domains, assumption_g

exactness_domains(params)
# {'imm': False, 'gpb2': True, 'constant_gain': True, 'assumption_g': True}
assumption_g(params)   # details of (G1) full support and (G2) observational separation

The residuals are relative, so a fitted or designed model can be placed on the map before a filter is chosen. When assumption_g is False, the domain flags are still the block conditions of the theorems, but a filter may then be exact off its domain. In the graphical interface, the status bar reports a violated Assumption (G) and, in GPB2 mode, the cross-annihilation residual when it is nonzero.

Figures of an earlier draft

The figures of an earlier draft of the paper ("Exact Constant-Gain Filtering in Gaussian Markov Switching Systems") are regenerated by awesometmc/experiments/make_paper_figures.py (python -m awesometmc.experiments.make_paper_figures, about 10 minutes); the exploratory harness awesometmc/experiments/study.py generates the full set of development experiments.


Testing

source .venv/bin/activate
pytest                        # full suite, ~45 s
mypy                          # strict typing on awesometmc/utils/ab_constraint.py

The suite covers matrix diagnostics, parameter validation, the iterator-based simulator, reproducibility, CSV output, statistical sanity, exact-filter correctness, and the AB constraint computation.


Configuration

Edit config.toml to change default paths and log level:

[general]
log_level = "INFO"    # DEBUG | INFO | WARNING | ERROR

[paths]
data_simulated  = "data/simulated"
logs            = "logs"

Citing

If you use this code or the AB framework in your work, please cite the paper and the software:

@misc{derrode_newfamily_2026,
  author       = {Derrode, St{\'e}phane and Fernandes, Cl{\'e}ment and Hubert-Almuzara, Ugo and Lehmann, Fr{\'e}d{\'e}ric and Pieczynski, Wojciech},
  title        = {{On a New Family of Models for Exact Fast Filtering in Gaussian Markov Switching Systems}},
  year         = {2026},
  note         = {Preprint},
}

@software{derrode_awesomeTMC_2026,
  author       = {Derrode, St{\'e}phane},
  title        = {{awesomeTMC}: Triplet {Markov} Chains for Fast Optimal Filtering in {Gaussian} {Markov} Switching Systems},
  year         = {2026},
  doi          = {10.5281/zenodo.23081190},
  url          = {https://github.com/SDerrode/awesomeTMC},
}

The concept DOI above always resolves to the latest version; each release also has its own DOI on Zenodo.

If you use the exactness domains of the IMM and GPB2 filters (awesometmc/utils/exactness.py, awesometmc/experiments/cns_exactness.py), please also cite:

@misc{lehmann_derrode_imm_gpb2_2026,
  author       = {Lehmann, Fr{\'e}d{\'e}ric and Derrode, St{\'e}phane},
  title        = {{When Are the IMM and GPB2 Filters Exact? A Complete Characterization in Pairwise Markov Switching Models}},
  year         = {2026},
  note         = {In preparation},
}

A CITATION.cff file is also provided at the repo root.


Authors

License

GNU Affero General Public License v3.0 — see LICENSE.

Metadata

Release files for awesomeTMC 3.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awesomeTMC 3.4.0
File Size Uploaded Provenance Actions
awesometmc-3.4.0.tar.gz 468.0 kB With provenance Details for awesometmc-3.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for awesomeTMC 3.4.0
File Interpreter ABI Platform Actions
awesometmc-3.4.0-py3-none-any.whl Python 3 none any Details for awesometmc-3.4.0-py3-none-any.whl

Total release size: 884.7 kB

Release files / awesometmc-3.4.0.tar.gz

Download URL awesometmc-3.4.0.tar.gz
Size 468.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c56e4c9330255afea0c6169acef219549e838459ca11f79200ff81489cfd2666
BLAKE2b-256 checksum
How to use checksums
fed7ddf588e8e0f3227f3950a4de654afd7e83dcb2fd5dd0fde18f32ba354273
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / awesometmc-3.4.0-py3-none-any.whl

Download URL awesometmc-3.4.0-py3-none-any.whl
Size 416.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
344e22b46b0b41d78330bc6d93e3b165c801fb142eb200ef6865d0e34ba49437
BLAKE2b-256 checksum
How to use checksums
18649692f144a2d64ef0be9a02caeb3d960e3c0873e04b352356ccf753d66fbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for awesomeTMC 3.4.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for awesometmc-3.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

3.4.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page