SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1903.07824 · 2019

Compressed Sensing: From Research to Clinical Practice with Data-Driven Learning

arXiv · PDF · Open in the Atlas

Code that ran

9 of 15 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 9 have no contract verdict; 0 failures of our instrument; 6 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/1903.07824.json · badge: /api/ran/1903.07824.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
MRSRL/dl-cs canonical (classifier label)
classifier basis: census
9 ran · 6 no recorded run
FunctionStatusWhere it lives
circular_pad Ran
ran on a synthesized input
MRSRL/dl-cs/utils/tfmri.py
code served (permissive licence) · get_code("bf85602657bbfa80")
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 3, dtype family float, shape (2, 9, 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 tensorflow as tf
import numpy as np

# Create a sample TensorFlow input tensor with shape (2, 5, 3)
# This allows us to test with a 3D tensor where:
# - batch dimension: 2
# - axis dimension (to be padded): 5
# - feature dimension: 3
tf_input = tf.constant(np.random.randn(2, 5, 3).astype(np.float32))

# Padding amount - how many elements to add on each side
pad = 2

# Axis along which to apply circular padding (axis=1 for the middle dimension)
axis = 1

ARGS = {
    "tf_input": tf_input,
    "pad": pad,
    "axis": axis,
}
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 3, dtype family float, shape (2, 9, 3) — shape (2, 9, 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
compute_nrmse Ran
ran on a synthesized input
MRSRL/dl-cs/utils/metrics.py
code served (permissive licence) · get_code("9fc8cbc4bcea729d")
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

# Create small numpy arrays for ref and x
# ref is the reference/ground truth
# x is the predicted/computed values
# Using distinct sizes (2, 3) to make shapes unambiguous

np.random.seed(0)

ref = np.random.randn(2, 3)
x = np.random.randn(2, 3)

ARGS = {
    "ref": ref,
    "x": x,
}
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_psnr Ran
ran on a synthesized input
MRSRL/dl-cs/utils/metrics.py
code served (permissive licence) · get_code("f5b9b2e59b9417d3")
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

# Create reference and test arrays with small shapes
np.random.seed(0)
ref = np.random.randn(2, 4).astype(np.float32)
x = ref + 0.1 * np.random.randn(2, 4).astype(np.float32)

ARGS = {
    "ref": ref,
    "x": x,
}
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
crop_in_dim Ran
ran on a synthesized input
MRSRL/dl-cs/utils/mri.py
code served (permissive licence) · get_code("dcdec20b118a6983")
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 (2, 3, 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

# Create a small test image with distinct dimensions
# Shape: (2, 5, 3) - batch-like, height, width
im = np.random.randn(2, 5, 3).astype(np.float32)

# Crop to a smaller shape in dimension 1 (height)
shape = 3

# Dimension to crop (1 = height dimension)
dim = 1

ARGS = {
    "im": im,
    "shape": shape,
    "dim": dim,
}
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 (2, 3, 3) — shape (2, 3, 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
load_params Ran
ran on a synthesized input
MRSRL/dl-cs/model.py
code served (permissive licence) · get_code("8725fd3b1935174c")
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 dict. 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 os
import json
import tempfile

# Create a temporary directory and a params file
temp_dir = tempfile.mkdtemp()
params_data = {
    "learning_rate": 0.001,
    "batch_size": 32,
    "num_epochs": 10,
    "model_name": "test_model"
}

params_file_path = os.path.join(temp_dir, 'params.txt')
with open(params_file_path, 'w') as f:
    json.dump(params_data, f)

ARGS = {
    "model_dir": temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
read Ran
ran on a synthesized input
MRSRL/dl-cs/utils/cfl.py
code served (permissive licence) · get_code("07bd7b2d312db7f7")
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, 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 numpy as np
import tempfile
import os

# Create temporary directory and files for testing
temp_dir = tempfile.mkdtemp()

# Create a small test .hdr file
hdr_path = os.path.join(temp_dir, 'test')
with open(hdr_path + '.hdr', 'w') as f:
    f.write('# HDR file\n')
    f.write('2 3 4\n')

# Create a corresponding .cfl file with complex64 data
# dims from hdr are [2, 3, 4], so we need 2*3*4 = 24 complex64 values
n_elements = 2 * 3 * 4
test_data = np.array([complex(i, i+1) for i in range(n_elements)], dtype=np.complex64)
with open(hdr_path + '.cfl', 'wb') as f:
    test_data.tofile(f)

# Define the ARGS dictionary
ARGS = {
    'name': hdr_path,
    'order': 'C'
}
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, 2) — shape (4, 3, 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
read_hdr Ran
ran on a synthesized input
MRSRL/dl-cs/utils/cfl.py
code served (permissive licence) · get_code("678a4feb7e83809b")
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 list, ndim 1, dtype family int; 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 tempfile
import os

# Create a temporary directory and HDR file for testing
temp_dir = tempfile.mkdtemp()
hdr_file_path = os.path.join(temp_dir, 'test')

# Write a sample HDR file
with open(hdr_file_path + '.hdr', 'w') as f:
    f.write('NAXIS=2\n')
    f.write('100 200\n')

ARGS = {
    'name': hdr_file_path,
    'order': 'C'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
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
readcfl Ran
ran on a synthesized input
MRSRL/dl-cs/utils/cfl.py
code served (permissive licence) · get_code("45faa6e805038a79")
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 (2, 3, 4) 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
import tempfile
import os

# Create temporary .hdr and .cfl files for testing
temp_dir = tempfile.mkdtemp()
base_name = os.path.join(temp_dir, 'test_file')

# Create a simple .hdr file with dimensions
hdr_content = "# Dimensions\n2 3 4\n"
with open(base_name + '.hdr', 'w') as f:
    f.write(hdr_content)

# Create a .cfl file with complex64 data
dims = [4, 3, 2]  # reversed from hdr due to 'F' order
n = np.prod(dims)
data = np.random.rand(n).astype(np.complex64)
with open(base_name + '.cfl', 'wb') as f:
    data.tofile(f)

ARGS = {
    'name': base_name
}
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 (2, 3, 4) — shape (2, 3, 4) 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
sumofsq Ran
ran on a synthesized input
MRSRL/dl-cs/utils/mri.py
code served (permissive licence) · get_code("928d7cec0f2dca78")
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 (3, 4) 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

# Create a small complex-valued image array
# The function accesses .real and .imag attributes, so we need a complex array
# Shape: (2, 3, 4) - batch of 2, height 3, width 4
im = np.random.randn(2, 3, 4) + 1j * np.random.randn(2, 3, 4)

ARGS = {
    "im": im,
    "axis": 0
}
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 (3, 4) — shape (3, 4) 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
channels_to_complex Not yet run
unverified (harvested, no recorded run)
MRSRL/dl-cs/utils/tfmri.py
code served (permissive licence) · get_code("f612d36c0d0e0bce")
How it ran

no invocation recorded.

complex_to_channels Not yet run
unverified (harvested, no recorded run)
MRSRL/dl-cs/utils/tfmri.py
code served (permissive licence) · get_code("9c11655926643f6a")
How it ran

no invocation recorded.

fftc Not yet run
unverified (harvested, no recorded run)
MRSRL/dl-cs/utils/fftc.py
code served (permissive licence) · get_code("cc12efe97cafdfd8")
How it ran

no invocation recorded.

fftnc Not yet run
unverified (harvested, no recorded run)
MRSRL/dl-cs/utils/fftc.py
code served (permissive licence) · get_code("fdc31294150d9ef4")
How it ran

no invocation recorded.

ifftnc Not yet run
unverified (harvested, no recorded run)
MRSRL/dl-cs/utils/fftc.py
code served (permissive licence) · get_code("617c7d033c431ebe")
How it ran

no invocation recorded.

prepare_filenames Not yet run
unverified (harvested, no recorded run)
MRSRL/dl-cs/data.py
code served (permissive licence) · get_code("d28ae862a6820320")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 12 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
fftc 1 other paper
1 dated earlier
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs
fftnc 1 other paper
1 dated earlier
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs
ifftnc 1 other paper
1 dated earlier
1901.08164 (2019-01)
Decoupled Greedy Learning of CNNs

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

Compressed sensing in MRI enables high subsampling factors while maintaining diagnostic image quality. This technique enables shortened scan durations and/or improved image resolution. Further, compressed sensing can increase the diagnostic information and value from each scan performed. Overall, compressed sensing has significant clinical impact in improving the diagnostic quality and patient experience for imaging exams. However, a number of challenges exist when moving compressed sensing from research to the clinic. These challenges include hand-crafted image priors, sensitive tuning parameters, and long reconstruction times. Data-driven learning provides a solution to address these challenges. As a result, compressed sensing can have greater clinical impact. In this tutorial, we will review the compressed sensing formulation and outline steps needed to transform this formulation to a deep learning framework. Supplementary open source code in python will be used to demonstrate this approach with open databases. Further, we will discuss considerations in applying data-driven compressed sensing in the clinical setting.

For agents

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

get_harvested_code_for_paper("1903.07824")
get_code_for_paper("1903.07824")
have("1903.07824")

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

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

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

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

Connect an agent — have() is free.