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

Added power variogram fit function #32

Merged
merged 4 commits into from
Oct 23, 2024
Merged

Conversation

stepanoslejsek
Copy link
Contributor

Implementation of power variogram fit function as discussed at https://discourse.julialang.org/t/recommended-workflow-and-packages-for-computing-a-slope-along-a-tramway-track/119975/16 using weighted least squares.

@juliohm
Copy link
Member

juliohm commented Oct 22, 2024

Thank you @stepanoslejsek ! Can you please add a test to cover the new feature?

@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.66%. Comparing base (55af8c3) to head (3998b88).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
+ Coverage   72.39%   73.66%   +1.26%     
==========================================
  Files          36       36              
  Lines         913      957      +44     
==========================================
+ Hits          661      705      +44     
  Misses        252      252              

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

@stepanoslejsek
Copy link
Contributor Author

For sure! I'll add few tests.

Copy link
Member

@juliohm juliohm left a comment

Choose a reason for hiding this comment

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

Thank you! Left some suggestions to improve readability and adhere to our code style.

test/fitting.jl Outdated Show resolved Hide resolved
test/fitting.jl Outdated Show resolved Hide resolved
test/fitting.jl Outdated Show resolved Hide resolved
test/fitting.jl Outdated Show resolved Hide resolved
@stepanoslejsek
Copy link
Contributor Author

Oh, I'm sorry for that typo there, I'll edit these immediately.

@juliohm
Copy link
Member

juliohm commented Oct 22, 2024

Thank you @stepanoslejsek for the contribution! I will wait the CI tests, merge and adjust a few more things internally before a patch release.

src/fitting.jl Outdated Show resolved Hide resolved
src/fitting.jl Outdated Show resolved Hide resolved
@juliohm juliohm merged commit 1e1b764 into JuliaEarth:main Oct 23, 2024
6 checks passed
@juliohm
Copy link
Member

juliohm commented Oct 23, 2024

Thank you @stepanoslejsek , really nice work 💯

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.

3 participants