Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #81

Merged
merged 161 commits into from
Aug 2, 2024
Merged

Dev #81

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
c8d8e27
chore: add pickle and sqlite files to make clean
mdtanker Jul 11, 2024
e6323ac
feat: add weights option to create_topography
mdtanker Jul 11, 2024
5e5c6f6
refactor: explicitly set parameters instead of kwargs for `eq_sources…
mdtanker Jul 12, 2024
69fa9a1
refactor: move eq_sources_score to cross_validation module
mdtanker Jul 12, 2024
7fc59d5
feat: add load_bishop_model function
mdtanker Jul 12, 2024
002be20
feat: add option to turn off inversion progressbar
mdtanker Jul 12, 2024
517817b
fix: add warning to run_inversion about unused weighting grid
mdtanker Jul 12, 2024
d4e3722
feat: add fname option to run_inversion_workflow to save results
mdtanker Jul 12, 2024
81e9048
feat: allow already separated train/test sets for gravity data in run…
mdtanker Jul 12, 2024
ad06a89
style: pre-commit fixes
pre-commit-ci[bot] Jul 18, 2024
ae14e21
build: add deprecation to deps
mdtanker Jul 18, 2024
1624a5d
build: remove `opti` deps and include as part of core deps
mdtanker Jul 18, 2024
ad36d41
Merge remote-tracking branch 'origin/dev' into dev
mdtanker Jul 18, 2024
4d926c2
fix: remove unnecessary `depth_type` arg for eq sources
mdtanker Jul 18, 2024
566d3db
refactor: update `regional_constraints` func.
mdtanker Jul 18, 2024
072dda9
feat: add `constraints_df` arg to `plot_inversion_results`
mdtanker Jul 18, 2024
26c96ae
refactor: change point color to gray for `plot_2_parameter_cv_scores`
mdtanker Jul 18, 2024
40384f2
feat: add plotting func for non-grid search 2 parameter CV
mdtanker Jul 18, 2024
1811e95
feat: add delta L2 norms to convergence plots.
mdtanker Jul 18, 2024
015e74f
feat: add `constraints_df`to plotting functions
mdtanker Jul 18, 2024
cf8b947
refactor: use easier to understand names in `update_l2_norms`
mdtanker Jul 18, 2024
0312589
refactor: deprecate `cross_validation.zref_density_optimal_parameter`…
mdtanker Jul 18, 2024
f58d7c2
refactor: deprecate `cross_validation.grav_optimal_parameter` in favo…
mdtanker Jul 18, 2024
8b904be
refactor: temporarily disable info-level logging in CV score functions
mdtanker Jul 18, 2024
0b68f32
fix: turn off dynamic convergence plotting during CV
mdtanker Jul 18, 2024
86824fe
feat: include multi-objective studies in custom optuna logback func
mdtanker Jul 18, 2024
a3aac65
feat: add functions for optuna logback to warn about best parameter v…
mdtanker Jul 18, 2024
9447083
feat: add optimization functions for all regional estimation techniques.
mdtanker Jul 18, 2024
1d6a429
feat: add function for splitting data into test and train sets with s…
mdtanker Jul 18, 2024
4ec2402
feat: add function to convert format of test train folds dataframe
mdtanker Jul 18, 2024
89d5944
feat: add function to give score for regional estimations
mdtanker Jul 18, 2024
229e409
feat: add optimization for eq source params
mdtanker Jul 18, 2024
05c05d3
refactor: rename function `plot_optuna_inversion_figures` to `plot_op…
mdtanker Jul 18, 2024
f5c70fe
style: misc style fixes and missing imports
mdtanker Jul 18, 2024
2e4146d
style: pre-commit fixes
pre-commit-ci[bot] Jul 18, 2024
12ea761
docs: add accidentally missing api files
mdtanker Jul 18, 2024
2247a60
refactor: remove buffer from delta l2 norm line in convergence plots
mdtanker Jul 18, 2024
f80d80b
chore: fix failing tests
mdtanker Jul 18, 2024
71b4afb
chore: update make commands
mdtanker Jul 22, 2024
a46e107
docs: typo in contrib guide
mdtanker Jul 22, 2024
4c8ec9f
refactor: cv score functions to return inversion results as well as s…
mdtanker Jul 22, 2024
a9046e7
fix: add crs parameter for `utils.nearest_grid_fill`
mdtanker Jul 22, 2024
b746e2a
refactor: use standardized column names instead of setting with varia…
mdtanker Jul 23, 2024
51e10fb
refactor: internally calculate misfit and residual in regional estima…
mdtanker Jul 23, 2024
7451f66
fix: minor fixes to logging
mdtanker Jul 23, 2024
6fff481
feat: new function `random_split_test_train` to randomly split data f…
mdtanker Jul 23, 2024
7bb9ed8
refactor: remove default value for `damping_cv_trials` and `zref_dens…
mdtanker Jul 23, 2024
1b695d1
fix: bug in run_inversion_workflow
mdtanker Jul 23, 2024
51636f6
feat: add plotting function for stochastic uncertainty
mdtanker Jul 23, 2024
091da4d
feat: add plotting function for fixing hoverdata on plotly-optuna plots
mdtanker Jul 23, 2024
374b68c
fix: bug in `plot_2_parameter_cv_scores_uneven`
mdtanker Jul 23, 2024
19630bf
fix: log warning if using constraints points for finding constant reg…
mdtanker Jul 23, 2024
036945c
fix: update plotting for optuna optimization results
mdtanker Jul 23, 2024
30a25f5
fix: bug fixed to explicitly remove prism_layer in zref/density CV
mdtanker Jul 23, 2024
b8749e7
refactor: use a logger specifically for invert4geom and update all lo…
mdtanker Jul 26, 2024
0543789
fix: bug in `resample_with_test_points`, drop nans
mdtanker Jul 26, 2024
004bef4
fix: remove `data_column` from `random_split_test_train` and keep all…
mdtanker Jul 26, 2024
7c60cbc
fix: allow no starting_prisms in `run_inversion_workflow` if doing a …
mdtanker Jul 26, 2024
58067bf
fix: add warning if no supplied constraints in run_inversion_workflow…
mdtanker Jul 26, 2024
4131d2c
feat: all passing kfolds of constraints to `optimize_inversion_zref_d…
mdtanker Jul 26, 2024
7fb2748
fix: remove warning about using constraints for finding constant regi…
mdtanker Jul 26, 2024
7cde9f5
fix: use more startup trials in optimizing on both zref and density
mdtanker Jul 26, 2024
0e6c5fb
fix: add default value to source_depth in `OptimalEqSourceParams`
mdtanker Jul 26, 2024
51e44a6
feat: add progressbar and callbacks to `optimize_eq_source_params`
mdtanker Jul 26, 2024
71c45e3
feat: remove default args for `optimize_eq_source_params`
mdtanker Jul 26, 2024
a89cdb8
fix: enqueue trials for value limits in `optimize_eq_source_params`
mdtanker Jul 26, 2024
c73b9b4
feat: new function `optimize_inversion_zref_density_contrast_kfolds` …
mdtanker Jul 26, 2024
60137d8
fix: update `plot_2_parameter_cv_scores_unven` function
mdtanker Jul 26, 2024
43d296a
refactor: use pygmt instead of xarray for plotting some inversion res…
mdtanker Jul 26, 2024
98beb58
fix: update optuna plotting funcs
mdtanker Jul 26, 2024
99d4ff9
fix: raise error if index column already exists in `sample_grids`
mdtanker Jul 26, 2024
5d5c20f
fix: update `best_spline_cv` and use within `create_topography`
mdtanker Jul 26, 2024
db87d8f
feat: add function for contaminating data with long-wavelength noise
mdtanker Jul 26, 2024
2a732d0
feat: add function for loading all synthetic topography and gravity
mdtanker Jul 26, 2024
e0d5a06
feat: add `grav_obs_height` parameter to regional_eq_sources
mdtanker Jul 26, 2024
486f9ec
feat: add data weights to `regional_eq_sources`
mdtanker Jul 26, 2024
eae1b4c
feat: allow internal CV in `regional_eq_sources`
mdtanker Jul 26, 2024
10cf759
refactor: set default of `source_depth` to 'default' in `regional_eq_…
mdtanker Jul 26, 2024
b75087f
feat: allow internal CVs for eq sources and splines for `regional_con…
mdtanker Jul 26, 2024
0dde5d5
feat: add function `regional_constraints_cv` to automatically perform…
mdtanker Jul 26, 2024
b7b6237
fix: add regional scores to trial user attrs in regional hyperparamet…
mdtanker Jul 26, 2024
35c4375
fix: updating plotting of optuna results in `optimization`
mdtanker Jul 26, 2024
4054904
fix: bug in CPM kfolds optimization
mdtanker Jul 26, 2024
79b8518
feat: allow separate or combined metrics for regional hyperparameter …
mdtanker Jul 26, 2024
07f3bd7
refactor: minor changes to `optimization`
mdtanker Jul 26, 2024
28e05a8
chore: ignore some ruff issues in notebooks
mdtanker Jul 26, 2024
3fed11d
style: minor fixes to files
mdtanker Jul 26, 2024
0a0a851
fix: bug in regional test
mdtanker Jul 26, 2024
963abe6
docs: update overview and conventions
mdtanker Jul 26, 2024
19357e6
feat: add fig_height kwarg to inversion plots
mdtanker Jul 26, 2024
7cd5b6a
build: remove `viz` optional deps and add to core deps
mdtanker Jul 26, 2024
75db89e
refactor: use context manager to temporarily change logging level
mdtanker Jul 26, 2024
e84c21a
fix: add check for regional separation scores not being nans
mdtanker Jul 26, 2024
1ae5497
feat: add checks for regional extent of gravity and constraints
mdtanker Jul 26, 2024
2476b0b
feat: add buffer arg to `load_synthetic_model`
mdtanker Jul 26, 2024
b2a132b
chore: add debug logging throughout
mdtanker Jul 26, 2024
51cec60
chore: remove check import for psutil, joblib and tqdm_joblib
mdtanker Jul 26, 2024
f8db78a
fix: raise error for bug in `plot_2_param_cv_scores_uneven`
mdtanker Jul 26, 2024
7e7e0ad
fix: change `regional_method` to `method` in `regional_grav_kwargs`
mdtanker Jul 26, 2024
d9fc6be
feat: update fname for inversions and CV pickle files to be simpler
mdtanker Jul 26, 2024
0415852
fix: suppress info logs for regional separations
mdtanker Jul 26, 2024
3eb8529
fix: suppress info logs for run inversionwith kfolds CV
mdtanker Jul 26, 2024
6e28249
refactor: overhaul `run_inversion_workflow` function to emit warnings…
mdtanker Jul 27, 2024
986c132
fix: bug in `optimize_inversion_zref_density_contrast_kfolds`
mdtanker Jul 27, 2024
61cb1ce
fix: bug in run_inversion_workflow
mdtanker Jul 27, 2024
26a6588
fix: minor changes
mdtanker Jul 27, 2024
48433ae
chore: ignore optuna experimental warnings
mdtanker Jul 27, 2024
1414562
refactor: consolidate optuna warning for best parameter values at the…
mdtanker Jul 27, 2024
c3d0bf4
refactor: consolidate optuna logging of results
mdtanker Jul 27, 2024
b498e6f
build: remove unused optuna parallel functions and dependencies: jobl…
mdtanker Jul 27, 2024
bb9ce74
fix: add assert thay run_inversion_workflow uses correct zref and den…
mdtanker Jul 27, 2024
64e72fe
style: minor fixes
mdtanker Jul 27, 2024
62d8580
fix: add warning in run_inversion_workflow for using constraints with…
mdtanker Jul 27, 2024
7361d57
refactor: `cross_validation.eq_sources_score` now passes all kwargs d…
mdtanker Jul 27, 2024
9f16195
refactor: change all equivalent source parameter variable names.
mdtanker Jul 27, 2024
c9f1d45
refactor: update `utils.best_spline_cv` to pass all kwargs directly t…
mdtanker Jul 27, 2024
3b17bb6
refactor: change equivalent source param names
mdtanker Jul 27, 2024
b02a5a0
fix: add warnings about constraints and regional separation
mdtanker Jul 27, 2024
49da6a8
fix: bug in `optimize_eq_source_params`
mdtanker Jul 27, 2024
31d9870
fix: update `regional_eq_sources` to work with new param names
mdtanker Jul 27, 2024
c85601f
refactor: clean up `regional_constraints` and change default grid_met…
mdtanker Jul 27, 2024
9b0e167
refactor: update `optimize_eq_source_params` to work with recent changes
mdtanker Jul 27, 2024
ad2a576
chore: remove test optuna parallel
mdtanker Jul 27, 2024
a866709
docs: update some docstrings
mdtanker Jul 27, 2024
d836a0a
refactor: default to separate metrics (multi-objective) for regional …
mdtanker Jul 28, 2024
11b2793
refactor: move creation of regional sep studies to new function
mdtanker Jul 28, 2024
5d7a498
fix: only plot optuna importances if >1 parameter
mdtanker Jul 28, 2024
4231292
fix: make `dampings` required for `create_topography` and `starting_t…
mdtanker Jul 28, 2024
de94704
fix: raise error if trying to get regional score from method `constra…
mdtanker Jul 28, 2024
fa85a5d
chore: make some functions private to declutter API documentation
mdtanker Jul 28, 2024
5c3e565
refactor: use `split_kwargs` in run_inversion_workflow and minor fixes
mdtanker Jul 30, 2024
02a9f26
style: pre-commit fixes
pre-commit-ci[bot] Jul 30, 2024
07cc72c
style: auto style fix
mdtanker Aug 1, 2024
543bd79
fix: bug in eq_sources_score with too many folds
mdtanker Aug 1, 2024
03240d0
fix: explicitly save inversion results in `run_inversion_workflow`
mdtanker Aug 1, 2024
5d22612
fix: separate cmaps for starting and ending gravity residual plots
mdtanker Aug 1, 2024
b89d958
fix: enable upward continuation option for CPM with equivalent source…
mdtanker Aug 1, 2024
056630c
feat: add contextmanager function to temporarily set an env variable
mdtanker Aug 1, 2024
9de5968
feat: add damping value as dataarray attribute in `create_topography`
mdtanker Aug 1, 2024
a6f1dae
feat: add class for filtering duplicate log messages
mdtanker Aug 1, 2024
2222cf1
feat: add non-optuna function for find best eq source damping
mdtanker Aug 1, 2024
0440561
feat: add back optuna parallel functions
mdtanker Aug 1, 2024
06eaaec
refactor: use `run_optuna` for all optimizations to all for running i…
mdtanker Aug 1, 2024
4315901
refactor: redo regional separation with optimal parameters instead of…
mdtanker Aug 1, 2024
a0fa2d2
refactor: log info instead of warning for params at limits
mdtanker Aug 1, 2024
96c77f4
refactor: clean up zref/density CV functions
mdtanker Aug 1, 2024
5bcb338
refactor: clean up CPM optimization and cv.
mdtanker Aug 1, 2024
5364b79
feat: add upward continuation option to eq_sources regional method
mdtanker Aug 1, 2024
7886d35
chore: misc small changes
mdtanker Aug 1, 2024
994b5ee
chore: gitignore tmp folders
mdtanker Aug 1, 2024
da4019d
fix: ensure all dictionary `pop` calls are made on copies
mdtanker Aug 2, 2024
770890c
style: minor fixes
mdtanker Aug 2, 2024
db8f2b3
feat: add `uncertainty` module
mdtanker Aug 2, 2024
cb8e50a
docs: update all doc notebooks
mdtanker Aug 2, 2024
f50820a
chore: updates from learn-scientific-python
mdtanker Aug 2, 2024
afe4b90
style: minor fixes
mdtanker Aug 2, 2024
826b873
style: auto style fixes
mdtanker Aug 2, 2024
225af8f
chore: remove check-manifest from pre-commit
mdtanker Aug 2, 2024
0bbcd79
chore: delete unused release file
mdtanker Aug 2, 2024
0ebc182
chore: remove pre-commit GHA in favor for pre-commit.ci
mdtanker Aug 2, 2024
116b642
chore: remove broken test and decrease timeout
mdtanker Aug 2, 2024
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
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ updates:
interval: "monthly"
commit-message:
prefix: "chore"
include:
groups:
actions:
patterns:
- "*"
26 changes: 6 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,17 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
# Many color libraries just need this to be set to any value, but at least
# one distinguishes color depth, where "3" -> "256-bit color".
FORCE_COLOR: 3

