Skip to content

Added distance-based localization functions to class Field#12455

Merged
oddvarlia merged 1 commit intoequinor:mainfrom
oddvarlia:distance_localization_update_of_3d_fields
Dec 15, 2025
Merged

Added distance-based localization functions to class Field#12455
oddvarlia merged 1 commit intoequinor:mainfrom
oddvarlia:distance_localization_update_of_3d_fields

Conversation

@oddvarlia
Copy link
Collaborator

Added functions in class Field to be used when calculating the RHO matrix for distance-based localization.
This is related to #12452 since it requires the update of the field_utils.py

@oddvarlia oddvarlia marked this pull request as draft December 4, 2025 12:35
@oddvarlia oddvarlia force-pushed the distance_localization_update_of_3d_fields branch from b209c00 to 1a2b7a0 Compare December 5, 2025 15:26
@codecov-commenter
Copy link

codecov-commenter commented Dec 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.67%. Comparing base (bd61fdf) to head (7b6b732).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12455      +/-   ##
==========================================
- Coverage   90.68%   90.67%   -0.02%     
==========================================
  Files         434      434              
  Lines       29569    29577       +8     
==========================================
+ Hits        26816    26818       +2     
- Misses       2753     2759       +6     
Flag Coverage Δ
cli-tests 37.70% <12.50%> (-0.01%) ⬇️
gui-tests 68.93% <12.50%> (-0.08%) ⬇️
performance-and-unit-tests 74.27% <100.00%> (+<0.01%) ⬆️
test 38.42% <12.50%> (-0.01%) ⬇️

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

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

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 5, 2025

CodSpeed Performance Report

Merging #12455 will not alter performance

Comparing oddvarlia:distance_localization_update_of_3d_fields (7b6b732) with main (bd61fdf)

Summary

✅ 22 untouched

@oddvarlia oddvarlia force-pushed the distance_localization_update_of_3d_fields branch 2 times, most recently from a74c2f5 to acf9901 Compare December 5, 2025 18:07
@oddvarlia oddvarlia requested a review from xjules December 5, 2025 18:23
@oddvarlia oddvarlia marked this pull request as ready for review December 5, 2025 18:24
@oddvarlia oddvarlia force-pushed the distance_localization_update_of_3d_fields branch 2 times, most recently from 3751f24 to 63a2e4c Compare December 8, 2025 09:01
@xjules xjules added this to SCOUT Dec 8, 2025
@xjules xjules moved this to Ready for Review in SCOUT Dec 8, 2025
@oddvarlia oddvarlia force-pushed the distance_localization_update_of_3d_fields branch 3 times, most recently from a95894b to 42094e0 Compare December 10, 2025 08:35
@xjules
Copy link
Contributor

xjules commented Dec 10, 2025

Very nice @oddvarlia ! I think the commit message can be updated to account for the removal of those two functions.

@oddvarlia oddvarlia force-pushed the distance_localization_update_of_3d_fields branch 2 times, most recently from a0adeba to ed034fe Compare December 11, 2025 11:46
@oddvarlia
Copy link
Collaborator Author

Updated commit message so it is consistent with the changes. Removed reference to functions not anymore included in class Field

@oddvarlia oddvarlia force-pushed the distance_localization_update_of_3d_fields branch 2 times, most recently from 89e59c6 to dc35985 Compare December 12, 2025 08:43
Added snapshot test for update of Field class
Functions:
- calc_rho_for_2d_grid_layer  to calculate elements for the RHO matrix using the localization influence area (elliptic areas around observation positions)
@oddvarlia oddvarlia force-pushed the distance_localization_update_of_3d_fields branch from dc35985 to 7b6b732 Compare December 12, 2025 10:11
Copy link
Contributor

@xjules xjules left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice @oddvarlia! 👍

@github-project-automation github-project-automation bot moved this from Ready for Review to Reviewed in SCOUT Dec 15, 2025
@oddvarlia oddvarlia merged commit adb4e76 into equinor:main Dec 15, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in SCOUT Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants