Hi all,

I looked into the slow import on the psa6622_v001 cal file.  In get_aa, the
function "set_params" is called once for every antenna in the array.  Each
time set_params gets called and a value changes, a global "update" is
triggered for all 128 antennas.  This leads to 128^2 calls to the
Antenna.update() function, with compute time dominated by evaluating
bandpass polynomials.

The most straightforward fix is to aggregate all the position updates to
one dictionary that is passed to set_params.  I've made this change to my
capo/arp/calfiles/psa6622_v001.py and pushed the change.  Worth pulling.

-- 
Aaron Parsons

510-406-4322 (cell)
Campbell Hall 523, UCB

Reply via email to