Skip to content

Conversation

@adampbeardsley
Copy link

I made another branch so I could merge main in and compare. I didn't want to mess up the deployed (epic_fft_dft) branch.

@adampbeardsley adampbeardsley mentioned this pull request Dec 15, 2021
Comment on lines +1050 to +1055
#try:
# bf_romein.execute(udata, gdata)
#except NameError:
# bf_romein = Romein()
# bf_romein.init(self.locs, gphases, self.grid_size, polmajor=False)
# bf_romein.execute(udata, gdata)
Copy link
Author

Choose a reason for hiding this comment

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

Remove block comments

Suggested change
#try:
# bf_romein.execute(udata, gdata)
#except NameError:
# bf_romein = Romein()
# bf_romein.init(self.locs, gphases, self.grid_size, polmajor=False)
# bf_romein.execute(udata, gdata)

Comment on lines +1149 to +1154
#bifrost.map(
# "a(i,j,k,l) += (b(i,j,k,l/2) * b(i,j,k,l%2).conj())",
# {"a": autocorrs, "b": udata, "t": self.ntime_gulp},
# axis_names=("i", "j", "k", "l"),
# shape=(self.ntime_gulp, nchan, nstand, npol ** 2),
#)
Copy link
Author

Choose a reason for hiding this comment

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

Suggested change
#bifrost.map(
# "a(i,j,k,l) += (b(i,j,k,l/2) * b(i,j,k,l%2).conj())",
# {"a": autocorrs, "b": udata, "t": self.ntime_gulp},
# axis_names=("i", "j", "k", "l"),
# shape=(self.ntime_gulp, nchan, nstand, npol ** 2),
#)

Comment on lines +1166 to +1171
#bifrost.map(
# "a(i,j,p,k,l) += b(0,i,j,p/2,k,l)*b(0,i,j,p%2,k,l).conj()",
# {"a": crosspol, "b": gdata},
# axis_names=("i", "j", "p", "k", "l"),
# shape=(self.ntime_gulp, nchan, npol ** 2, self.grid_size, self.grid_size),
#)
Copy link
Author

Choose a reason for hiding this comment

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

Suggested change
#bifrost.map(
# "a(i,j,p,k,l) += b(0,i,j,p/2,k,l)*b(0,i,j,p%2,k,l).conj()",
# {"a": crosspol, "b": gdata},
# axis_names=("i", "j", "p", "k", "l"),
# shape=(self.ntime_gulp, nchan, npol ** 2, self.grid_size, self.grid_size),
#)

Comment on lines +1198 to +1205
#try:
# bf_romein_autocorr.execute(autocorrs_av, autocorr_g)
#except NameError:
# bf_romein_autocorr = Romein()
# bf_romein_autocorr.init(
# autocorr_lo, autocorr_il, self.grid_size, polmajor=False
# )
# bf_romein_autocorr.execute(autocorrs_av, autocorr_g)
Copy link
Author

Choose a reason for hiding this comment

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

Suggested change
#try:
# bf_romein_autocorr.execute(autocorrs_av, autocorr_g)
#except NameError:
# bf_romein_autocorr = Romein()
# bf_romein_autocorr.init(
# autocorr_lo, autocorr_il, self.grid_size, polmajor=False
# )
# bf_romein_autocorr.execute(autocorrs_av, autocorr_g)

Comment on lines +2210 to +2213
#if args.removeautocorrs:
# raise NotImplementedError(
# "Removing autocorrelations is not yet properly implemented."
# )
Copy link
Author

Choose a reason for hiding this comment

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

Why is this commented out?

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.

4 participants