Commissioning and Science Verification

Optical Pointing > Analysis

What's this page?
This page describes the way to analyze optical pointing data.
Revision history
  • 2010-04-13 - modified by B. Hatsukade (astepon2010_red.txt)
  • 2010-05-17 - modified for wiki by B. Hatsukade
  • 2014-04-23 - updated by BH and YW
  • 2016-08-01 - modified for Linux COSMOS3 by Kamazaki,T.
Table of contents

1. Preparations in MATLAB

  1. rsync MATLAB programs
    asteXX@aste-ms1: cd ~/optpon/matlab
    asteXX@aste-ms1: rsync -av --delete /home/astecal/astepon/matlab/12_ASTE_20XX/ 12_YYYYMMDD/    (YYYYMMDD=current date; e.g. 2016-08-07 -> 20160807)
    ...

2. Data copy

  1. astecntl@aste-1c:/home/astecntl/optponにデータファイルができているのを確認 (200908102207.tabなど、日付と時刻のついた.tabファイル)
    asteXX@aste-ms1: cd optpon/matlab/tabs_i
    asteXX@aste-ms1: pwd
    /home/asteXX/optpon/matlab/12_ASTE_YYYYMMDD/tabs_i
    asteXX@aste-ms1: rsync -e ssh -avz astecntl@aste-1c:./optpon/"*.tab" ./

3. Data reduction on MATLAB

12_ASTE_YYYYMMDD/tabs_i に入っている .tab ファイルが順に解析される。

  1. Run MATLAB
    asteXX@aste-ms1: cd ~/optpon/matlab/12_ASTE_YYYYMMDD/
    asteXX@aste-ms1: /usr/local/matlab/R2009a/bin/matlab &
    matlab >> pwd
    /home/aste16/optpon/matlab/12_ASTE_YYYYMMDD
  2. Run either of the MATLAB scripts according to the OPT programs
    [iOPT_r17c]
    matlab >> step_02_tab2mat2pm_iOPT_A22c
    [tracking_c2n]
    matlab >> stp_72_tab2mat2pm_v2

4. Results

器差パラメータのフィット結果

Plots

Troubleshooting

"??? Index exceeds matrix dimensions." during the execution of MATLAB scripts

??? Index exceeds matrix dimensions.

Error in ==> step_02_tab2mat2pm_iOPT_A22c at 26
        az = str2double(nextline(34:41));    dat(icount,1)=az;

??? Error using ==> feof
Invalid file identifier.  Use fopen to generate a valid file identifier.

Error in ==> step_02_tab2mat2pm_iOPT_A22c at 18
    while feof(fid) == 0

.tab ファイルの中身がおかしい可能性。中身をチェックして、データが欠損している行を削除。


Front page   New Page list Search Recent changes   Help   RSS of recent changes