Skip to main content

a tool for applying baseline-dependent averaging to a radio interferometer dataset

Project description

Run Tests codecov

baseline_dependent_averaging

This is code for applying baseline-dependent averaging to a radio astronomy interferometric dataset. It applies the principles and formulas presented in Wijnholds et al. (2018) to average high-cadence data to a lower cadence while introducing a maximum amount of decorrelation specified by the user. In brief, short baselines of an interferometer do not decorrelate as rapidly as long baselines, and so data from shorter baselines can be averaged together without losing as much coherent sky information. The code and routines in this repo are designed to work on already-recorded data (which is typically written at a common cadence for all baselines) and averages together consecutive time samples until a specific threshold. A forthcoming memo will describe the operation in more detail.

Installation

The code can be installed by invoking

pip install .

from the top level of the repo. This will install a module called bda which can be imported. The main user-facing function is bda.apply_bda, which is designed to work on a pyuvdata UVData object. It also provides a script, apply_bda.py, which can be called from the command line for applying BDA to an existing dataset on disk.

Dependencies

The following packages are required:

  • astropy
  • setuptools_scm
  • pyuvdata

pyuvdata can be installed from conda (preferred), or from pip. It is available on the conda-forge channel. To install:

conda install -c conda-forge pyuvdata

Tests

The testing requirements can be installed by invoking

pip install .[testing]

from the top level of the repo. This will install the package and all dependencies for running tests. The test suite can be run by running pytest after installation.

Dependencies

In addition to the main package dependencies above, the following packages are required for running tests:

  • pytest >= 6.0

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

bda-0.1.1.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

bda-0.1.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file bda-0.1.1.tar.gz.

File metadata

  • Download URL: bda-0.1.1.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for bda-0.1.1.tar.gz
Algorithm Hash digest
SHA256 236db7565238d93ad3030d1020a1ec83e25aefd2bb470d0bf23a0e21cd1380f6
MD5 1a5f6b47477142b02f8a769f2c05ad27
BLAKE2b-256 4beccd1c03a8cf1807adbf1e654bf54a32678e40d24451da0404434b9f0a3a69

See more details on using hashes here.

File details

Details for the file bda-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bda-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for bda-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f16909b1cddfc6a4c943b59c7f7a4d5916281f012766da98c81347a6504a3dc1
MD5 4aa2ec192da05717af84830151c3d38f
BLAKE2b-256 802dc0cb370a864c0840ed6d45f37cd909c56b8df7d81a5f4af123c0e3e54c4c

See more details on using hashes here.

Supported by

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