[evla-sw-discuss] Reference pointing
Bryan Butler
bbutler at nrao.edu
Wed Feb 24 18:32:04 EST 2010
good stuff. thanks barry.
another way, not requiring a
refpt = None
up top is to just make the first call be like the old way, then
subsequent calls the new way. whatever is easier for dave & brian in
model2script...
-bryan
Barry Clark wrote, On 2/24/10 14:24:
> I made a small change to the include file pointing.py to facilitate
> usage of the feature of using previous pointing solutions if the
> current one fails. I have added an optional parameter.
>
> Current reference pointing has a call like
>
> refpt = vlaPointing(tmjd( 8, 30, 20, 0), tmjd( 8, 42, 0, 0), 10.000000,
> 2, [])
>
> which will still work as before.
>
> To use the "use last solution" feature, somewhere near the beginning of
> the script, put
>
> refpt = None
>
> then the calls to vlaPointing become something like
>
> refpt = vlaPointing(tmjd( 8, 30, 20, 0), tmjd( 8, 42, 0, 0), 10.000000,
> 2, [], refpt)
>
>
> While I was mucking with the file, I put in a second modification, again
> an optional parameter, for use with multiple, software controlled,
> subarrays.
>
> After one creates another Subarray, say subarray2, and moves antennas
> into it from the default subarray, one can do pointing in subarray2
> with a call
>
> refpt = vlaPointing(tmjd( 8, 30, 20, 0), tmjd( 8, 42, 0, 0), 10.000000,
> 2, [],,subarray2)
>
> This is a particularly unsatisfactory, though easy, implementation,
> because while a pointing scan is running in one subarray, the others
> cannot change sources.
> _______________________________________________
> evla-sw-discuss mailing list
> evla-sw-discuss at listmgr.cv.nrao.edu
> http://listmgr.cv.nrao.edu/mailman/listinfo/evla-sw-discuss
More information about the evla-sw-discuss
mailing list