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

Ionospheric subtraction #39

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Ionospheric subtraction #39

wants to merge 19 commits into from

Conversation

d3v-null
Copy link
Collaborator

No description provided.

cjordan and others added 13 commits November 14, 2024 08:30
WIP: Write thorough tests that intended visibilities make their way to the peel
functions. Currently, averaging to 1.28 MHz isn't happening
WIP: Add UVW cutoffs
WIP: Fix error handling in src/cli/error.rs

This is a squashed commit of months of work by CHJ and Dev. Big props to Dev for
their help.
added a test that previously failed because of a byte padding issue.
In my testing it hasn't produced anything remotely like a gain.
joiner previously instantiated a new iterator on its receiver in a loop
this consumed the stream if reading was faster than joining
- fix multiple bugs to do with frequency averaging
- implement and test gain update
- expose peel parameters: num_loops, short_baseline_sigma, convergence
  for more consistency in tests
- remove low res modeller
- clearer logging of frequency averaging parameters
- unflag spw when it is read: peel can't handle channel gaps when averaging
- zip eqs everywhere because why not
- add a lot more tests
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

Attention: Patch coverage is 92.68492% with 179 lines in your changes missing coverage. Please review.

Project coverage is 88.30%. Comparing base (ae5d0ae) to head (d8a43f3).

Files with missing lines Patch % Lines
src/params/peel/mod.rs 94.81% 82 Missing ⚠️
src/cli/peel/mod.rs 84.47% 66 Missing ⚠️
src/cli/error.rs 0.00% 20 Missing ⚠️
src/cli/peel/tests.rs 95.80% 6 Missing ⚠️
src/io/read/uvfits/mod.rs 33.33% 2 Missing ⚠️
src/cli/common/beam/mod.rs 94.44% 1 Missing ⚠️
src/cli/peel/error.rs 0.00% 1 Missing ⚠️
src/params/di_calibration.rs 98.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   87.44%   88.30%   +0.86%     
==========================================
  Files         110      115       +5     
  Lines       28614    32699    +4085     
==========================================
+ Hits        25021    28875    +3854     
- Misses       3593     3824     +231     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@d3v-null d3v-null changed the title Peeling Ionospheric subtraction Nov 20, 2024
@d3v-null
Copy link
Collaborator Author

d3v-null commented Nov 25, 2024

currently missing:

  • >90% coverage of src/cli/peel/mod.rs
  • --num-sources is ignored
  • document ionosub
  • don't try to peel timesteps fully flagged
  • finalize peel format json
  • remove debug prints

- default output res is input res
- clip output time factor if not enough timestamps.
- freq averaging tests
refactor PeelWeightParams
derive lambdas from chanblocks
derive array pos, dut from obs_context
derive unflagged_xyzs from tile_baseline_flags
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.

2 participants