# Use bash by default in all jobs
defaults:
run:
shell: bash -el {0}

jobs:
# run pre-commit which includes many formatting and linting tools
pre-commit:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: pre-commit/[email protected]
with:
extra_args: --hook-stage manual --all-files
- name: Run PyLint
run: pipx run nox -s pylint -- --output-format=github

# Run tests and upload to codecov
test:
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
Expand All @@ -47,7 +35,6 @@ jobs:
if: |
${{!startsWith(github.event.head_commit.message, 'docs:') }} ||
${{!startsWith(github.event.head_commit.message, 'style:') }}
needs: [pre-commit]
strategy:
# Otherwise, the workflow would stop if a single job fails. We want to
# run all of them to catch failures in different combinations.
Expand All @@ -57,10 +44,9 @@ jobs:
runs-on: [ubuntu-latest, macos-latest, windows-latest]

env:
FORCE_COLOR: 3
NUMBA_DISABLE_JIT: "1"

timeout-minutes: 30
timeout-minutes: 10
steps:
# Checkout current git repository
- name: Checkout
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,6 @@ Thumbs.db
*.pickle
*.log
*.lock

# tmp data folders
tmp/
19 changes: 14 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ exclude: |
docs/api/invert4geom.cross_validation.rst|
docs/api/invert4geom.regional.rst|
docs/api/invert4geom.optimization.rst|
docs/api/invert4geom.uncertainty.rst|
docs/_invert4geom_refs.bib|
CHANGELOG.md|
.github/ISSUE_TEMPLATE/feature_request.md|
Expand All @@ -30,11 +31,6 @@ exclude: |
)$

