-
Notifications
You must be signed in to change notification settings - Fork 3
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
Duplicated code #9
Comments
We might be able to address some of this with judicious use of |
I've been looking more into cleaning up the two scripts I mentioned. I've found the following major difference between the MOFF correlator implementations. When implementing the romein kernel, the non-dft version of the code uses Reading through the kernel source code, setting I'm looking to combine these into just one script. They are nearly identical and the DFT one only seems to add functionality except for the polmajor keyword (and a reordering of axes which I don't think should be a major issue). Lines 939 to 945 in f22d933
LWA_EPIC/LWA/LWA_bifrost_DFT.py Lines 1084 to 1090 in f22d933
current implementation when the link was taken:
|
looking at the git blame on LWA_bifrost.py, the |
looks like this may also be the case with the antenna dimension ordering? |
LWA_bifrost.py
andLWA_bifrost_DFT.py
have lots of duplicated code.Some questions we should consider
The text was updated successfully, but these errors were encountered: