Changeset 37461
- Timestamp:
- Oct 4, 2014, 4:33:31 PM (12 years ago)
- Location:
- trunk/tools/heather
- Files:
-
- 2 edited
-
queuesliceslap2.pl (modified) (4 diffs)
-
queuesliceslap2skycal.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/heather/queuesliceslap2.pl
r37311 r37461 4 4 5 5 6 #$label = "LAP.ThreePi.20130717"; 7 $label = "LAP.ThreePi.20130717.pole3"; 8 #$label = "LAP.ThreePi.20130717.pole3.CNP"; 9 6 $label1 = "LAP.ThreePi.20130717"; 7 $label2 = "LAP.ThreePi.20130717.pole3"; 8 $label3 = "LAP.ThreePi.20130717.pole3.CNP"; 9 #heather done bad things to segments and slices... 10 @labels = ($label1, $label2, $label3); 10 11 @segments = (0,1,2,3,4,5,6,7,8); 12 #@segments=(0,1); 11 13 @segments1 = ( -35, -22,-10,2,14,26,38,50,62); 12 14 @segments2 = ( -22,-10,2,14,26,38,50,62,75); … … 14 16 15 17 @slices = ("00","02","04","06","08","10","12","14","16","18","20","22"); 16 18 @slices = ("00","02","04"); 19 20 foreach $label (@labels) { 21 17 22 foreach $slice (@slices) { 18 23 … … 21 26 foreach $num (@segments) { 22 27 23 $dvodb = "LAP.PV2. 20130717";24 $minidvodb_group = "LAP.PV2. slice$slice.$segments[$num].cam";28 $dvodb = "LAP.PV2.V2.20130717"; 29 $minidvodb_group = "LAP.PV2.V2.slice$slice.$segments[$num].cam"; 25 30 $dvodb_label = "$minidvodb_group"; 26 31 $ra_min = $slice*15.0; … … 37 42 38 43 } 39 $com2 = "addtool -definebyquery -label $label -set_dvodb $dvodb -set_minidvodb_group LAP.PV2. pole.cam -set_minidvodb -set_label LAP.PV2.pole.cam -stage cam -uncensored -ra_min 0 -ra_max 360 -decl_min 75 -decl_max 90 -dbname gpc1";44 $com2 = "addtool -definebyquery -label $label -set_dvodb $dvodb -set_minidvodb_group LAP.PV2.V2.pole.cam -set_minidvodb -set_label LAP.PV2.V2.pole.cam -stage cam -uncensored -ra_min 0 -ra_max 360 -decl_min 75 -decl_max 90 -dbname gpc1"; 40 45 print "$com2\n"; 41 46 `$com2`; 47 } -
trunk/tools/heather/queuesliceslap2skycal.pl
r37311 r37461 4 4 5 5 6 #$label= "LAP.ThreePi.20130717";7 #$label= "LAP.ThreePi.20130717.pole3";8 $label = "LAP.ThreePi.20130717.pole3.CNP";9 6 $label1 = "LAP.ThreePi.20130717"; 7 $label2 = "LAP.ThreePi.20130717.pole3"; 8 $label3 = "LAP.ThreePi.20130717.pole3.CNP"; 9 @labels = ($label1,$label2,$label3); 10 10 @segments = (0,1,2,3,4,5,6,7,8); 11 11 @segments1 = ( -35, -22,-10,2,14,26,38,50,62); … … 14 14 15 15 @slices = ("00","02","04","06","08","10","12","14","16","18","20","22"); 16 16 foreach $label (@labels) { 17 17 foreach $slice (@slices) { 18 18 … … 21 21 foreach $num (@segments) { 22 22 23 $dvodb = "LAP.PV2. 20130717";24 $minidvodb_group = "LAP.PV2. slice$slice.$segments[$num].skycal";23 $dvodb = "LAP.PV2.V2.20130717"; 24 $minidvodb_group = "LAP.PV2.V2.slice$slice.$segments[$num].skycal"; 25 25 $dvodb_label = "$minidvodb_group"; 26 26 $ra_min = $slice*15.0; … … 36 36 } 37 37 38 38 39 } 39 $com2 = "addtool -definebyquery -label $label -set_dvodb $dvodb -set_minidvodb_group LAP.PV2. pole.skycal -set_minidvodb -set_label LAP.PV2.pole.skycal -stage skycal -uncensored -ra_min 0 -ra_max 360 -dec_min 75 -dec_max 90 -dbname gpc1";40 $com2 = "addtool -definebyquery -label $label -set_dvodb $dvodb -set_minidvodb_group LAP.PV2.V2.pole.skycal -set_minidvodb -set_label LAP.PV2.V2.pole.skycal -stage skycal -uncensored -ra_min 0 -ra_max 360 -dec_min 75 -dec_max 90 -dbname gpc1"; 40 41 print "$com2\n"; 41 42 `$com2`; 43 }
Note:
See TracChangeset
for help on using the changeset viewer.
