Differences between revisions 2 and 31 (spanning 29 versions)
Revision 2 as of 2012-11-08 12:37:32
Size: 2533
Comment:
Revision 31 as of 2012-11-17 18:02:10
Size: 4399
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
'''User Manual for REAL TIME DATA ANALYSIS''' == User Manual for REAL TIME DATA ANALYSIS on SAMI ==
Line 3: Line 3:
1) General Info:
 a) all the products of the real time data analysis (.png, .fits, .save) are stored in this folder ………..
----
'''CROSS:'''
Line 6: Line 6:
 b) the parameter scan_num (number of scan) is an integer 1. log on sami
Line 8: Line 8:
 c) the parameter day (date of the scan) is a string as 'yearmonthday' (ex: '20121120') 2. edit todo_cross.pro, update scan_num, day and the reference detectors if needed.
Line 10: Line 10:
2) Preliminary actions:
 a) start idl
2. in idl, type .r todo_cross
Line 13: Line 12:
3) POINTING PROCEDURE 3. the corrections are output on the plots and in offset1 and offset2. These corrections must be added as is '''to your current values of pointing offsets'''. e.g., you started your observation with SET POINTING 3.4 -1.2. After running todo_cross, you find DeltaAz=0.5, DeltaEl=1. Then, in PAKO, type SET POINTING 3.9 -0.2. In the pako help file, it was said to give the pointing corrections without the initial offset because it assumed you were doing the cross on the center pixel with azimuth and elevation offsets zero.

----
'''FOCUS:'''

1. log on sami

2. edit todo_focus.pro, update scan_num, day and the reference detectors if needed.

2. in idl, type .r todo_focus

3. The returned value of the focus must be passed to PAKO as is. e.g. if you find z = -1.9, then in PAKO type : SET FOCUS -1.9


----
'''OTF Geometry:'''

'''Please''' read [[OTFGeometryHelp||this]] carefully before...

''' Voir otf_geometry_help.pro'''


'''Please read this at least once carefully:'''

Update get_info.pro for the relevant scan_num and day

launch crun.pro on sami and on the laptop if kids selection has to be redone

if select_kids needed, transfer data to laptop and follow todo_otf_geometry

scp *save archeops@192.168.1.32:/home/archeops/Data/Iram/Save/.

follow todo_otf_geometry

Updater nika_lib_init avec les nouvelles kidpar_ref


.

.

.

.

.
.








1. Login on Sami with username archeops and the usual passwd. You are then in the Home directory
2. From a terminal window type: emacs todo_NameOfProcedure.pro &
3. This file to have examples of input parameters of the real time analyses to use



 1. General Info:


  * all the products of the real time data analysis (.png, .fits, .save) are stored in this folder ………..;

  * the parameter scan_num (number of scan) is an integer

  * the parameter day (date of the scan) is a string as 'yearmonthday' (ex: '20121120')

 2. Preliminary actions:


  * start idl

 3. POINTING PROCEDURE:
Line 16: Line 91:
 a) Open the IDL script RealTime/todo_cross.pro   * Open the IDL script RealTime/todo_cross.pro
Line 18: Line 93:
 b) execute line X1 updating scan_num and day parameters.   * execute line X1 updating scan_num and day parameters.
Line 20: Line 95:
 c) execute 'cross, scan_num, day, offsets, info=info'   * execute 'cross, scan_num, day, offsets, info=info'
Line 22: Line 97:
 d) execute print,offset   * execute print,offset
Line 26: Line 102:
4) FOCUS PROCEDURE  4. FOCUS PROCEDURE
Line 29: Line 106:
 a) Edit the IDL script RealTime/todo_focus.pro
 b) execute line X1 updating scan_num and day parameters.
 c) execute 'focus, scan_num, day, z_final, info=info'
  * Edit the IDL script RealTime/todo_focus.pro

  *
execute line X1 updating scan_num and day parameters.

  *
execute 'focus, scan_num, day, z_final, info=info'
Line 36: Line 116:
        d) execute print, z_final   * execute print, z_final
Line 40: Line 121:
5) SELECT KIDS PROCEDURE  5. SELECT KIDS PROCEDURE
Line 44: Line 126:
 a) Open the IDL script RealTime/todo_x.pro
 b) execute from line X1 to line X2
 c) execute 'select_kids, scan_num, day, info=info'
  * Open the IDL script RealTime/todo_x.pro
  * execute from line X1 to line X2
  * execute 'select_kids, scan_num, day, info=info'
