Git Product home page Git Product logo

b4r's Introduction

b4r

Release Python Downloads Tests

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 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's People

Contributors

astropenguin avatar astroysmr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

b4r's Issues

Rename project

Rename the project to b4r and move all codes to b4r.pipe subpackage.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.