repos:
# - repo: https://github.com/psf/black-pre-commit-mirror
# rev: "23.9.1"
# hooks:
# - id: black-jupyter

- repo: https://github.com/adamchainz/blacken-docs
rev: "1.18.0"
hooks:
Expand Down Expand Up @@ -118,3 +114,16 @@ repos:
language: pygrep
entry: PyBind|Numpy|Cmake|CCache|Github|PyTest
exclude: .pre-commit-config.yaml

- repo: https://github.com/abravalheri/validate-pyproject
rev: "v0.18"
hooks:
- id: validate-pyproject
additional_dependencies: ["validate-pyproject-schema-store[all]"]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.29.0"
hooks:
- id: check-dependabot
- id: check-github-workflows
- id: check-readthedocs
25 changes: 18 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,30 @@ clean:
find . -name '*.pickle' -delete
find . -name '*.log' -delete
find . -name '*.lock' -delete
find . -name '*.pkl' -delete
find . -name '*.sqlite3' -delete
find . -name '*.coverage' -delete

####
####
# doc commands
####
####

run_gallery:
jupyter nbconvert --ExecutePreprocessor.allow_errors=True --execute --inplace docs/gallery/*.ipynb
clear_gallery_outputs:
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace docs/gallery/*.ipynb

run_user_guide:
jupyter nbconvert --ExecutePreprocessor.allow_errors=True --execute --inplace docs/user_guide/*.ipynb
run_gallery: clear_gallery_outputs
jupyter nbconvert --ExecutePreprocessor.allow_errors=False --execute --inplace docs/gallery/*.ipynb

run_doc_files:
jupyter nbconvert --ExecutePreprocessor.allow_errors=True --execute --inplace docs/*.ipynb
jupyter nbconvert --ExecutePreprocessor.allow_errors=True --execute --inplace docs/*/*.ipynb
clear_user_guide_outputs:
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace docs/user_guide/*.ipynb

run_user_guide: clear_user_guide_outputs
jupyter nbconvert --ExecutePreprocessor.allow_errors=False --execute --inplace docs/user_guide/*.ipynb

clear_docs_outputs:
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace docs/**/*.ipynb

