Skip to main content

No project description provided

Project description

Documentation Status pre-commit.ci Status CI Workflow Build Status

dysh

dysh is a Python spectral line data reduction and analysis program for singledish data with specific emphasis on data from the Green Bank Telescope (GBT). It is currently under development in collaboration between the Green Bank Observatory and the Laboratory for Millimeter-Wave Astronomy (LMA) at University of Maryland (UMD). It is intended to be a replacement to the GBT current data reduction package GBTIDL.

Installation

Note: if you are on the GBO network, dysh will already be installed; you do not need to do anything further! Other uses cases are outlined below.

Global Installation

Example use case: you want to quickly install and use dysh on a non-GBO computer

Via uv

This will install a persistent global version of dysh via uv:

# Install dysh
$ uv tool install dysh[all]
# Launch dysh notebook
$ dysh-lab

Via pipx

You can also use pipx. After installing pipx, dysh can be installed via:

# Install dysh
$ pipx install dysh[nb]
# Launch dysh notebook
$ dysh-lab

Local Installation via pip

Example use case: you want to use dysh with a specific set of dependencies, or in conjunction with an existing project

Stable Version

dysh is most easily installed with pip, which will take care of any dependencies. The packaged code is hosted at the Python Packaging Index.

$ pip install dysh[all]

Beta Version

Beta versions will also be published to PyPI, and can be installed via:

$ pip install dysh[all] --pre

Development Version

Development versions can be installed from GitHub branches via:

$ pip install "dysh[all] @ git+https://github.com/GreenBankObservatory/dysh"

For more options, see the pip VCS Support documentation.

Reporting Issues

If you find a bug or something you think is in error, please report it on the GitHub issue tracker. (You must have a GitHub account to submit an issue)


Development

See the For Developers documentation for more detailed instructions on setting up a development environment. This is where you will need the full source code of dysh.

Clone the Repo

$ git clone git@github.com:GreenBankObservatory/dysh.git

Set Up Dysh Environment

Via uv

The recommended development workflow is to use uv. After installing uv all you need to do is:

$ uv sync

You also have access to "dysh shell" and "dysh lab":

$ uv run dysh
$ uv run dysh-lab

Or you can source the uv virtual environment just like any other:

$ source .venv/bin/activate

after which the command prefix uv run is not needed anymore.

Classic workflow

It is possible to develop using a "classic" workflow. From the root of the dysh repo:

$ # Create your virtual environment
$ python -m venv /path/to/venv
$ # Activate your virtual environment
$ source /path/to/venv/bin/activate
$ # Install dysh and its development dependencies
$ pip install --group dev -e .[all]

Make sure you have a recent version of pip (>25.1).

Testing

We use pytest for unit and integration testing. From the top-level dysh directory, run:

$ pytest

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

dysh-1.0.1.tar.gz (18.6 MB view details)

Uploaded Source

Built Distribution

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

dysh-1.0.1-py3-none-any.whl (18.6 MB view details)

Uploaded Python 3

File details

Details for the file dysh-1.0.1.tar.gz.

File metadata

  • Download URL: dysh-1.0.1.tar.gz
  • Upload date:
  • Size: 18.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dysh-1.0.1.tar.gz
Algorithm Hash digest
SHA256 978726adaa34eeeb3488fe7c4b3a03d75c1a4ed2426693db73bcce05c53d02e5
MD5 534fb09a78933b97b6dd10ca7daa86e0
BLAKE2b-256 0cea0de7d0ac4563861dd8c65154f25868e98be05a5272abb4924ab44d8cb133

See more details on using hashes here.

Provenance

The following attestation bundles were made for dysh-1.0.1.tar.gz:

Publisher: release.yml on GreenBankObservatory/dysh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dysh-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: dysh-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dysh-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c809f86f389f43b84896675a2090e1e4dd2c33f79413e1124a9ad01d9cb0f668
MD5 2cad0574503efcf7d8e326def5ba6642
BLAKE2b-256 14790394e13deb56048d67cf2f884faf6a6b0825a5fecdb3cc95bdaefaf12706

See more details on using hashes here.

Provenance

The following attestation bundles were made for dysh-1.0.1-py3-none-any.whl:

Publisher: release.yml on GreenBankObservatory/dysh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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