[evla-sw-discuss] Executor changes

Barry Clark bclark at nrao.edu
Mon Jun 21 17:04:06 EDT 2010


I have committed several modules today.  The changes fall into
three different areas:

1.  Bug fixes and omissions needed to set up three bit samplers.

2.  A change in formulation of autophasing.  The recommended form
for invoking autophasing is now:

phs = subarray.registerPhasing(String subbandName)
to connect the object phs to the phase listener,
and
subarray.usePhasing(phs)
connect the object phs to the phase and delay calculations.

X band still doesn't phase - the simple fix I had in mind didn't work.

3.  An optional change in the way scan numbers and subscan numbers
are generated.  They are currently generated by the Executor
internally.  To cause them to expect to be provided by the script
instead, include in the script the statement
subarray.useState(0)
Then scan and subscan numbers must be set and manipulated through
the methods
subarray.setScanNumber(int n)
sebarray.setSubScanNumber(int m)
subarray.scanNumberPlusPlus()
subarray.subScanNumberPlusPlus()

There is also a new variant of execute:
     public void execute (double start, double stop)
         {
         if (stop < array.time())
            return;
         scanNumberPlusPlus();
         execute(start);
         }

That can optionally be used to implement the same lines currently
appearing in the script.



More information about the evla-sw-discuss mailing list