Atelier des rouesLab FR
Objects/Documentation

cellules22.py

When relabelling a cell improves reconstruction · cellules22.py

Download ↓
"""Coarse-to-fine decision experiments. All reported bounds are exact fractions."""
from fractions import Fraction as F
from itertools import product, combinations
from math import prod, comb
from collections import Counter
import json
from deficience21 import certificate, push, tv
from verifier21 import check


def experiment(a,b,u,v):
    return [a,b,b],[[m*x for m,row in zip(masses,cond) for x in row]
                     for masses,cond in ((a,u),(b,v),(b,u))]


def preserving(a,b,u,v):

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.