b4rpipe-0.1.3
توضیحات
Pipeline reduction tools for B4R (2mm heterodyne reciver) on LMT 50m @Mexico
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | b4rpipe-0.1.3 |
| نام | b4rpipe |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | astroysmr |
| ایمیل نویسنده | astro.yoshimura@gmail.com |
| آدرس صفحه اصلی | https://github.com/LMT-heterodyne-dev/b4rpipe |
| آدرس اینترنتی | https://pypi.org/project/b4rpipe/ |
| مجوز | MIT |
# b4rpipe
[](https://pypi.org/pypi/b4rpipe/)
[](https://pypi.org/pypi/b4rpipe/)
[](LICENSE)
Pipeline reduction tools for B4R/LMT data.
**************************************************************
Installation
**************************************************************
```terminal
$ pip install b4rpipe
```
**************************************************************
Usage
**************************************************************
### Reduce individual data
```terminal
$ python
$ >>> import b4rpipe 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)
```terminal
$ python
$ >>> import b4rpipe as Bp
$ >>> Bp.globBaseDir = '/home/hoge/b4r'
$ >>> Bp.globLogDir = '/home/hoge/b4r/logv1'
$ >>> Bp.PipelineAnalysisBatchRun()
```
You need to specify following pathes.
#### b4pipe.globBaseDir
* The path where "xffts" and "lmttpm" directorys 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.
#### b4rpipe.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 Taniguch et al. 2021)
* MS2 (CASA readable format)
**************************************************************
Data query and download (only for internal use now)
**************************************************************
If you are in the NAOJ or IoA (U. Tokyo) local network, you can access the B4R ftp server.
```terminal
$ python
$ >>> import b4rpipe as Bp
$ >>> Bp.PipelineAnalysis(86420,DataDownload=True,username='hogehoge',password='*****')
```
Then "rawdata" and "calibrated" directory appears at the current directory.
```terminal
$ ls
raw calibrated
$ ls rawdata
lmttpm xffts
$ls calibrated
86420
```
**************************************************************
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
* Contact: Yuki Yoshimura
(email: astro.yoshimura(_at_)gmail.com)
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | scipy |
| - | astropy |
| - | matplotlib |
| - | netcdf4 |
| - | python-casacore |
| - | tqdm |
| - | sklearn |
نحوه نصب
نصب پکیج whl b4rpipe-0.1.3:
pip install b4rpipe-0.1.3.whl
نصب پکیج tar.gz b4rpipe-0.1.3:
pip install b4rpipe-0.1.3.tar.gz