Joshuaalbert / DSA2000-Cal

DSA-2000 Calibration and Forward Modelling
https://www.deepsynoptic.org/overview
MIT License
1 stars 1 forks source link

Rework predict code to be independent of number of directions #127

Closed Joshuaalbert closed 1 week ago

Joshuaalbert commented 1 week ago

Take directional accumuation outside the vmap. Shard over channels.

vis = 0
for dir in directions:
  # vmap boundary
  vis  += predict(k, freq_shard, times) # [T, B, C, 2, 2]