Usage of antposcorrmm

Return to directory of Todd's CASA extensions

Converts a list of antenna position corrections into human-readable millimeters and performs basic statistics.

Usage:

au.antposcorrmm(parameter=[], antenna='', sort='', correctionString='')
Inputs:
  • parameter: a vector list of X,Y,Z corrections for each antenna
  • antenna: a comma-delimited string list, e.g. 'DA41,DV03'
  • sort: 'name': will sort the output by antenna name; 'magnitude': will sort the output by the magnitude of the correction
  • correctionString: if specified, parse this string from es.correctMyAntennaPositions to get the values of parameter and antenna

Examples

Example 1: Taking the output directly from es.correctMyAntennaPositions

CASA <2>: au.antposcorrmm(correctionString=es.correctMyAntennaPositions('uid___A002_X8fd70d_X1484.ms'))
Antenna  X      Y      Z       Total
DV19  +3.019 +0.089 -0.142     3.024 mm
DA52  -0.175 +0.301 +1.479     1.520 mm
DA65  -0.690 -2.162 +6.179     6.582 mm
DA64  +2.248 -0.735 +1.358     2.728 mm
DV25  +0.781 -0.646 +3.570     3.711 mm
DA60  +0.596 -1.116 +2.179     2.520 mm
DV04  +0.960 -0.000 -0.001     0.960 mm
DA46  -0.001 -0.387 +0.945     1.021 mm
DV22  +0.518 -0.527 +0.490     0.886 mm
DA42  +0.222 -0.560 +0.880     1.066 mm
DA51  +0.172 -0.542 +1.492     1.597 mm
DA55  +0.777 -0.590 +1.735     1.991 mm
Abs(min), Abs(max) = 0.886/6.582 mm,  Median = 1.794 mm   st.dev = 1.561 mm

Example 2: Entering values manually

CASA <2>: au.antposcorrmm(parameter = [-0.000234402626516, 0.000356489476784, 0.000113836117399,
 -0.000153000877315, -0.000399853715125, -8.07882295961e-05,
 -0.000153605189238, 9.29090249286e-05, 6.73747647555e-05, 
-9.62091062928e-05, 0.000211448146537, 0.000118640166858, 
-0.000407067127526, 0.000235328450799, -1.69882550836e-05, 
-3.49322730402e-05, 0.000333722228151, 7.52144317149e-05, 
3.7086635797e-05, -0.000230659921057, -0.000312076244311, 
-0.000133162034778, 0.00023574780856, 0.000212197651384,
 0.00060776527971, -0.000525096431375, -0.000386487226933, 
-8.68336887457e-05, 0.000241361754262, 8.97519586356e-05, 
-8.6869038668e-05, 0.000257294852406, -2.23411961739e-05, 
-0.000110827047308, 0.000231352682506, -0.00011547857759, 
-1.03950910152e-05, -0.000460584326197, -0.000282536759635, 
0.00018812692387, 0.000660056575273, 0.000469934652856, 
-0.000114322037339, 0.000245166722321, -0.000154021914172,
 -0.000136382804963, 8.25043158853e-05, 6.70654036784e-05,
 -0.000113920733063, -1.20425004929e-05, -0.000206850295528],
 antenna='DV18,DV05,DV08,DV09,DV11,DA44,DV13,DV12,DA41,DV14,DA43,DV16,DV02,PM02,DV17,DV10,DV15',
sort='name')

Antenna  X      Y      Z       Total
DA41  +0.608 -0.525 -0.386     0.891 mm
DA43  -0.087 +0.257 -0.022     0.272 mm
DA44  -0.035 +0.334 +0.075     0.344 mm
DV02  -0.010 -0.461 -0.283     0.540 mm
DV05  -0.153 -0.400 -0.081     0.436 mm
DV08  -0.154 +0.093 +0.067     0.192 mm
DV09  -0.096 +0.211 +0.119     0.261 mm
DV10  -0.136 +0.083 +0.067     0.173 mm
DV11  -0.407 +0.235 -0.017     0.471 mm
DV12  -0.133 +0.236 +0.212     0.344 mm
DV13  +0.037 -0.231 -0.312     0.390 mm
DV14  -0.087 +0.241 +0.090     0.272 mm
DV15  -0.114 -0.012 -0.207     0.236 mm
DV16  -0.111 +0.231 -0.115     0.281 mm
DV17  -0.114 +0.245 -0.154     0.311 mm
DV18  -0.234 +0.356 +0.114     0.442 mm
PM02  +0.188 +0.660 +0.470     0.832 mm
Abs(min), Abs(max) = 0.173, 0.891 mm,  Median = 0.344 mm   st.dev = 0.197 mm

Example 3

CASA <21>: au.antposcorrmm([-0.000133162034778,0.00023574780856,0.000212197651384,0.000428024806118,0.000192386926053,-7.13865255571e-05,0.000397703996595,0.000303499271338,-0.000252154165917,-0.000407067127526,0.000235328450799,-1.69882550836e-05,0.000465348935348,0.000344158009965,0.000228367319351,0.000584870703864,0.000952647723338,-0.000227043112602,0.000247000250965,-0.000508999451995,-0.000311999581754,0.00060776527971,-0.000525096431375,-0.000386487226933,0.000227385910925,-0.000120083500757,-7.74828167994e-07,0.000407105675771,-6.81411070583e-05,-0.000444496072293,0.000157838716115,0.000211078409778,-0.00037259206194,0.00018812692387,0.000660056575273,0.000469934652856,0.000478540400055,0.000105861353228,3.76092994824e-05,0.000486001936163,7.96910315645e-05,0.000160790103968,-7.6349849694e-05,0.000854968838704,1.63702564808e-05,6.20906828402e-05,0.000561427652214,0.000133509319652,0.000293836351762,0.000269524465858,-8.05776686625e-05,0.00023328837383,0.000377916222577,-0.000436685084871],antenna= 'DV12,DV08,DV09,DV11,DA44,DV13,DA46,DA41,DV03,DV05,DA42,PM02,DA43,DV10,DV17,DV16,DV14,DV15',sort='mag')
Antenna  X      Y      Z       Total
DV03  +0.227 -0.120 -0.001     0.257 mm
DV12  -0.133 +0.236 +0.212     0.344 mm
DV14  +0.294 +0.270 -0.081     0.407 mm
DA42  +0.158 +0.211 -0.373     0.456 mm
DV11  -0.407 +0.235 -0.017     0.471 mm
DV08  +0.428 +0.192 -0.071     0.475 mm
DA43  +0.479 +0.106 +0.038     0.492 mm
DV10  +0.486 +0.080 +0.161     0.518 mm
DV09  +0.398 +0.303 -0.252     0.560 mm
DV16  +0.062 +0.561 +0.134     0.580 mm
DV05  +0.407 -0.068 -0.444     0.607 mm
DA44  +0.465 +0.344 +0.228     0.622 mm
DV15  +0.233 +0.378 -0.437     0.623 mm
DA46  +0.247 -0.509 -0.312     0.646 mm
PM02  +0.188 +0.660 +0.470     0.832 mm
DV17  -0.076 +0.855 +0.016     0.859 mm
DA41  +0.608 -0.525 -0.386     0.891 mm
DV13  +0.585 +0.953 -0.227     1.141 mm
Abs(min), Abs(max) = 0.257/1.141 mm,  Median = 0.570 mm   st.dev = 0.210 mm

-- ToddHunter - 2012-06-15

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > Antposcorrmm
Topic revision: 2014-11-01, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback