HERA-Team / hera_cal

Library for HERA data reduction, including redundant calibration, absolute calibration, and LST-binning.
MIT License
13 stars 8 forks source link

Potential Performance Improvements for LST binning #913

Open steven-murray opened 11 months ago

steven-murray commented 11 months ago

This issue is just to keep a little log of performance for the lst binner as it stands, and to serve as a jumping-off point for future improvements, if necessary.

When run on redundantly-averaged H6C data (1760 baseline-pols), the lst_bin_files function takes 337 seconds (5.5 min) per output file (with 2 10-second LST bins per file).

The major breakdown of time is:

Of these, I think the LST bin configuration YAML reading and the unique baseline keying should be simplest to trim down. I have no reason to suspect that they shouldn't be roughly negligible, meaning we can ~halve the time of LST binning.

For NON redundantly averaged H6C data, the lst_bin_files function takes 5150 seconds (~1.5 hours) per output file. The major breakdown of time is: