Skip to content

Epic fft dft 2 - #36

Draft
adampbeardsley wants to merge 13 commits into
mainfrom
epic_fft_dft_2
Draft

Epic fft dft 2#36
adampbeardsley wants to merge 13 commits into
mainfrom
epic_fft_dft_2

Conversation

@adampbeardsley

Copy link
Copy Markdown

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 thread LWA_EPIC/LWA_EPIC.py
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
Copy Markdown
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 thread LWA_EPIC/LWA_EPIC.py
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
Copy Markdown
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 thread LWA_EPIC/LWA_EPIC.py
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
Copy Markdown
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 thread LWA_EPIC/LWA_EPIC.py
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
Copy Markdown
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 thread LWA_EPIC/LWA_EPIC.py
Comment on lines +2210 to +2213
#if args.removeautocorrs:
# raise NotImplementedError(
# "Removing autocorrelations is not yet properly implemented."
# )

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.

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.

3 participants