Skip to content

Add required memory functions for non-gradient boosted equivalent sources#689

Open
mdtanker wants to merge 4 commits into
fatiando:mainfrom
mdtanker:required-memory
Open

Add required memory functions for non-gradient boosted equivalent sources#689
mdtanker wants to merge 4 commits into
fatiando:mainfrom
mdtanker:required-memory

Conversation

@mdtanker

@mdtanker mdtanker commented Jul 5, 2026

Copy link
Copy Markdown
Member

I find I commonly want to check whether I can fit a jacobian in memory for regular (non-gradient boosted) equivalent sources, but have no easy way to check whether this is true, of if I need to switch to gradient boosted. This PR adds equivalent estimate_required_memory functions for cartesian and spherical equivalent sources.

@santisoler santisoler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It looks good to me, @mdtanker! Thanks for adding this, I get how helpful it can be.

I left a few small suggestions to the docs, feel free to check them out.

Also, I fixed tests failing in Harmonica, so if you update the branch, your tests should pass now.

Thanks again!

Comment thread src/harmonica/_equivalent_sources/spherical.py
mdtanker and others added 2 commits July 9, 2026 08:55
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.

2 participants