# de:code
[![Release](https://img.shields.io/pypi/v/decode?label=Release&color=cornflowerblue&style=flat-square)](https://pypi.org/project/decode/)
[![Python](https://img.shields.io/pypi/pyversions/decode?label=Python&color=cornflowerblue&style=flat-square)](https://pypi.org/project/decode/)
[![Downloads](https://img.shields.io/pypi/dm/decode?label=Downloads&color=cornflowerblue&style=flat-square)](https://pepy.tech/project/decode)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.3384216-cornflowerblue?style=flat-square)](https://doi.org/10.5281/zenodo.3384216)
[![Tests](https://img.shields.io/github/actions/workflow/status/deshima-dev/decode/tests.yaml?label=Tests&style=flat-square)](https://github.com/deshima-dev/decode/actions)
DESHIMA code for data analysis
## Installation
```shell
pip install decode==2024.11.0
```
## Quick look
de:code ships with a quick look command `decode-qlook`, which will be available from the CUI after installation. It has several subcommands for each observation type. For example, to quick-look at a raster observation:
```shell
$ decode-qlook raster /path/to/dems.zarr.zip
```
where `dems.zarr.zip` is the merged observation data ([DESHIMA measurement set: DEMS](https://github.com/deshima-dev/dems)) to be checked. By default, it will output an image of the result plots by a simple analysis (e.g. continuum map, etc). You can also get the result data themselves by changing the output format:
```shell
$ decode-qlook raster /path/to/dems.zarr.zip --format zarr.zip
```
See the command help for all available options:
```shell
# list of the subcommands and descriptions
$ decode-qlook --help
# list of the available command options
$ decode-qlook raster --help
```
If you are not sure about the observation type, the `auto` subcommand may be useful to automatically select the appropriate command to use:
```shell
$ decode-qlook auto /path/to/dems.zarr.zip
```
Finally, all subcommands are available as functions in the `qlook` submodule. For example, the `raster` command corresponds to `decode.qlook.raster` and the following Python code is equivalent to the CUI:
```python
import decode
decode.qlook.raster("/path/to/dems.zarr.zip")
```
See [the qlook module documentation](https://deshima-dev.github.io/decode/_apidoc/decode.qlook.html) for more information.
Raw data
{
"_id": null,
"home_page": "https://github.com/deshima-dev/decode/",
"name": "decode",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.9",
"maintainer_email": null,
"keywords": "astronomy, data-analysis, deshima, spectroscopy, submillimeter",
"author": "Akio Taniguchi",
"author_email": "taniguchi@a.phys.nagoya-u.ac.jp",
"download_url": "https://files.pythonhosted.org/packages/3f/87/60d167654d7b88084519ec23065f7b29303ac3ad8f6676311e7e59d88773/decode-2024.11.0.tar.gz",
"platform": null,
"description": "# de:code\n\n[![Release](https://img.shields.io/pypi/v/decode?label=Release&color=cornflowerblue&style=flat-square)](https://pypi.org/project/decode/)\n[![Python](https://img.shields.io/pypi/pyversions/decode?label=Python&color=cornflowerblue&style=flat-square)](https://pypi.org/project/decode/)\n[![Downloads](https://img.shields.io/pypi/dm/decode?label=Downloads&color=cornflowerblue&style=flat-square)](https://pepy.tech/project/decode)\n[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.3384216-cornflowerblue?style=flat-square)](https://doi.org/10.5281/zenodo.3384216)\n[![Tests](https://img.shields.io/github/actions/workflow/status/deshima-dev/decode/tests.yaml?label=Tests&style=flat-square)](https://github.com/deshima-dev/decode/actions)\n\nDESHIMA code for data analysis\n\n## Installation\n\n```shell\npip install decode==2024.11.0\n```\n\n## Quick look\n\nde:code ships with a quick look command `decode-qlook`, which will be available from the CUI after installation. It has several subcommands for each observation type. For example, to quick-look at a raster observation:\n```shell\n$ decode-qlook raster /path/to/dems.zarr.zip\n```\nwhere `dems.zarr.zip` is the merged observation data ([DESHIMA measurement set: DEMS](https://github.com/deshima-dev/dems)) to be checked. By default, it will output an image of the result plots by a simple analysis (e.g. continuum map, etc). You can also get the result data themselves by changing the output format:\n```shell\n$ decode-qlook raster /path/to/dems.zarr.zip --format zarr.zip\n```\nSee the command help for all available options:\n```shell\n# list of the subcommands and descriptions\n$ decode-qlook --help\n\n# list of the available command options\n$ decode-qlook raster --help\n```\n\nIf you are not sure about the observation type, the `auto` subcommand may be useful to automatically select the appropriate command to use:\n```shell\n$ decode-qlook auto /path/to/dems.zarr.zip\n```\n\nFinally, all subcommands are available as functions in the `qlook` submodule. For example, the `raster` command corresponds to `decode.qlook.raster` and the following Python code is equivalent to the CUI:\n```python\nimport decode\n\ndecode.qlook.raster(\"/path/to/dems.zarr.zip\")\n```\nSee [the qlook module documentation](https://deshima-dev.github.io/decode/_apidoc/decode.qlook.html) for more information.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "DESHIMA code for data analysis",
"version": "2024.11.0",
"project_urls": {
"Documentation": "https://deshima-dev.github.io/decode/",
"Homepage": "https://github.com/deshima-dev/decode/"
},
"split_keywords": [
"astronomy",
" data-analysis",
" deshima",
" spectroscopy",
" submillimeter"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "91d19e00f38b4c176b0d351fe3db850c5b731e04051cbdb8abba2faec5d7e62e",
"md5": "9bd2f2240741eedc8d659adf96cc03a7",
"sha256": "692b4c048338e1a0563fd8c16328dac3784aa6bfbef286e0024e74fff80096e9"
},
"downloads": -1,
"filename": "decode-2024.11.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9bd2f2240741eedc8d659adf96cc03a7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.9",
"size": 308307,
"upload_time": "2024-11-26T08:20:37",
"upload_time_iso_8601": "2024-11-26T08:20:37.823550Z",
"url": "https://files.pythonhosted.org/packages/91/d1/9e00f38b4c176b0d351fe3db850c5b731e04051cbdb8abba2faec5d7e62e/decode-2024.11.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3f8760d167654d7b88084519ec23065f7b29303ac3ad8f6676311e7e59d88773",
"md5": "3ae5c8e8bb1aa14e29304ef7c095cd66",
"sha256": "1b421469e61bab2e2b735ff1f94093a33fd81491592d8dbbf5f199856c1c5a50"
},
"downloads": -1,
"filename": "decode-2024.11.0.tar.gz",
"has_sig": false,
"md5_digest": "3ae5c8e8bb1aa14e29304ef7c095cd66",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.9",
"size": 304254,
"upload_time": "2024-11-26T08:20:39",
"upload_time_iso_8601": "2024-11-26T08:20:39.738652Z",
"url": "https://files.pythonhosted.org/packages/3f/87/60d167654d7b88084519ec23065f7b29303ac3ad8f6676311e7e59d88773/decode-2024.11.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-26 08:20:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "deshima-dev",
"github_project": "decode",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "decode"
}