# 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==2.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": "",
"docs_url": null,
"requires_python": ">=3.9,<3.13",
"maintainer_email": "",
"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/0d/77/f5efe7cc63ff65319ea7bcd69ce31f6ff406a408eb3fa1b4601e3dea1d51/decode-2.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==2.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": "2.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": "a60b8b796b6c71b1eb7739f2e9aeec1c9c9728f5fb7b565300099a43c2c3596d",
"md5": "a290c0832c417aac4879f1681ce7724f",
"sha256": "ba3e39a51bb75242da605b6cdbe424f3f965d7caac1d90c9282c3706a17ae7bb"
},
"downloads": -1,
"filename": "decode-2.11.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a290c0832c417aac4879f1681ce7724f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<3.13",
"size": 305250,
"upload_time": "2023-12-07T06:18:04",
"upload_time_iso_8601": "2023-12-07T06:18:04.275469Z",
"url": "https://files.pythonhosted.org/packages/a6/0b/8b796b6c71b1eb7739f2e9aeec1c9c9728f5fb7b565300099a43c2c3596d/decode-2.11.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0d77f5efe7cc63ff65319ea7bcd69ce31f6ff406a408eb3fa1b4601e3dea1d51",
"md5": "20752e062be874efca530c288995b2ec",
"sha256": "654b36ed8725943633f8d81a8e9f2065e94f1902b849e97ee2721c986d0e72c5"
},
"downloads": -1,
"filename": "decode-2.11.0.tar.gz",
"has_sig": false,
"md5_digest": "20752e062be874efca530c288995b2ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<3.13",
"size": 301029,
"upload_time": "2023-12-07T06:18:06",
"upload_time_iso_8601": "2023-12-07T06:18:06.870064Z",
"url": "https://files.pythonhosted.org/packages/0d/77/f5efe7cc63ff65319ea7bcd69ce31f6ff406a408eb3fa1b4601e3dea1d51/decode-2.11.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-07 06:18:06",
"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"
}