SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2006.05854 · NeurIPS · 2020

Learning the Geometry of Wave-Based Imaging

Konik Kothari, Ivan Dokmanić

arXiv · PDF · Open in the Atlas

Code that ran

4 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2006.05854.json · badge: /api/ran/2006.05854.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
kkothari93/fionet community (classifier label)
classifier basis not recorded on the link
4 ran · 5 no recorded run
FunctionStatusWhere it lives
bilinear_sampler Ran
ran on a synthesized input
kkothari93/fionet/utils.py
code served (permissive licence) · get_code("42999cf5104528a5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned EagerTensor, ndim 4, dtype family float, shape (2, 4, 3, 1) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
import numpy as np

# Set seed for reproducibility
tf.random.set_seed(0)
np.random.seed(0)

# Create a small batch of images
# Shape: (B, H, W, C) = (2, 4, 3, 1)
batch_size = 2
height = 4
width = 3
channels = 1

img = tf.constant(
    np.random.randn(batch_size, height, width, channels).astype(np.float32)
)

# Create sampling grids x and y
# These should be in normalized coordinates [0, 1]
# Shape: (B, H, W) = (2, 4, 3)
x = tf.constant(
    np.random.uniform(0, 1, (batch_size, height, width)).astype(np.float32)
)
y = tf.constant(
    np.random.uniform(0, 1, (batch_size, height, width)).astype(np.float32)
)

ARGS = {
    "img": img,
    "x": x,
    "y": y,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 4, dtype family float, shape (2, 4, 3, 1) — shape (2, 4, 3, 1) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_npy_to_cl Ran
ran on a synthesized input
kkothari93/fionet/convert_npy_to_cl.py
code served (permissive licence) · get_code("17333b3dac6c5cd9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 4, dtype family float, shape (2, 4, 4, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

class MockCurveletTransform:
    """Minimal curvelet transform mock that satisfies the function's usage."""
    def __init__(self):
        # Create sample sizes structure: list of scales, each with bands
        # Each band is a tuple (height, width) representing coefficient dimensions
        self.sizes = [
            [(4, 4), (4, 4)],  # scale 0: 2 bands
            [(2, 2), (2, 2), (2, 2)],  # scale 1: 3 bands
        ]
    
    def fwd(self, img):
        """Forward transform: returns flattened coefficients."""
        # Calculate total number of coefficients
        total = sum(np.prod(g) for d in self.sizes for g in d)
        # Return a flat array of coefficients
        return np.random.randn(total)
    
    def inv(self, coeffs):
        """Inverse transform: returns reconstructed image."""
        # Return image of same size as input to fwd
        return np.random.randn(4, 4)

# Create the curvelet transform object
A = MockCurveletTransform()

# Create a small batch of images
# Shape: (batch_size, height, width, channels)
# batch_size=2, height=4, width=4, channels=1
arr = np.random.randn(2, 4, 4, 1)

ARGS = {
    "A": A,
    "arr": arr,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family float, shape (2, 4, 4, 5) — shape (2, 4, 4, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_to_cl Ran
ran on a synthesized input
kkothari93/fionet/tfrecords.py
code served (permissive licence) · get_code("e092f3e330087268")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class MockCL(nn.Module):
    def __init__(self):
        super().__init__()
    
    def mp_decompose(self, imgs):
        # Return a simple tensor as output
        # imgs will be shape (batch, height, width) after potential squeeze
        return torch.randn(imgs.shape[0], 2)

# Create instances
cl = MockCL()
imgs = torch.randn(2, 4, 3, 5)  # 4D tensor: (batch=2, channels=4, height=3, width=5)

ARGS = {
    "cl": cl,
    "imgs": imgs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 2) — shape (2, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
curvelet_decomposition Ran
ran on a synthesized input
kkothari93/fionet/convert_npy_to_cl.py
code served (permissive licence) · get_code("fa30a0fcc0662145")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (4, 3, 6) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

class MockCurveletOperator:
    """Mock curvelet operator that implements fwd, inv, and sizes."""
    
    def __init__(self, img_shape):
        self.img_shape = img_shape
        # Define sizes as a list of lists of tuples
        # Each entry in sizes[d] is a tuple representing dimensions of coefficients at scale d
        # We'll create 3 scales with 2 orientations each
        self.sizes = [
            [(4, 4), (4, 4)],  # scale 0: 2 orientations, each 4x4
            [(3, 3), (3, 3)],  # scale 1: 2 orientations, each 3x3
            [(2, 2), (2, 2)],  # scale 2: 2 orientations, each 2x2
        ]
        # Total coefficients: (4*4 + 4*4) + (3*3 + 3*3) + (2*2 + 2*2) = 32 + 18 + 8 = 58
        self.total_coeffs = sum(np.prod(g) for d in self.sizes for g in d)
    
    def fwd(self, img):
        """Forward curvelet transform: returns flattened coefficients."""
        # Return a flat array of coefficients
        return np.random.randn(self.total_coeffs)
    
    def inv(self, coeffs):
        """Inverse curvelet transform: reconstructs image from coefficients."""
        # Return reconstructed image with same shape as input
        return np.random.randn(*self.img_shape)


# Set up the image
img_shape = (4, 3)  # Small 2D image with distinct dimensions
img = np.random.randn(*img_shape)

# Create the mock curvelet operator
A = MockCurveletOperator(img_shape)

# Define arguments dict
ARGS = {
    "A": A,
    "img": img,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (4, 3, 6) — shape (4, 3, 6) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
adverserial_loss Not yet run
unverified (harvested, no recorded run)
kkothari93/fionet/ops.py
code served (permissive licence) · get_code("877bf0a38c52c3cd")
How it ran

no invocation recorded.

get_pixel_value Not yet run
unverified (harvested, no recorded run)
kkothari93/fionet/utils.py
code served (permissive licence) · get_code("d4a546c4f52bf0e2")
How it ran

no invocation recorded.

move_ch_to_batch Not yet run
unverified (harvested, no recorded run)
kkothari93/fionet/utils.py
code served (permissive licence) · get_code("a579a8cd17559014")
How it ran

no invocation recorded.

np_to_tfrecords Not yet run
unverified (harvested, no recorded run)
kkothari93/fionet/tfrecords.py
code served (permissive licence) · get_code("50938520f5bd91e4")
How it ran

no invocation recorded.

read_tfrecords Not yet run
unverified (harvested, no recorded run)
kkothari93/fionet/tfrecords.py
code served (permissive licence) · get_code("c3c269ef2ffeaa35")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_pixel_value 4 other papers
3 dated earlier, 1 later
1506.02025 (2015-06)
Spatial Transformer Networks
1902.09145 (2019-02)
DDFlow: Learning Optical Flow with Unlabeled Data Distillation
1904.09117 (2019-04)
SelFlow: Self-Supervised Learning of Optical Flow
and 1 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We propose a general deep learning architecture for wave-based imaging problems. A key difficulty in imaging problems with varying background wave speed is that the medium "bends" the waves differently depending on their position and direction. This space-bending geometry makes the equivariance to translations of convolutional networks an undesired inductive bias. We build an interpretable architecture based on wave physics, as captured by the Fourier integral operators (FIOs). FIOs appear in the description of a wide range of wave-based imaging modalities, from seismology and radar to Doppler and ultrasound. Their geometry is characterized by a canonical relation which governs the propagation of singularities. We learn this geometry via optimal transport in the wave packet representation. The proposed FIONet performs significantly better than the usual baselines on a number of inverse problems, especially in out-of-distribution tests.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2006.05854")
get_code_for_paper("2006.05854")
have("2006.05854")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2006.05854.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2006.05854.svg)](https://syntology.ai/paper/2006.05854)

Connect an agent — have() is free.