SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.10010 · 2024

Enhancing signal detectability in learning-based CT reconstruction with a model observer inspired loss function

arXiv · PDF · Open in the Atlas

Code that ran

6 of 10 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 4 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/2402.10010.json · badge: /api/ran/2402.10010.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
m-lantz/ct_recon_sigpro canonical (classifier label)
classifier basis: census
6 ran · 4 no recorded run
FunctionStatusWhere it lives
aucest Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
m-lantz/ct_recon_sigpro/includes/auc.py
code served (permissive licence) · get_code("d34b482d703393c5")
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 float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

# The function aucest computes an AUC estimate by comparing two arrays
# h1c and h0c are 1D numpy arrays that will be compared element-wise
# The function expects:
# - h1c: array-like of scores for positive class
# - h0c: array-like of scores for negative class

# Create sample score arrays
np.random.seed(0)
h1c = np.array([0.9, 0.8, 0.7, 0.85])  # Positive class scores (n1=4)
h0c = np.array([0.3, 0.4, 0.5])  # Negative class scores (n0=3)

ARGS = {
    "h1c": h1c,
    "h0c": h0c,
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
compute_auc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
m-lantz/ct_recon_sigpro/includes/auc.py
code served (permissive licence) · get_code("94a733c2e41b2f13")
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 float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

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

# Create small test data
# test_small: shape (N, height, width) - small 2D arrays to correlate with template
# test_labels: shape (N,) - binary labels (0 or 1)
# template: shape (height, width) - template to correlate with test images

N = 5  # number of samples
height = 4
width = 3

test_small = np.random.randn(N, height, width).astype(np.float32)
test_labels = np.array([1, 0, 1, 0, 1], dtype=np.int32)
template = np.random.randn(height, width).astype(np.float32)

ARGS = {
    'test_small': test_small,
    'test_labels': test_labels,
    'template': template
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
getchannels Ran
ran, honoured the contract we drafted
m-lantz/ct_recon_sigpro/includes/hybridcho.py
code served (permissive licence) · get_code("759dd8981279d6c9")
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 (14, 128, 128) 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
from scipy.special import laguerre

def u(r, a, j):
    return np.sqrt(2.0) / a * np.exp(-np.pi * r ** 2.0 / a ** 2.0) * laguerre(j)(2.0 * np.pi * r ** 2.0 / a ** 2.0)

def getchannels(a=0.5, pc=1, lgc=10, sz=128):
    xar = np.arange(-1.0 + 1 / sz, 1.0, 2 / sz)[:, np.newaxis] * np.ones(sz)
    yar = np.ones(sz)[:, np.newaxis] * np.arange(-1.0 + 1 / sz, 1.0, 2 / sz)
    rar = np.sqrt(xar ** 2 + yar ** 2)
    r = rar
    uars = []
    uti = np.zeros([sz, sz])
    for i in range(int(sz / 2) - pc, int(sz / 2) + pc):
        for j in range(int(sz / 2) - pc, int(sz / 2) + pc):
            uti.fill(0.0)
            uti[i, j] = 1.0
            uars.append(uti * 1.0)
    for d in range(0, lgc):
        b = np.arange(0, d + 1)
        uar = u(r, a, d)
        uars.append(1 * uar)
    uars = np.array(uars)
    nchan = len(uars)
    normchans = []
    for i in range(nchan):
        newchan = uars[i] * 1.0
        for nchn in normchans:
            newchan -= (newchan * nchn).sum() * nchn
        newchan /= np.sqrt((newchan ** 2).sum())
        normchans.append(newchan)
    normchans = np.array(normchans)
    uars = normchans * 1.0
    return uars

# Construct valid arguments for getchannels
ARGS = {
    "a": 0.5,
    "pc": 1,
    "lgc": 10,
    "sz": 128
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — 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 (14, 128, 128) — shape (14, 128, 128) 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
gradim Ran
ran, honoured the contract we drafted
m-lantz/ct_recon_sigpro/includes/gradauc.py
code served (permissive licence) · get_code("7164e15d565c36c4")
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 2, dtype family float, shape (8, 3) 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

# The function gradim takes a 2D image array and computes gradients
# It performs element-wise operations on the array
# Creating a small 2D array (4x3) as the test image

im = np.random.randn(4, 3).astype(np.float32)

ARGS = {
    "im": im
}
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 2, dtype family float, shape (8, 3) — shape (8, 3) 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
sigauc Ran
ran; our contract draft was wrong, not the code
m-lantz/ct_recon_sigpro/includes/gradauc.py
code served (permissive licence) · get_code("e3023b98c2a806cc")
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 tuple. The image it ran in was not recorded. If your copy returns the same type 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

# Analyze the function to understand parameter requirements:
# - sigimages2: 3D array, gets copied and indexed as sigimages[:, i1:i2, i1:i2]
# - bkgimages2: 3D array, same shape as sigimages2
# - bkgtruth: 2D array, subtracted from sigimages/bkgimages
# - sigonly2: 2D array, used as weight in multiplication
# - roi: array-like with at least 2 elements, used as roi[0] and roi[1]

# The function expects:
# - nreal = len(sigimages) should be even (used as nreal/2)
# - dim extracted from sigimages shape
# - ROI indexing: i1 = 256 - int(roi[0]/2), i2 = 256 + int(roi[1]/2) + 1
# - All arrays operate on 2D slices

# Create minimal valid inputs
nreal = 4  # Must be even
roi_size = 10  # Size of ROI region
img_dim = 512  # Image dimension (256 is used as center point)

# Background truth is 2D
bkgtruth = np.random.randn(img_dim, img_dim).astype(np.float64)

# Signal and background images are 3D: (batch, height, width)
sigimages2 = np.random.randn(nreal, img_dim, img_dim).astype(np.float64)
bkgimages2 = np.random.randn(nreal, img_dim, img_dim).astype(np.float64)

# Weight array is 2D, same spatial dimensions
sigonly2 = np.random.randn(img_dim, img_dim).astype(np.float64)

# ROI parameters
roi = np.array([roi_size, roi_size])

ARGS = {
    "sigimages2": sigimages2,
    "bkgimages2": bkgimages2,
    "bkgtruth": bkgtruth,
    "sigonly2": sigonly2,
    "roi": roi,
}
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 tuple — a tuple output has no array shape of its own; none is stated
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
u Ran
ran, honoured the contract we drafted
m-lantz/ct_recon_sigpro/includes/hybridcho.py
code served (permissive licence) · get_code("f1a06f89d2606b96")
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 float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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
from scipy.special import laguerre

# The function u(r, a, j) takes three parameters:
# - r: a radial coordinate (float or array-like)
# - a: a scaling parameter (float)
# - j: an integer index for the Laguerre polynomial

# Set up small, valid arguments
r = 0.5  # scalar float for radial coordinate
a = 1.0  # scalar float for scaling parameter
j = 2    # integer for Laguerre polynomial order

ARGS = {
    "r": r,
    "a": a,
    "j": j
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
computehcho Not yet run
unverified (harvested, no recorded run)
m-lantz/ct_recon_sigpro/includes/hybridcho.py
code served (permissive licence) · get_code("e43cc3a47008f2ae")
How it ran

no invocation recorded.

denoise_single_test Not yet run
unverified (harvested, no recorded run)
m-lantz/ct_recon_sigpro/includes/training_testing_functions.py
code served (permissive licence) · get_code("b34441891ec43220")
How it ran

no invocation recorded.

gauc Not yet run
unverified (harvested, no recorded run)
m-lantz/ct_recon_sigpro/includes/gradauc.py
code served (permissive licence) · get_code("272d0a29b76a09f5")
How it ran

no invocation recorded.

makeGaussian Not yet run
unverified (harvested, no recorded run)
m-lantz/ct_recon_sigpro/includes/training_testing_functions.py
code served (permissive licence) · get_code("46649339830f4077")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 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, 0 later) and 9 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
makeGaussian 1 other paper
1 dated earlier
1903.02827 (2019-03)
Weakly Supervised Complementary Parts Models for Fine-Grained Image Classification from the Bottom Up

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

Deep neural networks used for reconstructing sparse-view CT data are typically trained by minimizing a pixel-wise mean-squared error or similar loss function over a set of training images. However, networks trained with such pixel-wise losses are prone to wipe out small, low-contrast features that are critical for screening and diagnosis. To remedy this issue, we introduce a novel training loss inspired by the model observer framework to enhance the detectability of weak signals in the reconstructions. We evaluate our approach on the reconstruction of synthetic sparse-view breast CT data, and demonstrate an improvement in signal detectability with the proposed loss.

For agents

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

get_harvested_code_for_paper("2402.10010")
get_code_for_paper("2402.10010")
have("2402.10010")

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

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

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

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

Connect an agent — have() is free.