Skip to main content

psimager

Fast dirty imaging of measurement sets for power spectrum analyses: dirty Stokes and PSF images with the ducc0 w-gridder, with the options, file names and FITS keywords of WSClean, so that pspipe and ps_eor read them as WSClean images.

The MSs are read once, in large row chunks, and the output channels are gridded in parallel, each by one ducc0 call. Imaging many channels is then many times faster than with WSClean, which reorders the data on disk and grids one image at a time.

Installation

pip install psimager

Usage

psimager -name img -size 400 400 -scale 6amin -pol IV -channels-out 363 -weight natural \
    -minuv-l 5 -maxuv-l 100 -data-column CORRECTED_DATA -even-odd -make-psf -no-dirty obs*.MS

writes img-even-0000-I-image.fits, img-even-0000-V-image.fits, img-even-0000-psf.fits, ..., for each output channel, for the even and the odd time steps.

Options

As WSClean's: -name, -data-column, -pol, -size, -scale, -channel-range, -channels-out, -interval, -intervals-out, -even-timesteps, -odd-timesteps, -minuv-l, -maxuv-l, -minuvw-m, -maxuvw-m, -weight natural|uniform|briggs ROBUST, -visibility-weighting-mode, -taper-edge, -padding (of the weighting grid), -wgridder-accuracy, -j, -parallel-gridding, -mem, -abs-mem, -make-psf, -no-dirty. See psimager --help.

Differences with WSClean:

  • -even-odd images the even and the odd time steps in one pass, as NAME-even-* and NAME-odd-*.
  • -parallel-gridding defaults to -j: one thread per output channel, which is the fastest.
  • No deconvolution and no -MFS- images.
  • WSClean's gridding options (-oversampling, -kernel-size, -nwlayers, -grid-mode, -reorder, -temp-dir, ...) are accepted and ignored, with a warning, so that a WSClean command line runs unchanged.
  • Only single-field, single-SPW MSs with linear correlations.

Images are in Jy/PSF (the PSF peaks at 1), one file per output channel and Stokes parameter, with WSClean's WSCNVIS, WSCENVIS, WSCVWSUM, WSCIMGWG and WSCNORMF computed from the Stokes I weights, and BMAJ, BMIN, BPA fitted to the PSF.

Metadata

Release files for psimager 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psimager 0.1
File Size Uploaded Provenance Actions
psimager-0.1.tar.gz 23.9 kB Without provenance Details for psimager-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for psimager 0.1
File Interpreter ABI Platform Actions
psimager-0.1-py3-none-any.whl Python 3 none any Details for psimager-0.1-py3-none-any.whl

Total release size: 48.9 kB

Release files / psimager-0.1.tar.gz

Download URL psimager-0.1.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
31ac68ba2a9d28c667b9cb51cb32099a8ae7f0f9c20ac0b3b46aa489423f4dc0
BLAKE2b-256 checksum
How to use checksums
3fbdb36854972c13ab6b973a1f75f1c288c5ac3ec24aa95fce28eaf5abea8ac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.4 Linux/7.0.0-38-generic

Release files / psimager-0.1-py3-none-any.whl

Download URL psimager-0.1-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f98614edf8fc5e1d4431b38c417bbd45842bd9dd8327e02b1ce9cd15b50da47
BLAKE2b-256 checksum
How to use checksums
48ec883fdfd4f908cfe869c7d2fa2baad8bf890f1288a613f3b8341da19a6142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.4 Linux/7.0.0-38-generic

Security for psimager 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page