Registry / data / spotless

spotless

JSON →
library0.4.1pypypi✓ verified 80d ago

Spotless is a Python library for grid-free deconvolution directly from radio interferometry visibilities. It implements the "DoB-CLEAN" algorithm for reconstructing sky images without gridding. The current version is 0.4.1. Release cadence is low, with occasional updates.

pip install spotless
INSTALL
IMPORT
SIG · SPOTLESS
S
spotless
datapythonv0.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Spotless
from spotless import Spotless
from spotless import SpotlessImager
Model
from spotless import Model
PointSource
from spotless import PointSource

Basic usage: load visibilities from a Measurement Set, run Spotless imager.

from spotless import SpotlessImager, load_measurements import numpy as np # Load visibilities from a Measurement Set ms_path = 'path/to/measurement_set.ms' u, v, freq, vis, weights = load_measurements(ms_path) # Create imager and run deconvolution imager = SpotlessImager() sky = imager.run(u, v, freq, vis, weights, npix=512, cellsize=0.1) print('Reconstructed sky shape:', sky.shape)
Debug
Known issues
gotchaPython version: Ensure Python 3.6+ is used. Spotless may not work with Python 2 or older versions.
fix
Use Python 3.6 or higher.
affects: 0.4.1
gotchaMeasurement Set requires casa-formatted data. If loading from other formats, conversion to MS is necessary.
fix
Use casacore or other tools to convert to MeasurementSet.
affects: 0.4.1
gotchaNumpy version compatibility: Older numpy versions may cause issues. Use numpy >= 1.16.
fix
Upgrade numpy via pip install --upgrade numpy
affects: 0.4.1
Upgrade
Version history
0.4.1latest on PyPI · released Nov 10, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
20
OpenAI (training)
1
Resources
spotless — pip install spotless · libregistry