simpeg / geoana

Interactive geoscience (mostly) analytic functions.
MIT License
22 stars 9 forks source link

Em 1d funcs #27

Closed jcapriot closed 3 years ago

jcapriot commented 3 years ago

This adds several analytic functions for specialized source - receiver orientations in for the frequency and time domain half-space responses.

These are mostly ported from em1d and simpeg, to live here.

rowanc1 commented 3 years ago

Super cool to see geoana getting some love!

codecov[bot] commented 3 years ago

Codecov Report

Merging #27 (d3777ea) into main (e2077f1) will increase coverage by 1.90%. The diff coverage is 84.80%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   66.84%   68.75%   +1.90%     
==========================================
  Files          16       21       +5     
  Lines         956     1040      +84     
==========================================
+ Hits          639      715      +76     
- Misses        317      325       +8     
Impacted Files Coverage Δ
geoana/em/tdem/wholespace.py 34.28% <42.85%> (ø)
geoana/em/tdem/halfspace.py 52.94% <52.94%> (ø)
geoana/em/tdem/base.py 75.00% <75.00%> (ø)
geoana/em/fdem/base.py 82.92% <80.00%> (-1.93%) :arrow_down:
geoana/__init__.py 100.00% <100.00%> (ø)
geoana/em/base.py 100.00% <100.00%> (ø)
geoana/em/fdem/__init__.py 100.00% <100.00%> (ø)
geoana/em/fdem/halfspace.py 89.79% <100.00%> (ø)
geoana/em/fdem/simple_functions.py 100.00% <100.00%> (ø)
geoana/em/static.py 92.03% <100.00%> (+0.73%) :arrow_up:
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e2077f1...d3777ea. Read the comment docs.

jcapriot commented 3 years ago

Ya! Ideally I'd love to get all of the analytic functions that are randomly defined in SimPEG in here. It's a great home for them. Plus, we can potentially provide some compiled items here as well (but also provide native python versions too).