Skip to main content

Use CASA6 to read visibilities from Measurement Sets

Project description

visread

A minimal tool built on CASA6 to read visibilities directly from calibrated CASA Measurement Sets

Introduction

The purpose of this package is to provide a quick and easy read("myFile.ms") function to load visibilities from a calibrated CASA Measurement Set file into memory in a Python program. You may wish to plot the baseline distributions, analyze the visibilities themselves, or synthesize images from them using software like MPoL.

The visibilities are returned as an object.

Code Example

import visread
vis = visread.read("myFile.ms")
print(vis)

More information is provided in the Documentation.

Currently, there is only one primary visibility container for spectral line measurement sets, whose attributes are driven by the development needs of the MPoL project. A set of single-channel continuum visibilities is just a subset of this.

If you identify and configure an additional visibility container (i.e., polarization), pull requests are welcome.

Installation

Because this package relies on CASA6, it is unfortunately subject to the stringent package requirements currently imposed by the modular CASA environment. As of January 2021, these are Python=3.6 and libgfortran3. This means that CASA6 and by extension this package will not work on Python 3.7, 3.8, or 3.9. More information on these requirements is here. Beyond this CASA dependency, the visread package itself is not tied to Python=3.6, so as the CASA requirements advance, so too will this package.

Lineage

The code in this package is fairly simple, but it is also built using CASA knowledge gained from a number of collaborators, who are credited in the CONTRIBUTORS.md file. You may also be interested in investigating the vis_sample and UVHDF5 packages, as they provide some similar capabilities with additional functionality.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

visread-0.0.1.dev1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

visread-0.0.1.dev1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file visread-0.0.1.dev1.tar.gz.

File metadata

  • Download URL: visread-0.0.1.dev1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.7

File hashes

Hashes for visread-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 2a0849de6f27ef96ea2bd6890c991daa287bc03194b1ffe08f5fea83a7be73ca
MD5 e6fd2242637a8c21baeab5c8e9e8fb5d
BLAKE2b-256 68d049e620d1e750030f9413af093bfef0328e11c943944d13b678bf7ea4ceff

See more details on using hashes here.

File details

Details for the file visread-0.0.1.dev1-py3-none-any.whl.

File metadata

  • Download URL: visread-0.0.1.dev1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.7

File hashes

Hashes for visread-0.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 000f5112c0437daa6b7a97122841912904708122b391864b2c06f72d01efe240
MD5 fde59f0c4618a0a7905aca19432cac67
BLAKE2b-256 915675faf64b10032f2c4705e029e734061ee34818fb324447ba800887a1371e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page