Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/deshima-dev/dems
- Owner: deshima-dev
- License: mit
- Created: 2022-10-25T14:05:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-09T11:51:59.000Z (5 months ago)
- Last Synced: 2024-08-10T11:22:01.836Z (5 months ago)
- Topics: astronomy, data-format, deshima, measurement-set, python, radio-astronomy, spectroscopy, xarray
- Language: Python
- Homepage:
- Size: 164 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
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 MSda = 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 (