-
Notifications
You must be signed in to change notification settings - Fork 3
Updates to fits_equinox_update branch
#39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: fits_equinox_update
Are you sure you want to change the base?
Conversation
…overall bandwidth.
|
|
||
| do_truncate = True | ||
| act_chan_bw = CHAN_BW | ||
| if nchan % self.nchan_out == 0: |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
… cable gains are taken into account.
Slew of updates from my work on the EPIC imaging comparisons.
small typo on import
Fits equinox update jdd
This PR makes a few changes to the
fits_equinox_updatebranch. They are:DecimationOpblock that will allow channels to be average together, and