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

Redo: Implement add_splitbeam_angle function #916

Merged
merged 80 commits into from
Dec 23, 2022
Merged

Conversation

leewujung
Copy link
Member

This PR redos #894. See #894 for all conversations.

This is part of the fix to ensure that we have a clean squash-and-merge history on dev and eventually main.

b-reyes and others added 30 commits November 30, 2022 17:04
…incorporate new waveform/encode mode check into calibrate_ek and consolidate api
…mplementation of _get_splitbeam_angle_power_CW, _add_splitbeam_angle_to_ds, add an empty test suite for echodata.simrad, and start working on test_add_splitbeam_angle
…at paths, construct a function that creates a numpy array from mat paths, and select echodata beam_group data in add_splitbeam_angle based on ds channel dims
…mplex) and (BB, complex, no pulse compression) options, and create tests for them
… location, finish docstring for add_splitbeam_angle, drop beam wherever necessary
…and allow it to handle a DataArray input, modify existing tests for validate_source_ds
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
…splitbeam_angle

Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
emiliom and others added 25 commits December 21, 2022 08:53
…ding of path and list (#908)

* Expand prov.source_files_vars to support path sequences that mix a str/path and another sequence

* For EK80, ES70, ES80, EA640, conversion was inserting an unnecessary, empty meta_source_filenames variable

* Add more comprehensive and readable prov source-files type hints; rename _source_files

* Fix prov type hint bug with Py 3.8

* Add unit test for prov _sanitize_source_files; plus small fixes to np.ndarray type references in prov
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
Co-authored-by: Wu-Jung Lee <leewujung@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2022

Codecov Report

Merging #916 (fb87baa) into new_dev (584dfff) will decrease coverage by 5.26%.
The diff coverage is 63.20%.

@@             Coverage Diff             @@
##           new_dev     #916      +/-   ##
===========================================
- Coverage    78.71%   73.45%   -5.27%     
===========================================
  Files           56       26      -30     
  Lines         5253     2034    -3219     
===========================================
- Hits          4135     1494    -2641     
+ Misses        1118      540     -578     
Flag Coverage Δ
unittests 73.45% <63.20%> (-5.27%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
echopype/utils/prov.py 27.50% <42.30%> (-68.16%) ⬇️
echopype/echodata/simrad.py 61.66% <61.66%> (ø)
echopype/utils/io.py 63.12% <87.50%> (-27.50%) ⬇️
echopype/calibrate/calibrate_ek.py 95.84% <100.00%> (+1.83%) ⬆️
echopype/utils/coding.py 0.00% <0.00%> (-92.60%) ⬇️
echopype/utils/log.py 71.18% <0.00%> (-25.43%) ⬇️
echopype/utils/uwa.py 87.75% <0.00%> (-6.13%) ⬇️
echopype/calibrate/env_params.py 89.47% <0.00%> (-3.51%) ⬇️
... and 33 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@leewujung leewujung merged commit 7cad4d5 into new_dev Dec 23, 2022
@leewujung leewujung deleted the redo-add-splitb-ang branch December 23, 2022 21:13
lsetiawan pushed a commit to lsetiawan/echopype that referenced this pull request Feb 27, 2023
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.

4 participants