[[Commissioning and Science Verification]] * Optical Pointing > Observation table preparation [#b375a723] :What's this page?| This page describes the way to generate observation tables for optical pointing measurements. :Revision history| -- 2006 - K. Nakanishi - prepared ASTE_OPT_FOCUS.pdf. -- 2010-04-02 - N. UKITA - modified. -- 2010-09-03 - B. Hatsukade - created Pukiwiki pages from the PDF. -- 2013-08-05 - N. UKITA - modified. -- 2014-04-21 - BH and YW - updated. -- 2016-07-25 - Kamazaki,T. - modified for Linux COSMOS3. :Table of contents| #contents ---- ** How to generate observation tables for OPT [#c1c7bf5e] *** 1. Rsync necessary files (once the start of CSV for the open-use program) [#o6399b9c] - Login to the MTK analysis server (aste-ms1) with asteXX (e.g. aste16) % ssh -Y asteXX@aste-ms1 - Create a directory and then, rsync necessary files asteXX@aste-ms1: mkdir -p ~/optpon/matlab asteXX@aste-ms1: cd ~/optpon/matlab asteXX@aste-ms1: pwd /home/asteXX/optpon/matlab asteXX@aste-ms1: rsync -av --delete ~astecal/optpon/matlab/11_StarCatalogue/ ./11_StarCatalogue/ *** 2. Run MATLAB on the MTK analysis server (aste-ms1) [#m361150d] - Run MATLAB asteXX@aste-ms1: cd ~/optpon/matlab asteXX@aste-ms1: pwd /home/asteXX/optpon/matlab asteXX@aste-ms1: /usr/local/matlab/R2009a/bin/matlab & -- All matlab scripts are under ''asteXX@aste-ms1:/home/asteXX/optpon/matlab''. -- Hereafter, matlab scripts should be run on a ''Command Window'' of MATLAB. ''You can skip STEP 3-5, if there is no update in the Tycho, FK5 and Hipparcus catalogues.'' ---- *** 3. Create a list of bright stars in a MATLAB format [#y5026cf3] - Run ''step_00_19_6p3mag.m'' in ''11_StarCatalogue/Tycho'' matlab >> cd 11_StarCatalogue/Tycho matlab >> pwd /home/asteXX/optpon/matlab/11_StarCatalogue/Tycho matlab >> step_00_19_6p3mag The following file will be created in the same directory. matlab >> ls -l tyc2dat6p3.mat -rw-r--r-- 1 aste16 astgrp 225168 Aug 5 00:53 tyc2dat6p3.mat -- From the Tycho catalogue, stars brighter than 6.3 mag. will be listed with their positions and proper motions. *** 4. Merge additional information to the list [#xc89eb78] - Run ''step01_tyc2fk5hip_v3.m'' in ''11_StarCatalogue''. >> cd .. matlab >> pwd /home/asteXX/optpon/matlab/11_StarCatalogue matlab >> step01_tyc2fk5hip_v3 The following files will be created under ./ASTEnew. matlab >> ls -l ASTEnew -rw-r--r-- 1 aste16 astgrp 600860 Aug 5 01:11 ASTEnew/tyc2fk5_6p3_Sp_v2.mat (MATLAB file) -rw-r--r-- 1 aste16 astgrp 176777 Aug 5 01:11 ASTEnew/tyc2fk5_6p3_Sp_v2.png (Text file) -rw-r--r-- 1 aste16 astgrp 681400 Aug 5 01:11 ASTEnew/tyc2fk5_6p3_Sp_v2.txt (PNG file) -- From the FK5 and Hipparcus catalogues, the information about magnitude, spectral type, multiplicity and so on will be added to the list generated in the previous step. *** 5. Select appropriate stars [#u366fe3c] - Run ''step02_tyc2fk5SpSepv4.m'' in ''11_StarCatalogue''. matlab >> pwd /home/asteXX/optpon/matlab/11_StarCatalogue matlab >> step02_tyc2fk5SpSepv4 The following files will be created under ./ASTENew. matlab >> ls -l ASTEnew -rw-r--r-- 1 aste16 astgrp 126373 Aug 5 01:28 ASTEnew/tyc2fk5_R4p5_Sp_sep_v4.mat (MATLAB file) -rw-r--r-- 1 aste16 astgrp 43877 Aug 5 01:28 ASTEnew/tyc2fk5_R4p5_Sp_sep_v4.png (Text file) -rw-r--r-- 1 aste16 astgrp 73628 Aug 5 01:28 ASTEnew/tyc2fk5_R4p5_Sp_sep_v4.txt (PNG file) -- 2重星でなくかつRmagが4.5等級より明るい星を選び出した後、星が密に分布するのを回避するために間引く。測定実績から以下のように分類。 --- (0.00<Rmag<=2.30)-->'A'; --- (2.30<Rmag<=3.20)-->'B'; --- (3.20<Rmag<=3.95)-->'C'; --- (3.95<Rmag<=4.50)-->'D'; -- 夜間はBとCクラスを用いる(Aはサチる)。昼間にはAとBクラスを用いる。Dクラスでも測定可能。683個の星が選び出される。 ---- *** 6. Generate observation tables [#s82bc796] + Login to the ASTE site server (aste-1s) with asteXX (e.g. aste16) % ssh aste-1s -l asteXX + Create the project directories for OPT asteXX@aste-1s: cd /export/obstable/asteXX asteXX@aste-1s: pwd /cosmos3/aste/obstable/asteXX asteXX@aste-1s: mkdir -p optpon/obstable asteXX@aste-1s: ls -ld optpon/obstable drwxr-xr-x 2 aste16 astgrp 4096 Aug 5 02:01 optpon/obstable/ asteXX@aste-1s: mkdir -p opttrk/obstable asteXX@aste-1s: ls -ld opttrk/obstable drwxr-xr-x 2 aste16 astgrp 4096 Aug 5 02:29 opttrk/obstable/ *** 6a. Observation tables for optical pointing [#va61a796] - Run ''step10_allsky_v5.m'' in ''11_StarCatalogue'' matlab >> pwd /home/asteXX/optpon/matlab/11_StarCatalogue matlab >> step10_allsky_v5 Observation tables (L00h00m.start - L23h30m.start) will be generated under ./startfiles5. - Copy the generated tables to the ASTE site server asteXX@aste-ms1: cd ~/optpon/matlab/11_StarCatalogue/startfiles5 asteXX@aste-ms1: scp -p *.start aste-1s:/export/obstable/asteXX/optpon/obstable *** 6b. %%Observation tables for 「いつでもOPT用」%% [#mf92bd34] //+ %%Run ''step12_iOPT_single_v4.m'' in ''11_StarCatalogue''%% // >> pwd // /home/asteXX/optpon/matlab/11_StarCatalogue // >> step12_iOPT_single_v4 //+ %%Copy the generated tables to asteXX/optpon/ of the ASTE site%% // asteXX@aste-ms1: cd ~/matlab/11_StarCatalogue/iOPT // asteXX@aste-ms1: scp -p *.start aste-1s:/cosmos3/aste/obstable/asteXX/optpon/obstable *** 6c. %%Observation tables for batch execution%% [#n229e58e] //+ %%Run ''step14_allsky_batch_v4.m'' in ''11_StarCatalogue''%% // >> pwd // /home/asteXX/optpon/matlab/11_StarCatalogue // >> step14_allsky_batch_v4 //-- %%これらの指示書(例:i235+06C.start)をbatch形式で使う測定指示書(昼間、太陽近辺の星をskipする)。%% *** 6d. Observation tables for continuous tracking [#f35d990a] - Run ''step16_Long_single_v4.m'' in ''11_StarCatalogue'' matlab >> pwd /home/asteXX/optpon/matlab/11_StarCatalogue matlab >> step16_Long_single_v4 Observation tables will be generated under ./Long - Copy the generated tables to the ASTE site server asteXX@aste-ms1: cd ~/optpon/matlab/11_StarCatalogue/Long asteXX@aste-ms1: scp -p *.start aste-1s:/export/obstable/asteXX/opttrk/obstable // End of the page