Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
0242215
FIX: bug with IGRF as np array
halbmy Apr 16, 2025
7090003
FIX: better cache for lists
carsten-forty2 Apr 16, 2025
a1e6374
DOC: Add prove of concept for myst-based user guide
florian-wagner Mar 7, 2024
72bffd8
adding build, trame and linkify to environment
Mar 8, 2024
a325921
DOC: Avoid .html suffixes in URLs and prefer hyphens
florian-wagner Mar 8, 2024
234fd07
DOC: Temporarily avoid rebuilt of all examples in gim branch
florian-wagner Mar 8, 2024
87e5df1
DOC: Add jupytext to dev requirements
florian-wagner Mar 20, 2024
b8ec017
DOC: Fix math and add example for citation
florian-wagner Mar 20, 2024
79183a9
DOC: Inversion
mboxberg Mar 20, 2024
3afb4eb
DOC: add data markdown
andieie Mar 20, 2024
99a085c
DOC Added meshes markdown for user guide
ninomenzel1 Mar 20, 2024
2671b6e
DOC: Add sphinx-tippy for better tooltips
florian-wagner Mar 20, 2024
e88d7fe
Resolve merge conflict
florian-wagner Mar 31, 2025
0df3a82
DOC Solved merge conflict in index.md
ninomenzel1 Mar 20, 2024
7062c59
DOC:Add table of import
andieie Mar 20, 2024
79cdc48
DOC: Added next chapters to meshes.md
ninomenzel1 Mar 20, 2024
696ec4e
DOC: Added more references.
mboxberg Mar 20, 2024
b3427e4
DOC: Add other files to complete user guide structure
andieie Mar 20, 2024
5be602f
Fix index file
andieie Mar 20, 2024
47627a4
DOC: Added more chapters for user-guide/meshes.
ninomenzel1 Mar 20, 2024
fd3f6bf
DOC: add more to the data user guide
andieie Mar 20, 2024
1c4a841
DOC: Last changes to data user guide
andieie Mar 20, 2024
5360664
DOC: Typos and minor adjustments to links
ninomenzel1 Mar 20, 2024
2daa599
DOC: Added export mesh chapter to user guide
ninomenzel1 Mar 20, 2024
81deb72
DOC: Add cheatsheet
florian-wagner Mar 20, 2024
d9ae1c1
DOC: Add working version with jupytext config
florian-wagner Mar 20, 2024
e4fb5d5
DOC: Test doc structure for advanced section
florian-wagner Mar 4, 2025
165d05d
Adjusted meshes.md
ninomenzel1 Mar 4, 2025
93da778
Completing data.md
andieie Mar 4, 2025
0c530d8
Adjusted fundamentals.md
ninomenzel1 Mar 4, 2025
efbbdc1
Resolve merge conflict
florian-wagner Mar 31, 2025
ddc147c
Adjusted meshes and fundamentals.md
ninomenzel1 Mar 12, 2025
d7520ec
DOC: Remove navbar template
florian-wagner Mar 12, 2025
6170687
Added modelling section and edited the data section, add few sentence…
andieie Mar 14, 2025
b8abff3
DOC: fixing error in sections
andieie Mar 14, 2025
fbb4681
DOC: Added visualization to user guide
ninomenzel1 Mar 14, 2025
266c372
DOC: Implement about and community sections.
florian-wagner Mar 14, 2025
c01d5c8
DOC: Added pg.meshtools in code
ninomenzel1 Mar 14, 2025
3638b1c
DOC: attempting fixes
andieie Mar 14, 2025
02d6b64
DOC: fix last things
andieie Mar 14, 2025
b4d0c1e
DOC: Some changes
florian-wagner Mar 18, 2025
4ab6eee
DOC: Remove unnecessary files
florian-wagner Mar 31, 2025
fb798e3
DOC: Add missing deps to requirements.txt and environment.yml
florian-wagner Mar 31, 2025
eb7a746
CI: Avoid merge commits from GitHub CI
florian-wagner Mar 31, 2025
10b2338
CI: Remove duplicate checkout in GH action
florian-wagner Mar 31, 2025
d20d20c
DOC: Implement discussed changes
florian-wagner Mar 31, 2025
82519ec
FIX: missing passing of the marker from createWorld to createCube
halbmy Apr 17, 2025
7b8fa42
DOC: minor documentation of MagneticsModelling
halbmy Apr 17, 2025
ec079c9
ENH: enable also showing Traveltime Data container by pg.show() or da…
halbmy May 7, 2025
2c6a836
DOC: merging references.bib
halbmy May 7, 2025
170f637
CI: Avoid commits in automerging action
florian-wagner Apr 22, 2025
3ab560b
CI: Change username in automerge action
florian-wagner Apr 25, 2025
e47b62a
CI: Correct GitHub username for automerge action
florian-wagner Apr 25, 2025
ce5fadd
CI: Avoid global git settings in automerge action
florian-wagner Apr 25, 2025
38f00ce
ENH: enable mesh.populate with list/array indexing into cell markers
halbmy May 8, 2025
62b12ea
FIX: importRes2dinvFile with error columns
halbmy May 16, 2025
645e9f1
FIX: showing Mx1|1xM np.array in mesh (avoiding animation)
halbmy May 16, 2025
7d5ac8e
FIX: passing keyword arguments to Borehole.legend
halbmy May 16, 2025
7a5e366
merge
carsten-forty2 Jun 3, 2025
598389c
DOC: little code health
carsten-forty2 Jun 3, 2025
496b9c0
DOC: little code health
carsten-forty2 Jun 3, 2025
41257ee
FIX #832 set function name and function doc to the cache wrapper func…
carsten-forty2 Jun 3, 2025
e1e8afa
DOC: add pip section for installation
carsten-forty2 Jun 3, 2025
770be40
FIX: import error through unmatched format string
halbmy Jun 3, 2025
dfa93e7
ADD: Armijo rule line search lineSearchArmijo
halbmy Jun 4, 2025
985b337
DOC: improve docstring of VESModelling
halbmy Jun 6, 2025
17824bb
FIX: strange bug in generateDataFromUniqueIndex (#850)
halbmy Jun 6, 2025
d30b9f5
ENH: guess datetime from timelapse filenames
halbmy Jun 7, 2025
6d817e1
DOC: combineMultipleData docstring
halbmy Jun 7, 2025
cbfbbd7
ENH: reading IP data from files
halbmy Jun 7, 2025
6fdd785
ENH: enable TimelapseERT showing IP/ERR/IPERR timelines
halbmy Jun 7, 2025
cd71b48
FIX: wrong title for generateRatioPDF
halbmy Jun 8, 2025
e296342
API: add combineMultipleData into ERT module
halbmy Jun 20, 2025
4e3335e
TST: add test for possible wrong grid generation with negative int va…
carsten-forty2 Jun 11, 2025
c0a36f5
Add issue form for bugs
CamillaLu Jun 12, 2025
100b5a9
Remove old issue template and start adding templates for other types
CamillaLu Jun 12, 2025
a68a27a
Add a minimal body for the other issue types
CamillaLu Jun 12, 2025
d4a3157
DOC: add two more publications from 2025
halbmy Jun 20, 2025
0631f28
DOC: add some more pyGIMLi uses from 2025
halbmy Jun 20, 2025
9ab12a3
DOC: add publication to list on request
halbmy Jun 20, 2025
de21f10
FIX: replace default IGRF model to [X, Y, Z] vector (not depending on…
halbmy Jun 20, 2025
e989f70
ADD: RemanentMagneticsModelling for modelling (& inversion) with thre…
halbmy Jun 20, 2025
e25a33f
ADD: import RemanentMagneticsModelling through grav/mag module
halbmy Jun 20, 2025
4eeffaa
FIX: error with ndarray.astype("bool")
halbmy Jun 25, 2025
5995515
FIX: try fixing error creating masked array and allow string vals
halbmy Jun 25, 2025
3e93d34
ENH: return ax and cbar from traveltime data
halbmy Jul 2, 2025
8b92151
ENH: pass components to remanent modelling
halbmy Jul 2, 2025
2839b23
ENH: change RemanentMagneticsModelling into output unit nT for given …
halbmy Jul 2, 2025
d6b7c33
FIX #858. Add default shapes for sparse matrix conversion
carsten-forty2 Jun 26, 2025
6016e71
FIX: bug taking iperr from file for inversion
halbmy Jul 11, 2025
168f4e9
ADD: DataContainerERT.removeDuplicates (with mode first, last, averag…
halbmy Jul 11, 2025
60f5ec3
FIX: bug in removeDuplicates
halbmy Jul 11, 2025
69e74e3
BDL: add pgcore version upper bound to 2
carsten-forty2 Jul 11, 2025
2406871
FIX: avoid error in TravelTimeManager.saveResult for 3D meshes (#863)
halbmy Jul 14, 2025
59e0a32
ENH: enable boundary=0 for createParaMeshSurface
halbmy Jul 14, 2025
5f4d46a
FIX: doc example error
halbmy Jul 14, 2025
86780d9
CI: Fix automerge from dev to master
florian-wagner Jul 14, 2025
adca39b
FIX: try fixing boundary == 0 problem
halbmy Jul 14, 2025
c41385e
CI: Fix error action error in colorbar.py
florian-wagner Jul 15, 2025
2d6fbf0
FIX: vector data to stream view
carsten-forty2 Jul 16, 2025
962f0d3
CI: Fix automerging for good
florian-wagner Jul 18, 2025
76415bb
docs: add reproducibility tips for beginners
MTR-Tushar Aug 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ pygimli/_version.py export-subst
*.sh text

# Declare files that will always have CRLF line endings on checkout.
# *.sln text eol=crlf
*.py text eol=crlf
*.md text eol=crlf
*.rst text eol=crlf
*.bib text eol=crlf
*.txt text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
Expand Down
107 changes: 107 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
name: Bug Report
description: Please use this form to file a bug report.
labels: ["bug"]
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report! To facilitate efficient support, please fill out all the information applicable to your issue.
- type: markdown
attributes:
value: "### Problem description"
- type: textarea
id: problem-description
attributes:
label: Problem description
description: Please provide a general description of the issue here.
- type: markdown
attributes:
value: "### Your environment"
- type: textarea
id: environment-report
attributes:
label: Your environment
description: Please provide the output of `print(pygimli.Report())` here. If that does not work, please fill out the information on operating system, Python version and pyGIMLi version below.
render: shell
- type: dropdown
id: os
attributes:
label: Operating System
description: Which operating system are you using?
options:
- Windows
- Mac
- Linux
- type: dropdown
id: python-version
attributes:
label: Which Python version are you using?
options:
- 3.15
- 3.14
- 3.13
- 3.12
- 3.11
- 3.10
- 3.9
- type: input
id: way-of-installation
attributes:
label: Way of installation
description: Please describe your way of installing pyGIMLi, e.g. Conda package, manual compilation from source etc.
- type: dropdown
id: pygimli-version
attributes:
label: Which version of PyGIMLI are you using?
description: Output of `print(pygimli.__version__)`
options:
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- type: textarea
id: environment-additional
attributes:
label: Additional information on the environment
description: If you have additional information on the environment or installation that did not fit the forms above, please enter it here.
- type: markdown
attributes:
value: "### Reproducing the issue"
- type: textarea
id: reproduce-steps
attributes:
label: Steps to reproduce the issue
description: If there are specific steps necessary to reproduce the issue, please describe them here.
- type: textarea
id: reproduce-code
attributes:
label: Code to reproduce the issue
description: Please provide the code that produces the error in the form of a minimal reproducible example. Alternatively, you can also attach the code as a file in the field below.
render: shell
- type: textarea
id: reproduce-data
attributes:
label: Additional data to reproduce the issue
description: Please provide additional data that is necessary to reproduce the error, e.g. data files, additional code or Python dependencies.
- type: markdown
attributes:
value: "### Expected behavior"
- type: textarea
id: expected
attributes:
label: Expected behavior
description: Tell us what should happen or what you want to achieve.
- type: markdown
attributes:
value: "### Actual behavior"
- type: textarea
id: actual-text
attributes:
label: Actual behavior
description: Please tell us what happens instead of the expected behavior.
- type: textarea
id: actual-output
attributes:
label: Output of your script
description: If applicable, please provide the output of your script that shows the actual behavior.
render: shell
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Feature Request
description: Please use this form to propose a new feature for pyGIMLi.
labels: ["feature request"]
body:
- type: textarea
id: feature-request
attributes:
label: Feature Request
description: Please provide details on the feature request here.
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Question
description: Please use this form if you expect that your issue is rather a question than a problem with the code.
labels: ["question"]
body:
- type: textarea
id: question
attributes:
label: Question
description: Please provide details on your issue or question.
23 changes: 13 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,28 @@ jobs:
working-directory: build
run: xvfb-run make doc # xvfb is necessary for headless display of pyvista plots
merging:
name: Merging dev into master
name: Automerging
runs-on: self-hosted
needs: docs
if: github.ref == 'refs/heads/dev' # Only merge from dev
steps:
- name: Merge into master
uses: devmasx/merge-branch@master
with:
type: now
target_branch: master
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Merge dev -> master (with rebase)
working-directory: source
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git remote set-url origin https://florian-wagner:${{ secrets.SECRET }}@github.com/gimli-org/gimli.git
git fetch
git rebase origin/master
git push origin HEAD:master --force-with-lease
upload-html:
name: Upload HTML to dev.pygimli.org
runs-on: self-hosted
needs: docs
if: github.ref == 'refs/heads/dev' # Only merge from dev
steps:
- name: Merge into master
- name: Uploading built html files
working-directory: build
run: rsync -avP --delete doc/html/ /var/www/html


5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ doc/_static/usecases/original/
*.ipynb
*.ipynb_checkpoints*

doc/user-guide/*_files
doc/user-guide/*.html

# Customizations
*.log
*.pdf
Expand Down Expand Up @@ -110,4 +113,4 @@ pygimli/core/libgimli.dll.back
pygimli/core/_pygimli_.pyd.back
pygimli/core/_pygimli_.so.dSYM/
pygimli/VERSION
synth.ves
synth.ves
4 changes: 2 additions & 2 deletions .jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ export PYVISTA_OFF_SCREEN=true
export PYTHONPATH=`pwd`/../trunk:$PYTHONPATH
OMP_THREAD_LIMIT=4 python -c "import pygimli; print(pygimli.Report()); pygimli.test(show=False, abort=True, htmlreport=\"build_tests.html\", devTests=True)"

# Build documentation
make clean-gallery
#Build documentation
#make clean-gallery # TMP for fast Jenkins builds
make doc # = doxygen, sphinxapi, sphinxpdf, sphinxhtml
end=$(date +"%s")
echo "Ending automatic build #$BUILD_NUMBER".
Expand Down
17 changes: 17 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- [Carsten Rücker](https://orcid.org/0000-0002-8231-9861)

*Berlin University of Technology, Department of Applied Geophysics, Berlin, Germany*

<carsten@pygimli.org>

- [Thomas Günther](https://orcid.org/0000-0001-5409-0273)

*TU Bergakademie Freiberg, Electromagnetics and potential methods working group, Freiberg, Germany*

<thomas@pygimli.org>

- [Florian Wagner](https://orcid.org/0000-0001-7407-9741)

*RWTH Aachen University, Geophysical Imaging and Monitoring (GIM), Aachen, Germany*

<florian@pygimli.org>
31 changes: 0 additions & 31 deletions AUTHORS.rst

This file was deleted.

29 changes: 29 additions & 0 deletions CITATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Citing pyGIMLi

If you use pyGIMLi for your work, please cite [this paper](http://www.sciencedirect.com/science/article/pii/S0098300417300584/pdfft?md5=44253eaacd5490e3fb32210671672496&pid=1-s2.0-S0098300417300584-main.pdf) as:

> Rücker, C., Günther, T., Wagner, F.M., 2017. pyGIMLi: An open-source library
> for modelling and inversion in geophysics, Computers and Geosciences, 109,
> 106-123, doi: 10.1016/j.cageo.2017.07.011.

```{raw} html
<span class="__dimensions_badge_embed__" data-id="pub.1091104697" data-style="large_rectangle"></span><script async src="https://badge.dimensions.ai/badge.js" charset="utf-8"></script><br>
```

Scripts to reproduce the figures in the paper can be found at
<https://cg17.pygimli.org>.

BibTeX code:

```bibtex
@article{Ruecker2017,
title = {{pyGIMLi}: An open-source library for modelling and inversion in geophysics},
journal = {Computers and Geosciences},
volume = {109},
pages = {106--123},
year = {2017},
doi = {10.1016/j.cageo.2017.07.011},
url = {https://www.sciencedirect.com/science/article/pii/S0098300417300584},
author = {R\"ucker, C. and G\"unther, T. and Wagner, F. M.}
}
```
30 changes: 0 additions & 30 deletions CITATION.rst

This file was deleted.

32 changes: 0 additions & 32 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -668,17 +668,6 @@ if (SPHINX_FOUND AND NOT SKIP_SPHINX)
add_subdirectory(doc EXCLUDE_FROM_ALL)
message(STATUS "Search recursive for related doc files from here: " ${CMAKE_SOURCE_DIR})

file(GLOB DOCFILES LIST_DIRECTORIES false
RELATIVE "${CMAKE_SOURCE_DIR}"
"*.rst")
message(STATUS "DOCFILES: " ${DOCFILES})

file(GLOB DFILES LIST_DIRECTORIES false
RELATIVE "${CMAKE_SOURCE_DIR}"
"*.md")
message(STATUS "MDFILES: " ${DFILES})
list(APPEND DOCFILES ${DFILES})

set (RECDOCTYPES "*.rst" "*.md" "*.png" "*.svg" "*.bib" "paper/*.py")

foreach (DTYPE ${RECDOCTYPES})
Expand All @@ -689,27 +678,6 @@ if (SPHINX_FOUND AND NOT SKIP_SPHINX)
message(STATUS "Append DOC files: (${DTYPE}) " ${DFILES})
list(APPEND DOCFILES ${DFILES})
endforeach()
# message(STATUS "RSTFILES: " ${DFILES})

# file(GLOB_RECURSE DFILES LIST_DIRECTORIES false
# RELATIVE "${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}" "./doc/*.md")
# message(STATUS "MDFILES: " ${DFILES})
# list(APPEND DOCFILES ${DFILES})

# file(GLOB_RECURSE DFILES LIST_DIRECTORIES false
# RELATIVE "${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}" "./doc/*.png")
# message(STATUS "PNGFILES: " ${DFILES})
# list(APPEND DOCFILES ${DFILES})

# file(GLOB_RECURSE DFILES LIST_DIRECTORIES false
# RELATIVE "${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}" "./doc/*.bib")
# message(STATUS "BIBFILES: " ${DFILES})
# list(APPEND DOCFILES ${DFILES})

# file(GLOB_RECURSE PYFILES LIST_DIRECTORIES false
# RELATIVE "${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}" "doc/paper/*.py")
# message(STATUS "PYFILES: " ${PYFILES})
# list(APPEND DOCFILES ${PYFILES})

set(RSTFILES ${DOCFILES} CACHE INTERNAL "RST source file that we need to copy")

Expand Down
Loading