Differences between revisions 6 and 36 (spanning 30 versions)
Revision 6 as of 2012-11-08 12:40:26
Size: 2596
Comment:
Revision 36 as of 2012-11-19 01:41:10
Size: 2372
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. dkjfghldjkgadl '''Get prepared:'''
Line 5: Line 5:
 a. dlkjgsòlkgj 1. log on sami
Line 7: Line 7:
 b. sigdioag 2. edit $NIKA_CONFIG_FILE

3. Copy and paste a bunch of lines like the ones that are already there, updating the day, scan_number, ... informations. You may update them with smarter values later on, but from the time being, you want your future scans to have show this minimal configuration
Line 10: Line 12:
 1. General Info: ----
'''CROSS:'''
Line 12: Line 15:
 a. all the products of the real time data analysis (.png, .fits, .save) are stored in this folder ……….. 1. log on sami
Line 14: Line 17:
 b. the parameter scan_num (number of scan) is an integer 2. edit todo_cross.pro, update scan_num, day and the reference detectors if needed.
Line 16: Line 19:
 c. the parameter day (date of the scan) is a string as 'yearmonthday' (ex: '20121120') 2. in idl, type .r todo_cross
Line 18: Line 21:
2) Preliminary actions:
 a) start idl
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.
Line 21: Line 23:
3) POINTING PROCEDURE
Determine pointing offset by making 4 subscans (see pointing Pako procedure on …….).
 
 a) Open the IDL script RealTime/todo_cross.pro
----
'''FOCUS:'''
Line 26: Line 26:
 b) execute line X1 updating scan_num and day parameters. 1. log on sami
Line 28: Line 28:
 c) execute 'cross, scan_num, day, offsets, info=info'
……………………………
 d) 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.
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
Line 34: Line 35:
4) 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 …..).
----
'''OTF Geometry:'''
Line 37: Line 38:
 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'
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.
 
        d) 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.
'''Please''' read [[OTFGeometryHelp||this]] carefully before...
Line 47: Line 40:
1. Edit otf_geometry_help.pro and follow the guide. This is not a standard idl routine file, it is just a memo with the relevant lines to cut and paste into the idl terminal window.
Line 48: Line 42:
5) 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.
----
Line 52: Line 44:
 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'
=== General information ===
Line 56: Line 46:
1. Log on Sami with username archeops and the usual passwd. You are then in the Home directory
Line 57: Line 48:
5) OTF GEOMETRY PROCEDURE 2. The basic argument of real time analysis routines are "scan_num", which is an integer and "day" which is a string such as: '20121115'
Line 59: Line 50:
 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'
3. From a terminal window type: emacs todo_nameOfProcedure.pro &

4. You may then either cut and paste directly the lines of this file into the IDL terminal window, or, in the idl window, type: .r todo_NameOfProcedure

5. If the keyword png is set (either png=1 or /png), the relevant files are put in the directory $NIKA_PLOT_DIR/day_scannum. For unclear reason, it prevents the plots to pop up properly in source_map.pro though....

User Manual for REAL TIME DATA ANALYSIS on SAMI

Get prepared:

1. log on sami

2. edit $NIKA_CONFIG_FILE

3. Copy and paste a bunch of lines like the ones that are already there, updating the day, scan_number, ... informations. You may update them with smarter values later on, but from the time being, you want your future scans to have show this minimal configuration


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...

1. Edit otf_geometry_help.pro and follow the guide. This is not a standard idl routine file, it is just a memo with the relevant lines to cut and paste into the idl terminal window.


General information

1. Log on Sami with username archeops and the usual passwd. You are then in the Home directory

2. The basic argument of real time analysis routines are "scan_num", which is an integer and "day" which is a string such as: '20121115'

3. From a terminal window type: emacs todo_nameOfProcedure.pro &

4. You may then either cut and paste directly the lines of this file into the IDL terminal window, or, in the idl window, type: .r todo_NameOfProcedure

5. If the keyword png is set (either png=1 or /png), the relevant files are put in the directory $NIKA_PLOT_DIR/day_scannum. For unclear reason, it prevents the plots to pop up properly in source_map.pro though....

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