Skip to content
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

Is DFT code deterministic? #13

Closed
mkolopanis opened this issue Sep 15, 2020 · 3 comments · Fixed by #14
Closed

Is DFT code deterministic? #13

mkolopanis opened this issue Sep 15, 2020 · 3 comments · Fixed by #14

Comments

@mkolopanis
Copy link
Collaborator

I ran the DFT code twice from commit f22d933 in offline and received differing results from both runs. This is troubling considering the input should have been identical.

command used:

python LWA_bifrost_DFT.py --offline --tbnfile=/data5/LWA_SV_data/data_raw/TBN/Jupiter/058161_000086727 --imagesize 64 --imageres 1.79057 --nts 512 --channels 4 --accumulate 50 --ints_per_file 40 --out_dir dft/run_?

See attached jupyter notebook output for more information.
dft_comparison.pdf

@adampbeardsley
Copy link

This sounds a lot like the bug we fixed in #4. Maybe check that the synchronization lines we added are in fact still there and didn't get bulldozed by a merge at some point?
https://github.com/epic-astronomy/LWA_EPIC/pull/4/files

@mkolopanis
Copy link
Collaborator Author

thanks for this. I'll take a look.

@mkolopanis
Copy link
Collaborator Author

I will implement this in my script_consolidation branch. Looks like I already did 😆
the two runs are identical at least on commit f7a59d3
dft_comparison_update.pdf

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 a pull request may close this issue.

2 participants