Skip to content

Sanitise extrapolation and examples - #51

Merged
cylammarco merged 19 commits into
devfrom
sanitise-extrapolation-and-examples
Aug 4, 2026
Merged

Sanitise extrapolation and examples#51
cylammarco merged 19 commits into
devfrom
sanitise-extrapolation-and-examples

Conversation

@cylammarco

Copy link
Copy Markdown
Owner

No description provided.

cylammarco and others added 19 commits December 27, 2025 23:09
Preparing for releasing v0.0.12
* 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
@cylammarco
cylammarco changed the base branch from main to dev July 9, 2026 18:03
@cylammarco
cylammarco merged commit bd2317e into dev Aug 4, 2026
40 checks passed
@cylammarco
cylammarco deleted the sanitise-extrapolation-and-examples branch August 4, 2026 23:31
cylammarco added a commit that referenced this pull request Aug 5, 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

* Tidy fitter flux space (#50)

* v0.0.13 (#49)

* 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

* updated version number and license year

* added fitting in flux space

* added changelog

* refactored fitter to fix codacy

* updated changelog

* try again to keep codacy happy

* remove padentic linting checks.

* updated RTD conf

* relaxed heading in markdown

* updated github workflow

* updated github workflow

* Sanitise extrapolation and examples (#51)

* v0.0.13 (#49)

* 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

* updated version number and license year

* added fitting in flux space

* added changelog

* refactored fitter to fix codacy

* updated changelog

* try again to keep codacy happy

* remove padentic linting checks.

* updated RTD conf

* relaxed heading in markdown

* updated github workflow

* updated github workflow

* sanitise the extrapolations in both atmosphere model and cooling model handling. slightly tidied examples.

* updated changelog

* updated github action

* fixed wrong identation

* added documentation (#52)
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.

1 participant