feat: Mock observation of brightness temperature#49
feat: Mock observation of brightness temperature#49DanielaBreitman wants to merge 46 commits intomainfrom
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #49 +/- ##
==========================================
- Coverage 85.44% 82.95% -2.50%
==========================================
Files 11 11
Lines 742 827 +85
Branches 188 206 +18
==========================================
+ Hits 634 686 +52
- Misses 44 62 +18
- Partials 64 79 +15
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
steven-murray
left a comment
There was a problem hiding this comment.
OK, I got through most of it and it looks decent, but got super confused on some important stuff. When that gets cleared up I'll have a better look at the example notebooks.
| sigma is set to zero for uv cells with less than | ||
| this number of baselines. |
There was a problem hiding this comment.
Technically, I think sigma should be set to np.inf... if in the end we do want to do inverse-variance weighting, np.inf will make this seamless.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
|
@nikos-triantafyllou and @DanielaBreitman I made some substantial updates on this PR, adding a lot of documentation and also changing some of the function names to be more clear. @nikos-triantafyllou I'd be grateful if you could have another play with it -- the main example notebook has been updated to give you a head-start. But it only uses artificial lightcones, not realistic ones, so it would be good to have a look at those to catch any obvious errors. Also, you'll need rasg-affiliates/21cmSense#215 to run this. |
…ing positive k_parallel
for more information, see https://pre-commit.ci
Fix 2 wedge removal bugs: Unnecessary Fourier shifting and only removing positive k_parallel
|
View / edit / reply to this conversation on ReviewNB DanielaBreitman commented on 2026-03-29T14:27:00Z Formatting (:mod:) |
|
View / edit / reply to this conversation on ReviewNB DanielaBreitman commented on 2026-03-29T14:27:00Z Formatting |
|
View / edit / reply to this conversation on ReviewNB DanielaBreitman commented on 2026-03-29T14:27:01Z Formatting (##) |
|
View / edit / reply to this conversation on ReviewNB DanielaBreitman commented on 2026-03-29T14:27:02Z Formatting (##) |
|
View / edit / reply to this conversation on ReviewNB DanielaBreitman commented on 2026-03-29T14:27:02Z Extra \ after "chosen at random" |
DanielaBreitman
left a comment
There was a problem hiding this comment.
Very minor comments. Main thing to fix is tests. Besides that, things seem good (though I can't approve my own PR...)
devel/test_out_jordans_problem.ipynb
Outdated
There was a problem hiding this comment.
Does this file actually belong in this PR?
There was a problem hiding this comment.
I think we should include the comparison with 21cmsense as part of the testing.
There was a problem hiding this comment.
Though this could be put into a new issue as part of improving testing in general as well.
There was a problem hiding this comment.
Yeah, it takes a little bit of time to run -- I think it would be good as a test, but should be another PR.
| dependencies = [ | ||
| "21cmfast", | ||
| "21cmfast>=4.1.0", | ||
| "21cmsense>=2.0.0", |
There was a problem hiding this comment.
Needs to be updated for new 21cmsense version
There was a problem hiding this comment.
Yep, will need to merge that PR and make a release before merging this!
Closes #48.