User Tools

Site Tools


wg:pipeline_for_maser

This is an old revision of the document!


KVN pipeline for maser

Last updated: 2019.11.5


Youngjoo Yun

Download: kvnpipe_line.zip

Description

This pipeline is a set of python scripts for the data reduction of the KVN multi-frequency, single polarization observations toward the stellar maser sources.

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
    • input.txt
    • fring.input

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

  • 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

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

  • Add the pipeline directory to “PYTHONPATH” system environment.
  • e.g. export PYTHONPATH=“~/pipeline:$PYTHONPATH”

4. Edit input.txt and fring.input.

  • The contents of these files correspond to the setup parameters of the target 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 your work path.

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

Feedback

Any questions and suggestions are welcome.

yjyun(at)kasi.re.kr

wg/pipeline_for_maser.1572887450.txt.gz · Last modified: 2019/11/05 02:10 by yjyun