Conversation
… src; no stylistic changes
…sarray(...).itme() or reshape(-1)[0].
cylammarco
added a commit
that referenced
this pull request
Jan 14, 2026
* handling numpy 2 (#47) * Compat: use numpy generic types for v1/v2 (np.floating/np.integer) in src; no stylistic changes * Allow NumPy 2 in install: relax to >=1.23,<3; update README to state v1+v2 support * updated array handling * removed test output figure * updated setup.cfg to include numpy2 * use asarray * use np.where * use where instead of argwhere; wrapped interpolator outputs with np.asarray(...).itme() or reshape(-1)[0]. * pack values in correct array shape for atmosphere interpolator * Tests/coverage improvements (#48) * tests: increase coverage and add edge-case tests across modules * added more tests * final fixes to the minimisation function and the interpolation functions. updated example scripts and tests. * updated test * avoid extrapolation in both ct and rbf interpolator for the atmosphere model * fixed extrapolation issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.