Attachment 'Pako_helpv13.txt'
Download 1 PAKO preparation for 2012 run5
2 -------------------------
3 ; v9 is at the start of 2012 (copy of v8)
4 ; v10 is rearranged v9 for the preparation of November 2012, run5
5 ; v11 add the new computer config (see the end)
6 ; v12 updated at MCBT, Nov. 6th, 2012
7 ; v13 update pako commands, new setup for NIKA, Nov. 14, 2012, SL
8
9 --------- XEphem usage -------------------------------------------------
10 !! preliminary: if you want to use xephem with the position of the telescope displayed in real time
11 ! run the following sequence from the command prompt
12 slogin mrt-lx3
13 ps xa |grep azElToXephem.py & ! check if the script is already running, if not do the following
14 useNCS
15 azElToXephem.py &
16 ! once the script is running type:
17 /vis/xephem/xephem
18
19 ------- Managing Imbfits file -----------------------------------------------
20 ; Telescope fits are in mrt-lx1
21 /ncsServer/mrt/ncs/data/imbfits/bol
22 on mrt-lx1 (not gra-lx1)
23
24 or best
25 /ncsServer/mrt/ncs/data/20120604/scans
26
27 /ncsServer/mrt/ncs/data/20120604/datastreams/bbc
28
29 processed imbfits files are
30 /ncs/data/imbfits/bol/
31 ; Or in ?
32 /ncsServer/mrt/ncs/data/datastreams/nika/2012
33 ; Or in ?
34 /ncsServer/mrt/ncs/data/imbfits/bol
35
36 ; There is a script to copy imbfits files from Iram to sami locally e.g.
37 ./Backup_telescope.bash 20121024
38
39 ; To process NIKA raw data files onto fits files and imbfits files
40 ; log in sami on a dedicated window
41 idl
42 convert_fits_files2
43
44 ---------- Pako usage ----------------------------------------------
45 !!!!
46 Interface to NCS
47 Summary of PAKO user's manual
48
49
50 ! starts a comment line
51 - command is continued
52 @ filename to execute the script filename
53
54 ; To start pako
55 ; Devant l'ordinateur de commande : login as t21
56 ssh t21@mrt-lx1....
57
58 goPako
59 pakoDisplay
60 pakoNIKA
61
62 !!! The observer should be able to run @ini to have all the following commands in the script file
63 !!! Attention, ini is the new init file for NIKA, do not use the old nini which will create problems !!!
64
65
66 !!! Check that the NCS knows the current project is t21
67 !!! otherwise the telescope will not obey you pako commands !
68 !!! --> look at the OperatorControl screen and/or ask the operator
69
70 set project t21
71 set pi "Alain"
72 set observer "Nika observer" ! your name here, Nika needs you
73
74 ! If not sending commands (outside normal run) do:
75 SET DOSUBMIT NO
76
77 SET LEVEL 0 0 ! very verbose
78 SET LEVEL 1 1 ! chatty
79 SET LEVEL 3 3 ! less
80 SET LEVEL 5 5 ! none
81
82 ! Choose one of the 2 azimuth topology possibilities to decide on which end of the
83 ! azimuth overlap you want to set the origin of the 360 degrees azimuth circle
84 ! May be usefull to avoid a complete turn (>8min) to go from one source ot another
85 SET TOPOLOGY LOW ! selects to use the azimuth range 60 to 420 degrees
86 SET TOPOLOGY HIGH ! selects to use the azimuth range 100 to 460 degrees
87
88 SET ANGLEUNIT arcsec ! make sure angle units are arcsec.
89
90 ! Remember to reset offsets!
91 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
92 OFFSETS /Clear
93
94 ! total power (no secondary wobbler)
95 SWTOTAL
96
97 ! New: NIKA is now incorporated in NCS no need to choose a dumy instrument for pointing purpose
98 RECEIVER /CLEAR
99 !
100 RECEIVER Bolometer NIKA ! set pointing mobel of NIKA
101 !! No need to set a backend anymore
102
103 !
104 ! prepare a catalog
105 ! NIKA.sou (see wiki web) to put in the directory :
106 ! t21/pako
107
108 ! Choose a catalog with a .sou extension
109 CATALOG SOURCE NIKA
110 HELP source
111
112 ! select a source
113 ! No case matching, but name must be full
114 SOURCE W3OH
115
116 ! or a planet
117 SOURCE Mars
118
119 ! to check the catalog
120 HELP SOURCE
121
122 ! Catalog of Pointing source from IRAM
123 CATALOG SOURCE iram-J2000
124
125 ! Once you have entered an observing mode (See below)
126 ! if you want that the telescope executes your commands do no forget
127 SET DOSUBMIT YES
128
129 ! start an observation (MAKE SURE you want that)
130 START
131 ! (if you still have DOSUBMIT NO, nothing happens, but the commands
132 ! are in the queue and they will be executed when SET DOSUBMIT YES)
133
134 !!!!!!!!! Observing modes !!!!!!!
135
136 ! procedures for tunning:
137 @ diy-test-00.pako ! 11 seconds track with 440 330 RA DEC offset to tune NIKA resonances
138 ! Note the text parameter "Tune" is sent through NCS (then Elvin) to be used by data acquisition
139 !
140 @ diy-test-03.pako ! big 600x600 arcsec OTF map with 66 steps of 20" each, and 10 seconds pause
141 ! at each end of subscan for frequency tunning, the text parameter sent by NCS is "big OTF with tunes"
142 !
143 @ diy-test-12.pako ! sky dip from 1.1 to 3.5 airmass by step of 0.4, with 11 sec for tunning
144 ! followed by 22 sec for measure at each step, the text parameter sent by NCS is "tuned Tip"
145
146 ! procedure to focus
147 ! to set focus correction in mm wrt the current focus
148 SET FOCUS -2.4
149
150 ! On the fly mode (cover all array pixels) for pointing and alignment. Expensive.
151 OTFMAP -180 -180 180 -180 - ! offsets at start and end of first otf subscan
152 /notf 61 ! number of subscans
153 /step 0 6 ! steps between subscans in arcsecond (az el)
154 /system truehorizon ! projection AzEl is used to define the map
155 /totf 36 ! time of a subscan
156 /zigzag ! go back and forth
157 /reference no ! not necessary except if there's a conflict with /system
158
159 !! Attention to the tracking speed (= subscan length / totf) if you choose >10"/s keep an eye
160 !! on the tracking errors trackAz and trackEl in real time on the telescope control screen
161 !! this information is also stored in the FITs files (you can go much faster,
162 !! check tabble of speed limit depending on elevation
163
164 ! Correct pointing to center on the array by giving a and b
165 ! Pointing corrections should be done in az, el, not nasmyth, R. Zylka private communication
166 OFFSET 0 0 /SYSTEM Nasmyth
167
168
169 ! Small map to check the focus quickly
170 OTFMAP -48 -48 48 -48 - ! offsets at start and end of first otf subscan
171 /notf 17 ! number of subscans
172 /step 0 6 ! steps between subscans in arcsecond
173 /system truehorizon ! projection AzEl is used to define the map
174 /totf 10 ! time of a subscan
175 /zigzag ! go back and forth
176
177 ! 4 switching modes (3 useful for bolometers)
178 ! total power
179 SWTOTAL
180 ! Beam switching
181 SWBEAM
182 ! wobbler switching negAmplitude posAmplitude 0.6 seconds per phase!
183 SWWOBBLER -30 +30 /TPHASE 0.6
184
185 ! Observing modes
186 ! to send the proper command to the macs for tuning
187 ! Should last a few seconds
188 !!! TUNING !!!! Probably obsolete need to check (SL 14/11/2012)
189
190 ! pointing cross of given length (in trueHorizon system)
191 POINTING 120
192 ! Go on the source first, then @Cross
193
194 ! skydip
195 ! stop wobbler
196 SWTOTAL /tphase 0.6
197 ! tip at azimuth 180, scan airmass from 1.1 to 4.1 by steps of 0.6
198 TIP 180 /airmass 1.1 4.1 0.6 /tsubscan 12.0
199
200 ! position switching
201 ONOFF !
202 ! example (give ON offsets and OFF offsets, 2 positions each, 2 systems)
203 ONOFF 30 40 /reference -600 -700 projection /SYSTEM projection
204 ! other options (30 seconds per subscan):
205 /nsubscans 12 /symmetric /tsubscan 30
206
207 ! projection is RADEC system here
208 ! can use /SYSTEM trueHorizon too
209
210 ! if wobbler on use the following special mode
211 ! in that case the off position is automatically on the off wobbler position
212 ONOFF /swwobbler /nsubscans 12 /symmetric /tsubscan 30
213
214 ! not used by bolometers
215 TRACK
216
217 ! everything in J2000
218 ! x=(l-lsource)*cos(b)
219 ! y=b-bsource
220 ! to define the source
221 SOURCE
222 ! if needs to offset from source use
223 OFFSET a b /SYSTEM projection
224 ! then it is in x and y as above
225
226 ! or
227
228 OFFSET a b /SYSTEM trueHorizon
229 ! then Delta az= (az-azsource)*cos(elev)
230 ! and Delta el= elev-elevsource
231
232 ! or
233 OFFSET a b /SYSTEM Nasmyth
234
235 ! Remember to reset offsets!
236 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
237 OFFSETS /Clear
238
239 !options
240 /t... refers to time
241 /n... refers to number
242 /f... refers to frequency
243 /temp... refers to temperature
244
245 ! See example of startup p21
246
247 ! Pointing
248 SWBEAM
249 POINTING /default
250 START
251
252 ! Set the corrections
253 ! Corrections in arcsec found during the "cross" reduction.
254 ! These corrections are to be added as is, there's no "offset" to remember whatsoever
255 SET POINTING 3.4 -1.2
256
257 ! Focus ( total length in mm), 0, +1, +1, -1, -1, 0 mm in this example
258 ! 0, +1, -1 etc... are referenced to the current position
259 FOCUS 2 /nsubscans 6 /tsubscans 12
260 START
261
262 ! enter the correction
263 ! This is the absolute value
264 SET FOCUS -2.1
265
266 ! Useful in a script
267 PAUSE "Sequence Something OK to start ? [c/q]" ! a chance to check
268
269 ! and also
270 SAY " blabla "
271
272 ! save last command
273 SAVE name
274 ! retrieve a command
275 @ command_name
276
277
278 ! To erase graphics in greg
279 Clear
280
281
282
283
284 ----------------------------------------------------------------
285 ; Computer configuration
286 ----------------------------------------------------------------
287 The new sami is installed (24/10/21012) along with a mac, a PC windows, a
288 router/switch and an ethernet-IP triggered power plug.
289 The CVS file Camera/documentation/Installation_IRAM.txt contains most of the
290 information
291
292
293 ; Internal NIKA network addresses
294 192.168.1.30 Switch
295 192.168.1.31 NIKA_Win31
296 192.168.1.32 NIKA_Lin32 new sami (00 50 C2 B2 11 ED)
297 192.168.1.33 NIKA_Mac33
298
299 ; Iram network
300 150.214.224.22 = mrt-nika1.iram.es : Router (ssh connection goes to sami)
301 150.214.224.223 gateway
302 150.214.224.100 DNS
303 gra-lx1.iram.es : ntp server
304
305 ; Old sami for ref
306 192.168.1.23 (Local)
307 150.214.224.22 (via routeur address with ssh)
308
309
310 ; From iram computers to archeops@sami do
311 ssh_sami
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.