User Tools

Site Tools


wg:pipeline_for_maser

KVN pipeline for maser

Last updated: 2018.11.20


Youngjoo Yun ( yjyun(at)kasi.re.kr )

Download: kvnpipe_line.zip

Description

The KVN pipeline for maser is a set of python scripts for the data reduction of the multi-frequency KVN observations toward the stellar maser sources. The KVN pipeline for maser can deal with only the single polarization observations.

Required packages

1. AIPS

2. Obit and ParselTongue

  • Installation instructions for AIPS can be found here.
  • Installation instructions for Obit and ParselTongue can be found here.

3. Check the installed ParselTongue scripts (e.g. files in ~/local/parseltongue-2.3/bin/).

  • ~/local/parseltongue-2.3/bin/ParselTongue
  • ~/local/parseltongue-2.3/bin/ParselFileServer
  • ~/local/parseltongue-2.3/bin/ParselTongueServer
  • ~/local/parseltongue-2.3/bin/TVServer
  • Make sure Python can find the installed ParselTongue modules by checking the contents of the above files.

How to install and run

1. Extract kvnpipe_line.zip .

  • KVN pipeline for maser consists of seven files.
    • kvntask.py
    • crfuncs.py
    • p16sc04a.py
    • cploti.py
    • input.txt
    • fring.input
    • levs.txt

2. Copy the each file into the proper locations as belows.

  • Pipeline path (e.g. ~/pipeline)
    • ~/pipeline/kvntask.py
    • ~/pipeline/crfuncs.py
  • Work path (e.g. ~/reduction/p16sc04a)
    • ~/reduction/p16sc04a/p16sc04a.py
    • ~/reduction/p16sc04a/input.txt
    • ~/reduction/p16sc04a/fring.input
  • Result path (e.g. ~/reduction/p16sc04a/VY-CMA)
    • This directory is automatically created after the pipeline starts.
    • ~/reduction/p16sc04a/VY-CMA/cploti.py
    • ~/reduction/p16sc04a/VY-CMA/levs.txt
    • These two files should be copied to result path after the pipeline process is complete.

3. Edit your shell environment (e.g. ~/.bashrc)

  • Append export PYTHONPATH=“~/pipeline:$PYTHONPATH”

4. Edit input.txt and fring.input.

  • The contents of these files should meet the purpose of a specific observation.

5. Edit p16sc04a.py.

  • Append the ParselTongue path in the first line.
  • e.g. #!~/local/parseltongue-2.3/bin/ParselTongue

6. Run script in work path.

  • cd ~/reduction/p16sc04a/
  • chmod u+x p16sc04a.py
 ./p16sc04a.py input.txt 

7. Plot the overlapped contour maps after the pipeline process is complete.

  • cd ~/reduction/p16sc04a/VY-CMA
 python cploti.py 

Feedback

Any questions and suggestions are welcome.

yjyun(at)kasi.re.kr

wg/pipeline_for_maser.txt · Last modified: 2018/11/20 15:56 by yjyun