User Tools

Site Tools


wg:pipeline_for_maser

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wg:pipeline_for_maser [2018/11/20 07:13]
yjyun
wg:pipeline_for_maser [2020/03/10 00:53] (current)
yjyun [KVN pipeline for maser]
Line 1: Line 1:
 ====== KVN pipeline for maser ====== ====== KVN pipeline for maser ======
  
-//Last updated: ​2018.11.20//+//Last updated: ​2019.11.5//
  
 ---- ----
Line 9: Line 9:
 Download: {{:​wg:​kvnpipe_line.zip}} Download: {{:​wg:​kvnpipe_line.zip}}
  
 +PDF: {{:​wg:​kvn_pipeline_maser.pdf}}
  
 ===== Description ===== ===== 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.+This pipeline is a set of the python scripts for data reduction of the KVN multi-frequency, single polarization ​observations toward the stellar maser sources.
  
  
 ===== Required packages ​ ===== ===== Required packages ​ =====
  
-  - AIPS +1. AIPS 
-  ​- ​Obit and ParselTongue + 
-    * Installation instructions for AIPS can be found [[http://​www.aips.nrao.edu/​index.shtml|here]]. +2. Obit and ParselTongue 
-    * Installation instructions for Obit and ParselTongue can be found [[http://​www.jive.nl/​jivewiki/​doku.php?​id=parseltongue:​parseltongue|here]]. +  * Installation instructions for AIPS can be found [[http://​www.aips.nrao.edu/​index.shtml|here]]. 
-  ​+  * Installation instructions for Obit and ParselTongue can be found [[http://​www.jive.nl/​jivewiki/​doku.php?​id=parseltongue:​parseltongue|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 ===== ===== How to install and run =====
  
 1. Extract ** kvnpipe_line.zip **. 1. Extract ** kvnpipe_line.zip **.
-* KVN pipeline for maser consists of seven files.+  ​* KVN pipeline for maser consists of seven files.
     * kvntask.py     * kvntask.py
     * crfuncs.py     * crfuncs.py
     * p16sc04a.py     * p16sc04a.py
-    * cploti.py 
     * input.txt     * input.txt
     * fring.input     * fring.input
-    * levs.txt 
  
-2. Copy the each file into the proper locations as belows.+2. Copy the each file into the proper locations as below.
   * Pipeline path (e.g. ~/pipeline)   * Pipeline path (e.g. ~/pipeline)
     * ~/​pipeline/​kvntask.py     * ~/​pipeline/​kvntask.py
Line 43: Line 49:
     * ~/​reduction/​p16sc04a/​input.txt     * ~/​reduction/​p16sc04a/​input.txt
     * ~/​reduction/​p16sc04a/​fring.input     * ~/​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) 3. Edit your shell environment (e.g. ~/.bashrc)
-  * Append ​** export PYTHONPATH="​~/​pipeline:​$PYTHONPATH"​ **+  * Add the pipeline directory to "​PYTHONPATH"​ system environment. 
 +  * e.g. ** export PYTHONPATH="​~/​pipeline:​$PYTHONPATH"​ **
   ​   ​
-4. Edit ** input.txt ** and ** fring.input **. +4. Edit ** input.txt ** and ** fring.input** 
-  * The contents of these files should meet the purpose ​of a specific ​observation. +  * The contents of these files correspond to the setup parameters ​of the target ​observation.
-   +
-5. Run script in work path. +
-  * cd ~/​reduction/​p16sc04a/​ +
-  * chmod u+x p16sc04a.py +
-  <​code>​ ./​p16sc04a.py input.txt </​code>​ +
-   +
-6. Plot the overlapped contour maps after the pipeline process is complete. +
-  * cd ~/​reduction/​p16sc04a/​VY-CMA +
-  * Edit ** p16sc04a.py ** and ** input.txt **. +
-  <​code>​ python cploti.txt </​code>​+
  
 +5. Edit ** p16sc04a.py. **
 +  * Append the ParselTongue path in the first line.
 +  * e.g. ** #​!~/​local/​parseltongue-2.3/​bin/​ParselTongue **
  
-===== Feedback ​and Contact ​=====+6. Run script in your work path. 
 +  cd ~/​reduction/​p16sc04a/​ 
 +  chmod u+x p16sc04a.py 
 +  ./​p16sc04a.py input.txt 
 +   
 +===== Feedback ​ =====
  
-Any feedback ​and suggestions are welcome.+Any questions ​and suggestions are welcome.
  
 yjyun(at)kasi.re.kr yjyun(at)kasi.re.kr
- 
wg/pipeline_for_maser.1542665593.txt.gz · Last modified: 2019/04/11 10:23 (external edit)