SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.07794 · 2024

Simulating images of radio galaxies with diffusion models

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 3 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/2410.07794.json · badge: /api/ran/2410.07794.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
tmartinezML/LOFAR-Diffusion canonical (classifier label)
classifier basis: census
10 ran · 3 no recorded run
FunctionStatusWhere it lives
clamp_tensor Ran
ran; our contract draft was wrong, not the code
tmartinezML/LOFAR-Diffusion/src/model/layers.py
pointer only (licence: GPL-3.0) · get_code("d4c9642cc7c34b56")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

denoised_guided Ran
ran; our contract draft was wrong, not the code
tmartinezML/LOFAR-Diffusion/src/model/diffusion.py
pointer only (licence: GPL-3.0) · get_code("1d7296a67ecfd1e0")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

edm_loss Ran
ran; our contract draft was wrong, not the code
tmartinezML/LOFAR-Diffusion/src/training/train_utils.py
pointer only (licence: GPL-3.0) · get_code("865b92a662a6ff3a")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_logger Ran
ran; our contract draft was wrong, not the code
tmartinezML/LOFAR-Diffusion/src/utils/logging.py
pointer only (licence: GPL-3.0) · get_code("b4720eb5bbc00d40")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_power_ema_avg_fn Ran
ran; our contract draft was wrong, not the code
tmartinezML/LOFAR-Diffusion/src/training/train_utils.py
pointer only (licence: GPL-3.0) · get_code("d8aa9fe28994d066")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_sampling_noise_levels Ran
ran, honoured the contract we drafted
tmartinezML/LOFAR-Diffusion/src/model/diffusion.py
pointer only (licence: GPL-3.0) · get_code("35d9d4f91b7cc480")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

isModel Ran
ran, violated the contract we drafted
tmartinezML/LOFAR-Diffusion/src/model/model_utils.py
pointer only (licence: GPL-3.0) · get_code("8f99f3f766049e9a")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_sigmas Ran
ran, honoured the contract we drafted
tmartinezML/LOFAR-Diffusion/src/training/train_utils.py
pointer only (licence: GPL-3.0) · get_code("9a02e82b6fddbc71")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

upsample Ran
ran; our contract draft was wrong, not the code
tmartinezML/LOFAR-Diffusion/src/model/layers.py
pointer only (licence: GPL-3.0) · get_code("46553cf807695847")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

zero_module Ran
ran; our contract draft was wrong, not the code
tmartinezML/LOFAR-Diffusion/src/model/layers.py
pointer only (licence: GPL-3.0) · get_code("50790859f4a6a562")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

plot_image_grid Not yet run
unverified (harvested, no recorded run)
tmartinezML/LOFAR-Diffusion/src/plotting/image_plots.py
pointer only (licence: GPL-3.0) · get_code("a95137f048be48c0")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

plot_image_grid_from_file Not yet run
unverified (harvested, no recorded run)
tmartinezML/LOFAR-Diffusion/src/plotting/image_plots.py
pointer only (licence: GPL-3.0) · get_code("c3b5237e4b43532b")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

random_image_grid Not yet run
unverified (harvested, no recorded run)
tmartinezML/LOFAR-Diffusion/src/plotting/image_plots.py
pointer only (licence: GPL-3.0) · get_code("5b72d2e981bf603f")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, tmartinezML/LOFAR-Diffusion, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 13 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.

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

With increasing amounts of data in astronomy, automated analysis methods have become crucial. Synthetic data are required for developing and testing such methods. Current simulations often suffer from insufficient detail or inaccurate representation of source type occurrences. To overcome those deficiencies, we implemented a deep generative model trained on observations to generate realistic radio galaxy images with full control over the flux and source morphology. We used a diffusion model, trained with continuous time steps to reduce sampling time without quality impairments. Two models were trained on two different datasets, respectively. One set was a selection of images from the second data release of the LOFAR Two-Metre Sky Survey (LoTSS). The model is conditioned on peak flux values to preserve signal intensity information after re-scaling image pixel values. The other, smaller set was obtained from the VLA survey of Faint Images of the Radio Sky at Twenty-Centimeters (FIRST). In that set, every image was provided with a morphological class label the corresponding model was conditioned on. Conditioned sampling is realized with classifier-free diffusion guidance. We evaluated the quality of generated images by comparing distributions of different quantities over the real and generated data, including results from the standard source-finding algorithms. The class conditioning was evaluated by training a classifier and comparing its performance on both real and generated data. We were able to generate realistic images of high quality using 25 sampling steps, which is unprecedented in the field of radio astronomy. The generated images are visually indistinguishable from the training data and the distributions of different image metrics were replicated. The classifier performs equally well for real and generated images, indicating strong sampling control over morphological properties.

For agents

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

get_harvested_code_for_paper("2410.07794")
get_code_for_paper("2410.07794")
have("2410.07794")

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

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

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

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

Connect an agent — have() is free.