run_doc_files: clear_docs_outputs
jupyter nbconvert --ExecutePreprocessor.allow_errors=False --execute --inplace docs/**/*.ipynb
26 changes: 0 additions & 26 deletions RELEASE.md

This file was deleted.

19 changes: 1 addition & 18 deletions binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,4 @@ channels:
- conda-forge
dependencies:
- python==3.11
- invert4geom==0.7
# optimization
- optuna>=3.1.0 # need JournalStorage
- optuna-integration
- botorch>=0.4.0
- joblib
- psutil
# visualization
- pyvista
- trame
- ipywidgets
- matplotlib
- seaborn
- plotly
- ipython
- pip
- pip:
- tqdm_joblib
- invert4geom==0.7
5 changes: 0 additions & 5 deletions docs/api.md

This file was deleted.

7 changes: 7 additions & 0 deletions docs/api/invert4geom.cross_validation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
invert4geom.cross\_validation module
====================================

.. automodule:: invert4geom.cross_validation
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/api/invert4geom.inversion.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
invert4geom.inversion module
============================

.. automodule:: invert4geom.inversion
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/api/invert4geom.optimization.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
invert4geom.optimization module
===============================

.. automodule:: invert4geom.optimization
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/api/invert4geom.plotting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
invert4geom.plotting module
===========================

