Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
leonfoks committed Oct 11, 2024
1 parent 5e0d5fd commit b3a8fd5
Show file tree
Hide file tree
Showing 9 changed files with 230 additions and 224 deletions.
3 changes: 1 addition & 2 deletions docs/_sources/content/getting_started/installation.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ If you require parallel file reading and writing, you will also need to install

If you need to install the parallel IO version of the code, we would recommend that you start with a clean install of Python. This makes it easier to determine whether you have installed and linked the correct version of the parallel HDF5 library.

There are two versions when installing GeoBIPy, a serial version, and a parallel version. Since GeoBIPy uses a Fortran backend for forward modelling frequency domain data, you will need to have a Fortran compiler installed. Make sure that the compiler can handle derived data types since I make use of object oriented programming in Fortran.

There are two versions when installing GeoBIPy, a serial version, and a parallel version. Since GeoBIPy uses a Fortran backend for forward modelling frequency domain data, you will need to have a Fortran compiler installed. Make sure that the compiler can handle derived data types since I make use of object oriented programming in Fortran.

Installing a serial version of GeoBIPy
======================================
Expand All @@ -28,7 +28,6 @@ You should then be able to import modules from geobipy. For this type of instal

**Side note:** Let's say you ran a production run on a parallel machine with MPI and parallel HDF capabilities. You generated all the results, copied them back to your local machine, and wish to make plots and images. You will only need to install the serial version of the code on your local machine to do this.


Installing a parallel version of GeoBIPy
========================================
Installing the parallel version of the code is a little trickier due to the dependencies necessary between the OpenMPI and/or HDF libraries, and how Python's mpi4py and h5py wrap around those.
Expand Down
34 changes: 23 additions & 11 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
.. geobipy documentation master file, created by
sphinx-quickstart on Fri Oct 11 10:02:08 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
############################################################
Welcome to GeoBIPy: Geophysical Bayesian Inference in Python
############################################################

geobipy documentation
=====================
This package uses a Bayesian formulation and Markov chain Monte Carlo sampling methods to
derive posterior distributions of subsurface and measured data properties.
The current implementation is applied to time and frequency domain electromagnetic data.
Application outside of these data types is in development.

Add your content using ``reStructuredText`` syntax. See the
`reStructuredText <https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html>`_
documentation for details.
Currently there are two types of data that we have implemented; frequency domain electromagnetic data,
and time domain electromagnetic data.
The package comes with a frequency domain forward modeller, but it does not come with a time domain forward modeller.
See the section :ref:`Installing_time_domain_forward_modeller` for more information.

Using GeoBIPy on Yeti
~~~~~~~~~~~~~~~~~~~~~

There is no need to install GeoBIPy on Yeti.
Simply type "module load python/geobipy" for the serial version of the code, mainly used for plotting results,
or "module load python/pGeobipy" for a parallel enabled version.

`Codebase is here! <https://github.com/usgs/geobipy/>`_

.. toctree::
:maxdepth: 2
:caption: Contents:
:maxdepth: 2

content/getting_started/getting_started
content/api/api

166 changes: 80 additions & 86 deletions docs/content/getting_started/getting_started.html
Original file line number Diff line number Diff line change
@@ -1,78 +1,37 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="../../">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Getting Started &mdash; geobipy 2.3.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<html lang="en" data-content_root="../../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>Getting Started &#8212; geobipy 2.3.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=d1102ebc" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css?v=12dfc556" />
<script src="../../_static/documentation_options.js?v=67b02a41"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />

<link rel="stylesheet" href="../../_static/custom.css" type="text/css" />



<!--[if lt IE 9]>
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=67b02a41"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
</head>

<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
</head><body>


<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">


<a href="../../index.html" class="icon icon-home">
geobipy
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<!-- Local TOC -->
<div class="local-toc"><ul>
<li><a class="reference internal" href="#">Getting Started</a></li>
</ul>
</div>
</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../../index.html">geobipy</a>
</nav>

<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item active">Getting Started</li>
<li class="wy-breadcrumbs-aside">
<a href="../../_sources/content/getting_started/getting_started.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">


<div class="body" role="main">

<section id="getting-started">
<h1>Getting Started<a class="headerlink" href="#getting-started" title="Link to this heading"></a></h1>
<h1>Getting Started<a class="headerlink" href="#getting-started" title="Link to this heading"></a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installing GeoBIPy</a></li>
Expand All @@ -81,31 +40,66 @@ <h1>Getting Started<a class="headerlink" href="#getting-started" title="Link to
</section>


</div>
</div>
<footer>

</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../../index.html">geobipy</a></h1>








<h3>Navigation</h3>

<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../../index.html">Documentation overview</a><ul>
</ul></li>
</ul>
</div>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>





<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2024, Leon Foks, Burke Minsley.</p>
</div>

Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.


</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>

</body>
<div class="clearer"></div>
</div>
<div class="footer">
&#169;2024, Leon Foks, Burke Minsley.

|
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 7.4.7</a>
&amp; <a href="https://alabaster.readthedocs.io">Alabaster 0.7.16</a>

|
<a href="../../_sources/content/getting_started/getting_started.rst.txt"
rel="nofollow">Page source</a>
</div>




</body>
</html>
Loading

0 comments on commit b3a8fd5

Please sign in to comment.