Skip to content

Replace yt dependency with scipy - #492

Open
petschge wants to merge 3 commits into
fmihpc:devfrom
petschge:remove_yt
Open

Replace yt dependency with scipy#492
petschge wants to merge 3 commits into
fmihpc:devfrom
petschge:remove_yt

Conversation

@petschge

Copy link
Copy Markdown

by calling solve_ivp ourselves.

Kilian Patrick added 2 commits August 12, 2026 14:03
by calling solve_ivp ourselves.
because I tried to clean up too much before commiting.
@alhom

alhom commented Aug 18, 2026

Copy link
Copy Markdown
Member

@jreimi, could you have a look at this?

@jreimi

jreimi commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

The changes seem good to me. It's a little slower but not too bad and it doesn't make sense to use yt just for this.

Numpy has apparently removed NaN, so the np.NaNs in iterpolate() should be changed to np.nan at some point, either here or I can do it later.

to nan.
@jreimi

jreimi commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Thank you! :)

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