Line 49: Line 131:
5) OTF GEOMETRY PROCEDURE  6. OTF GEOMETRY PROCEDURE
Line 51: Line 133:
 a) Open the IDL script RealTime/todo_x.pro
 b) execute from line X1 to line X2
 c) execute 'otf_geometry, scan_num, day, info=info'
  * Open the IDL script RealTime/todo_x.pro

  *
execute from line X1 to line X2

  *
execute 'otf_geometry, scan_num, day, info=info'

User Manual for REAL TIME DATA ANALYSIS on SAMI


CROSS:

1. log on sami

2. edit todo_cross.pro, update scan_num, day and the reference detectors if needed.

2. in idl, type .r todo_cross

3. the corrections are output on the plots and in offset1 and offset2. These corrections must be added as is to your current values of pointing offsets. e.g., you started your observation with SET POINTING 3.4 -1.2. After running todo_cross, you find DeltaAz=0.5, DeltaEl=1. Then, in PAKO, type SET POINTING 3.9 -0.2. In the pako help file, it was said to give the pointing corrections without the initial offset because it assumed you were doing the cross on the center pixel with azimuth and elevation offsets zero.


FOCUS:

1. log on sami

2. edit todo_focus.pro, update scan_num, day and the reference detectors if needed.

2. in idl, type .r todo_focus

3. The returned value of the focus must be passed to PAKO as is. e.g. if you find z = -1.9, then in PAKO type : SET FOCUS -1.9


OTF Geometry:

Please read OTFGeometryHelp carefully before...

Voir otf_geometry_help.pro

Please read this at least once carefully:

Update get_info.pro for the relevant scan_num and day

launch crun.pro on sami and on the laptop if kids selection has to be redone

if select_kids needed, transfer data to laptop and follow todo_otf_geometry

scp *save archeops@192.168.1.32:/home/archeops/Data/Iram/Save/.

follow todo_otf_geometry

Updater nika_lib_init avec les nouvelles kidpar_ref

.

.

.

.

. .

1. Login on Sami with username archeops and the usual passwd. You are then in the Home directory 2. From a terminal window type: emacs todo_NameOfProcedure.pro & 3. This file to have examples of input parameters of the real time analyses to use

  1. General Info:
    • all the products of the real time data analysis (.png, .fits, .save) are stored in this folder ………..;
    • the parameter scan_num (number of scan) is an integer
    • the parameter day (date of the scan) is a string as 'yearmonthday' (ex: '20121120')
  2. Preliminary actions:
    • start idl
  3. POINTING PROCEDURE:

Determine pointing offset by making 4 subscans (see pointing Pako procedure on …….).

  • Open the IDL script RealTime/todo_cross.pro
  • execute line X1 updating scan_num and day parameters.
  • execute 'cross, scan_num, day, offsets, info=info'

……………………………

  • execute print,offset

offset returns the value of the RELATIVE offset for the two arrays wrt previous value set in Pako. The value obtained from 1mm array has to be considered as priority.

  1. FOCUS PROCEDURE

The procedure intends to maximize the power on one reference pixel (where the considered source is centered) when the position of the secondary mirror is changed by X steps (see Pako procedure on …..).

  • Edit the IDL script RealTime/todo_focus.pro
  • execute line X1 updating scan_num and day parameters.
  • execute 'focus, scan_num, day, z_final, info=info'

the procedure produces 4 plots, 2 for each array. Two plots, one for 2mm array and the other for 1mm array, show the TOD of the procedure. (and the fraction of the plateau chosen for the analysis (in green). Plots IDL33 (2mm array) and IDL35 (1mm array) show the total power (in Hertz!) versus the position of the secondary, for reference pixel (top right in red) and for nearby pixels (9). The best position is fitted with a second order polynomial.

  • execute print, z_final

z_final returns the values of the ABSOLUTE best position of the secondary mirror for the two arrays (z_final(0)=best pos 2mm - z_final(1)=best pos 1mm). The value obtained from 1mm array has to be considered as priority.

  1. SELECT KIDS PROCEDURE

This procedure computes individual maps to determine the kids parameters that can be upgraded in otf_geometry. This procedure should be run only once at the beginning of the campaign.

  • Open the IDL script RealTime/todo_x.pro
  • execute from line X1 to line X2
  • execute 'select_kids, scan_num, day, info=info'
  1. OTF GEOMETRY PROCEDURE
    • Open the IDL script RealTime/todo_x.pro
    • execute from line X1 to line X2
    • execute 'otf_geometry, scan_num, day, info=info'

RealTime_User_Manual (last edited 2012-11-19 01:41:10 by NikaBolometer)