Skip to main content

Xarray Radio Astronomy Data IO

Project description

xradio

Xarray Radio Astronomy Data IO is still in development.

Python 3.11 3.12 3.13 Linux Tests macOS Tests ipynb Tests Coverage Documentation Status Version Status Benchmarks

Installing

XRADIO can be installed in virtual environments via pip. It is recommended to use the conda environment manager from miniforge to create a clean, self-contained runtime where XRADIO and all its dependencies can be installed, for example:

conda create --name xradio python=3.13 --no-default-packages
conda activate xradio

📝 On macOS, if one wants to use the functions to convert MSv2=>MSv4, it is required to pre-install python-casacore. That can be done using conda install -c conda-forge python-casacore. See more alternatives below.

XRADIO can now be installed using:

pip install xradio

This installs only the minimal dependencies for XRADIO, which allow you to use the schema checker and export schemas to JSON. Note that if only the minimal dependencies are installed, the functionality to open data stored using zarr and to convert MSv2 to MSv4 will not be available.

To install the zarr backend use:

pip install "xradio[zarr]"

This allows for opening data stored using zarr.

To install the zarr backend and the interactive components (JupyterLab) use:

pip install "xradio[interactive]"

To install the casacore backend along with the zarr backend which enables conversion from MSv2 to MSv4 use (this only works for Linux):

pip install "xradio[casacore]"

To installs all the needed packages to run the unit tests:

pip install "xradio[test]"

This also installs the zarr backend and the casacore backend on Linux. Note the tests will fail on MacOS if python-casacore is not installed separately using conda.

Multiple-dependencies can be installed using:

pip install "xradio[interactive,casacore,test]"

To install a more complete set of dependencies:

pip install "xradio[all]"

This will include the dependencies required to run the interactive Jupyter notebooks, run tests, build documentation, and python-casacore to enable MSv2=>MSv4 functionality on Linux.

Instruction of how to setup a developer environment can be found at Development.

Instruction of how to setup a developer environment using casatools instead of python-casacore can be found at casatools I/O backend guide.

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

xradio-1.1.3.tar.gz (203.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xradio-1.1.3-py3-none-any.whl (227.4 kB view details)

Uploaded Python 3

File details

Details for the file xradio-1.1.3.tar.gz.

File metadata

  • Download URL: xradio-1.1.3.tar.gz
  • Upload date:
  • Size: 203.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xradio-1.1.3.tar.gz
Algorithm Hash digest
SHA256 d7e8fe9e848661c1c810433f08c45d13fa024f4c84a66ab194b6fcce4ebe4072
MD5 17c41691636bbe6bc5aa20261c33e063
BLAKE2b-256 22bdf4b128162872d9efd9afa4c68f65841d525f39bc86553df329170b1a09f6

See more details on using hashes here.

File details

Details for the file xradio-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: xradio-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 227.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xradio-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 42d1af027d0db2591c58f2a3c86304cb191526b1b51fcc02907f4ad01fbdc95d
MD5 a22cb7af3abc73967b6c50463ddc7397
BLAKE2b-256 78ff3cb32e4f205f49c5df1d3b40d3fbdb75444e73e3d06e7d6b9e058d0bc88d

See more details on using hashes here.

Supported by

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