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