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

treat bounds separately; scale bounds and initial guess; expose callback arg #78

Merged
merged 19 commits into from
Apr 5, 2022

Conversation

ryancoe
Copy link
Collaborator

@ryancoe ryancoe commented Mar 10, 2022

Description

Checklist for PR

@ryancoe ryancoe self-assigned this Mar 23, 2022
@ryancoe ryancoe added bug Something isn't working enhancement New feature or request labels Mar 23, 2022
@ryancoe ryancoe mentioned this pull request Mar 24, 2022
@ryancoe ryancoe marked this pull request as ready for review March 24, 2022 19:53
@ryancoe ryancoe requested a review from dtgaebe March 24, 2022 19:55
@ryancoe ryancoe requested review from cmichelenstrofer and removed request for dtgaebe April 5, 2022 17:29
@@ -46,3 +46,4 @@ doc =
nbsphinx
pandoc
imageio
jinja2
Copy link
Member

Choose a reason for hiding this comment

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

@ryancoe didn't you include this to specify a version? If we don't need to specify a version anymore maybe we shouldn't list this explicitly (we didn't before) since we never call this directly.


kp_guess = [-1*wec.hydro.Zi[np.where(resonant_wave.S > 0)[0]].real.item()]

*_, res = wec.solve(resonant_wave,
Copy link
Member

Choose a reason for hiding this comment

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

cool, I didn't know this *_ notation

@cmichelenstrofer cmichelenstrofer merged commit c6b4bc4 into sandialabs:main Apr 5, 2022
@ryancoe ryancoe deleted the bounds_callback_scaleGuess branch April 5, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
2 participants