Name | b4r JSON |
Version |
2024.7.0
JSON |
| download |
home_page | None |
Summary | Reduction and analysis tools for LMT/B4R |
upload_time | 2024-07-09 13:50:56 |
maintainer | None |
docs_url | None |
author | Akio Taniguchi |
requires_python | <3.12,>=3.9 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# b4r
[![Release](https://img.shields.io/pypi/v/b4r?label=Release&color=cornflowerblue&style=flat-square)](https://pypi.org/project/b4r/)
[![Python](https://img.shields.io/pypi/pyversions/b4r?label=Python&color=cornflowerblue&style=flat-square)](https://pypi.org/project/b4r/)
[![Downloads](https://img.shields.io/pypi/dm/b4r?label=Downloads&color=cornflowerblue&style=flat-square)](https://pepy.tech/project/b4r)
[![Tests](https://img.shields.io/github/actions/workflow/status/b4r-dev/b4r/tests.yaml?label=Tests&style=flat-square)](https://github.com/b4r-dev/b4r/actions)
Reduction and analysis tools for LMT/B4R
## Installation
```shell
pip install b4r==2024.7.0
```
## Usage
### Reduce individual data
```python
import b4r.pipe as Bp
Bp.globBaseDir = '/home/hoge/b4r'
Bp.globLogDir = '/home/hoge/b4r/logv1'
Bp.PipelineAnalysis(86420)
```
This example shows a pipeline analysis for the data obsid `86420`.
### Reduce all data (for database)
```python
import b4r.pipe as Bp
Bp.globBaseDir = '/home/hoge/b4r'
Bp.globLogDir = '/home/hoge/b4r/logv1'
Bp.PipelineAnalysisBatchRun()
```
You need to specify following pathes.
#### b4r.pipe.globBaseDir
- The path where `xffts` and `lmttpm` directories are located.
- XFFTS binary data (e.g., `xffts20181003111006.xfftsx.01`) should be stored under the `xffts` directory.
- LMT antenna log data (e.g., `lmttpm_2018-04-22_075858_01_0000.nc`) should be stored under the `lmttpm` directory.
#### b4r.pipe.globLogDir
- The path where outputs are created.
- Anywhere you like is OK.
## Products
The script create following outputs (if possible).
- Continuum Map Qlook (Pointing offset, efficiency (only for uranus), etc.)
- Line (SiO) Map Qlook (Pointing offset, etc.)
- Spectrum Qlook (with auto-flag)
- Time series spectrum of PSW data (NumPy readable format)
- GoDec calibration results (see Taniguchi et al. 2021)
- MS2 (CASA readable format)
## Correspondence
B4R 2018/2019 (obsnum<=087433) data <-> CASA MS2:
| Name | B4R | CASA MS2 |
| --- | --- | --- |
| polarization | A | (correlation or stokes) YY |
| polarization | B | (correlation or stokes) XX |
| sideband | LSB | spw 0 |
| sideband | USB | spw 1 |
## Information
- B4R webpage: http://lmtgtm.org/b4r/?lang=en
Raw data
{
"_id": null,
"home_page": null,
"name": "b4r",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.12,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Akio Taniguchi",
"author_email": "taniguchi@a.phys.nagoya-u.ac.jp",
"download_url": "https://files.pythonhosted.org/packages/6c/12/c93c95b124f51737a68f8f69b9eee9c6b4eb5870c2375befd375bd294914/b4r-2024.7.0.tar.gz",
"platform": null,
"description": "# b4r\n\n[![Release](https://img.shields.io/pypi/v/b4r?label=Release&color=cornflowerblue&style=flat-square)](https://pypi.org/project/b4r/)\n[![Python](https://img.shields.io/pypi/pyversions/b4r?label=Python&color=cornflowerblue&style=flat-square)](https://pypi.org/project/b4r/)\n[![Downloads](https://img.shields.io/pypi/dm/b4r?label=Downloads&color=cornflowerblue&style=flat-square)](https://pepy.tech/project/b4r)\n[![Tests](https://img.shields.io/github/actions/workflow/status/b4r-dev/b4r/tests.yaml?label=Tests&style=flat-square)](https://github.com/b4r-dev/b4r/actions)\n\nReduction and analysis tools for LMT/B4R\n\n## Installation\n\n```shell\npip install b4r==2024.7.0\n```\n\n## Usage\n\n### Reduce individual data\n\n```python\nimport b4r.pipe as Bp\n\n\nBp.globBaseDir = '/home/hoge/b4r'\nBp.globLogDir = '/home/hoge/b4r/logv1'\nBp.PipelineAnalysis(86420)\n```\n\nThis example shows a pipeline analysis for the data obsid `86420`.\n\n### Reduce all data (for database)\n\n```python\nimport b4r.pipe as Bp\n\nBp.globBaseDir = '/home/hoge/b4r'\nBp.globLogDir = '/home/hoge/b4r/logv1'\nBp.PipelineAnalysisBatchRun()\n```\n\nYou need to specify following pathes.\n\n#### b4r.pipe.globBaseDir\n\n- The path where `xffts` and `lmttpm` directories are located.\n- XFFTS binary data (e.g., `xffts20181003111006.xfftsx.01`) should be stored under the `xffts` directory.\n- LMT antenna log data (e.g., `lmttpm_2018-04-22_075858_01_0000.nc`) should be stored under the `lmttpm` directory.\n\n#### b4r.pipe.globLogDir\n\n- The path where outputs are created.\n- Anywhere you like is OK.\n\n## Products\n\nThe script create following outputs (if possible).\n\n- Continuum Map Qlook (Pointing offset, efficiency (only for uranus), etc.)\n- Line (SiO) Map Qlook (Pointing offset, etc.)\n- Spectrum Qlook (with auto-flag)\n- Time series spectrum of PSW data (NumPy readable format)\n- GoDec calibration results (see Taniguchi et al. 2021)\n- MS2 (CASA readable format)\n\n## Correspondence\n\nB4R 2018/2019 (obsnum<=087433) data <-> CASA MS2:\n\n| Name | B4R | CASA MS2 |\n| --- | --- | --- |\n| polarization | A | (correlation or stokes) YY |\n| polarization | B | (correlation or stokes) XX |\n| sideband | LSB | spw 0 |\n| sideband | USB | spw 1 |\n\n## Information\n\n- B4R webpage: http://lmtgtm.org/b4r/?lang=en\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Reduction and analysis tools for LMT/B4R",
"version": "2024.7.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "306577a76699252c5e180bd8ef879a15c4643143eb551154f778dfdf151187f5",
"md5": "d9a9609d268c1d17e828af4601f34591",
"sha256": "1c03619dabdfcc8b7c5b9e588cc1a35c601d60179594f3c458382fa389b04aa9"
},
"downloads": -1,
"filename": "b4r-2024.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d9a9609d268c1d17e828af4601f34591",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.9",
"size": 30784,
"upload_time": "2024-07-09T13:50:54",
"upload_time_iso_8601": "2024-07-09T13:50:54.845272Z",
"url": "https://files.pythonhosted.org/packages/30/65/77a76699252c5e180bd8ef879a15c4643143eb551154f778dfdf151187f5/b4r-2024.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6c12c93c95b124f51737a68f8f69b9eee9c6b4eb5870c2375befd375bd294914",
"md5": "7aa5b7cd34f8a3c98a860a6ca3945375",
"sha256": "07524ec11180dac7f25e30b9aceddc46c4ed3e09e321960920833cba9ee9c33a"
},
"downloads": -1,
"filename": "b4r-2024.7.0.tar.gz",
"has_sig": false,
"md5_digest": "7aa5b7cd34f8a3c98a860a6ca3945375",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.12,>=3.9",
"size": 29313,
"upload_time": "2024-07-09T13:50:56",
"upload_time_iso_8601": "2024-07-09T13:50:56.249917Z",
"url": "https://files.pythonhosted.org/packages/6c/12/c93c95b124f51737a68f8f69b9eee9c6b4eb5870c2375befd375bd294914/b4r-2024.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-09 13:50:56",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "b4r"
}