b4r
Reduction and analysis tools for LMT/B4R
Installation
pip install b4r==2024.7.0
Usage
Reduce individual data
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)
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
xfftsandlmttpmdirectories are located. - XFFTS binary data (e.g.,
xffts20181003111006.xfftsx.01) should be stored under thexfftsdirectory. - LMT antenna log data (e.g.,
lmttpm_2018-04-22_075858_01_0000.nc) should be stored under thelmttpmdirectory.
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
Metadata
Release files for b4r 2024.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| b4r-2024.7.0.tar.gz | 29.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| b4r-2024.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.1 kB
Release files / b4r-2024.7.0.tar.gz
| Download URL | b4r-2024.7.0.tar.gz |
|---|---|
| Size | 29.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07524ec11180dac7f25e30b9aceddc46c4ed3e09e321960920833cba9ee9c33a
|
|
BLAKE2b-256 checksum How to use checksums |
6c12c93c95b124f51737a68f8f69b9eee9c6b4eb5870c2375befd375bd294914
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1022-azure
|
Release files / b4r-2024.7.0-py3-none-any.whl
| Download URL | b4r-2024.7.0-py3-none-any.whl |
|---|---|
| Size | 30.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c03619dabdfcc8b7c5b9e588cc1a35c601d60179594f3c458382fa389b04aa9
|
|
BLAKE2b-256 checksum How to use checksums |
306577a76699252c5e180bd8ef879a15c4643143eb551154f778dfdf151187f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1022-azure
|