.. automodule:: invert4geom.plotting
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/api/invert4geom.regional.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
invert4geom.regional module
===========================

.. automodule:: invert4geom.regional
:members:
:undoc-members:
:show-inheritance:
22 changes: 22 additions & 0 deletions docs/api/invert4geom.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
invert4geom package
===================

.. automodule:: invert4geom
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

invert4geom.cross_validation
invert4geom.inversion
invert4geom.optimization
invert4geom.plotting
invert4geom.regional
invert4geom.synthetic
invert4geom.uncertainty
invert4geom.utils
7 changes: 7 additions & 0 deletions docs/api/invert4geom.synthetic.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
invert4geom.synthetic module
============================

.. automodule:: invert4geom.synthetic
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/api/invert4geom.uncertainty.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
invert4geom.uncertainty module
==============================

.. automodule:: invert4geom.uncertainty
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/api/invert4geom.utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
invert4geom.utils module
========================

.. automodule:: invert4geom.utils
:members:
:undoc-members:
:show-inheritance:
14 changes: 7 additions & 7 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ or
### Building docs
You can build the docs using:
```bash
nox -s docs -- serve
nox -s docs
```

or if you don't want them to automatically update
```bash
nox -s docs --non-interactive
```

## What Can I Do?
Expand Down Expand Up @@ -259,12 +264,6 @@ You can build the docs using, but this will require pandoc to be install on your
nox -s docs
```

You can see a preview with:

```bash
nox -s docs -- --serve
```

#### Automatically build the docs

Add, commit, and push all changes to GitHub in a Pull Request, and `RTD` should automatically build the docs.
Expand Down Expand Up @@ -329,6 +328,7 @@ Now, when submitting a PR, `RTD` will automatically build the docs and update th

## Release Checklist
* re-run any relevant notebooks
* add any new dependencies to the binder env
* check docs are building correctly using the GitHub actions link within the PR
* merge the PR
* wait for `PyPI` to publish the new version [here](https://pypi.python.org/pypi/invert4geom)
Expand Down
Loading
Loading