ovro-eovsa / ovro-lwa-solar

Calibration, imaging, and analysis of solar data taken by the Owens Valley Long Wavelength Array (OVRO-LWA)
MIT License
5 stars 6 forks source link

Performance and profiling for imaging #86

Open peijin94 opened 1 month ago

peijin94 commented 1 month ago

Profiling tools : line_profiler(pip install), cProfile(python built-in), snakevis(pip install)

The following is the time consumption breakdown for the pipeline

image_ms_quick

do_selfcal

source_subtraction:remove_nonsolar_sources

Ideas to improve

○ alternative gaincal in casa (takes 25% overall time) ✅ remove_nonsolar_sources use allsky image from the previous selfcal step. (will save 15-20% of overall time) ○ something about bandpass?

peijin94 commented 1 month ago

auto_pix_fov=True will bring 10% overall performance gain (147s to 132s). The all-sky image size becomes 2400 at 55MHz, (by default 4096).