Skip to content

Updates to fits_equinox_update branch - #39

Open
jaycedowell wants to merge 33 commits into
fits_equinox_updatefrom
fits_equinox_update_jdd
Open

Updates to fits_equinox_update branch#39
jaycedowell wants to merge 33 commits into
fits_equinox_updatefrom
fits_equinox_update_jdd

Conversation

@jaycedowell

@jaycedowell jaycedowell commented Oct 18, 2022

Copy link
Copy Markdown

This PR makes a few changes to the fits_equinox_update branch. They are:

  • Caching of antenna location/phasing information to disk to reduce startup times,
  • Smaller intermediate buffer sizes to reduce memory usage,
  • A modified DecimationOp block that will allow channels to be average together, and
  • New --cores and --gpu command line flags to control binding.

Comment thread LWA_EPIC/LWA_EPIC.py
@@ -754,7 +754,7 @@ def main(self):
if nchan % self.nchan_out == 0:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small suggestion--I think it'd be good if we add an additional check for nchan_out>6 here to avoid integer overflow during averaging. It's highly unlikely that we'll use less than 7 channels to cover the entire subband, but just in case.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens when nchan_out<7?

@infinitron infinitron Oct 19, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we set nchan_out to 4, for example, we average 33 channels and their sum can be greater than 127. This leads to an overflow in the re or im variables in the averaging function that is launched on the gpu.

jaycedowell and others added 4 commits October 29, 2022 00:00
Slew of updates from my work on the EPIC imaging comparisons.
small typo on import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants