Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deshima-dev/dems

:truck: DESHIMA measurement set by DataArray
https://github.com/deshima-dev/dems

astronomy data-format deshima measurement-set python radio-astronomy spectroscopy xarray

Last synced: about 2 months ago
JSON representation

:truck: DESHIMA measurement set by DataArray

Awesome Lists containing this project

README

        

# dems

[![Release](https://img.shields.io/pypi/v/dems?label=Release&color=cornflowerblue&style=flat-square)](https://pypi.org/project/dems/)
[![Python](https://img.shields.io/pypi/pyversions/dems?label=Python&color=cornflowerblue&style=flat-square)](https://pypi.org/project/dems/)
[![Downloads](https://img.shields.io/pypi/dm/dems?label=Downloads&color=cornflowerblue&style=flat-square)](https://pepy.tech/project/dems)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.8151950-cornflowerblue?style=flat-square)](https://doi.org/10.5281/zenodo.8151950)
[![Tests](https://img.shields.io/github/actions/workflow/status/deshima-dev/dems/tests.yaml?label=Tests&style=flat-square)](https://github.com/deshima-dev/dems/actions)

DESHIMA measurement set by DataArray

## Installation

```shell
pip install dems==2024.7.2
```

## Usage

```python
from dems.d2 import MS

da = MS.new(
data=[[0.0, ...], ...],
mask=[[False, ...], ...],
weight=[[1.0, ...], ...],
...
)
```

## DataArray specifications

| Category | Variable name | Variable type | Description | Units | Default | Data type | DataArray dims | DataArray dtype |
|---|---|---|---|---|---|---|---|---|
| Data | data | Data | Data values | - | - | numpy.ndarray | (time, chan) | - |
| | mask | Coordinate | Data masks | - | False | numpy.ndarray | (time, chan) | bool |
| | weight | Coordinate | Data weights | - | 1.0 | numpy.ndarray | (time, chan) | float64 |
| | long_name | Attribute | Data name | - | "Brightness" | str | - | - |
| | units | Attribute | Data units | - | "K" | str | - | - |
| | name | Name | DEMS name | - | "DEMS" | str | - | - |
| Dimensions | time | Dimension | Start time in UTC | - | 1970-01-01T00:00:00.000000000 | numpy.ndarray | (time,) | datetime64[ns] |
| | chan | Dimension | Channel ID | - | 0 | numpy.ndarray | (chan,) | int64 |
| Labels | beam | Coordinate | Beam label | - | "" | numpy.ndarray | (time,) | str (