-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
403 changed files
with
16,019 additions
and
2,936 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
<!DOCTYPE html> | ||
|
||
<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>gempy.add_orientations — GemPy 2024.1.2.dev59+gc19c50fa.d20240531 documentation</title> | ||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=270d38c7" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=eafc0fe6" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=61a4c737" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-binder.css?v=f4aeca0c" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-dataframe.css?v=2082cf3c" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-rendered-html.css?v=1277b6f3" /> | ||
<link rel="stylesheet" type="text/css" href="../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" /> | ||
<script src="../_static/documentation_options.js?v=2a6b7f2f"></script> | ||
<script src="../_static/doctools.js?v=888ff710"></script> | ||
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script> | ||
<script src="../_static/design-tabs.js?v=36754332"></script> | ||
<link rel="icon" href="../_static/favicon.ico"/> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
<link rel="next" title="gempy.delete_surface_points" href="gempy.delete_surface_points.html" /> | ||
<link rel="prev" title="gempy.add_surface_points" href="gempy.add_surface_points.html" /> | ||
|
||
<link rel="stylesheet" href="../_static/custom.css" type="text/css" /> | ||
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | ||
|
||
</head><body> | ||
|
||
|
||
<div class="document"> | ||
<div class="documentwrapper"> | ||
<div class="bodywrapper"> | ||
|
||
|
||
<div class="body" role="main"> | ||
|
||
<section id="gempy-add-orientations"> | ||
<h1>gempy.add_orientations<a class="headerlink" href="#gempy-add-orientations" title="Link to this heading">¶</a></h1> | ||
<dl class="py function"> | ||
<dt class="sig sig-object py" id="gempy.add_orientations"> | ||
<span class="sig-prename descclassname"><span class="pre">gempy.</span></span><span class="sig-name descname"><span class="pre">add_orientations</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">geo_model</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../Modeling%20Classes/gempy.core.data.GeoModel.html#gempy.core.data.GeoModel" title="gempy.core.data.geo_model.GeoModel"><span class="pre">GeoModel</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">float</span><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">y</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">float</span><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">z</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">float</span><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">elements_names</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="n"><span class="pre">pole_vector</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">ndarray</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">orientation</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">ndarray</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nugget</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">float</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">None</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference internal" href="../Modeling%20Classes/gempy.core.data.StructuralFrame.html#gempy.core.data.StructuralFrame" title="gempy.core.data.structural_frame.StructuralFrame"><span class="pre">StructuralFrame</span></a></span></span><a class="reference internal" href="../_modules/gempy/modules/data_manipulation/manipulate_points.html#add_orientations"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#gempy.add_orientations" title="Link to this definition">¶</a></dt> | ||
<dd><p>Add orientation data to the geological model.</p> | ||
<p>This function adds orientation data to the specified geological elements in the model. | ||
The orientation can be provided directly as pole vectors or as orientation angles (azimuth, dip, polarity). | ||
Optional nugget values can also be specified for each orientation point.</p> | ||
<dl class="field-list simple"> | ||
<dt class="field-odd">Parameters<span class="colon">:</span></dt> | ||
<dd class="field-odd"><ul class="simple"> | ||
<li><p><strong>geo_model</strong> (<a class="reference internal" href="../Modeling%20Classes/gempy.core.data.GeoModel.html#gempy.core.data.GeoModel" title="gempy.core.data.GeoModel"><em>GeoModel</em></a>) – The geological model to which the orientations will be added.</p></li> | ||
<li><p><strong>x</strong> (<em>Sequence</em><em>[</em><em>float</em><em>]</em>) – Sequence of x-coordinates for the orientation points.</p></li> | ||
<li><p><strong>y</strong> (<em>Sequence</em><em>[</em><em>float</em><em>]</em>) – Sequence of y-coordinates for the orientation points.</p></li> | ||
<li><p><strong>z</strong> (<em>Sequence</em><em>[</em><em>float</em><em>]</em>) – Sequence of z-coordinates for the orientation points.</p></li> | ||
<li><p><strong>elements_names</strong> (<em>Sequence</em><em>[</em><em>str</em><em>]</em>) – Sequence of element names corresponding to each orientation point.</p></li> | ||
<li><p><strong>pole_vector</strong> (<em>Optional</em><em>[</em><em>Sequence</em><em>[</em><em>np.ndarray</em><em>]</em><em>]</em>) – Sequence of pole vectors for the orientation points.</p></li> | ||
<li><p><strong>orientation</strong> (<em>Optional</em><em>[</em><em>Sequence</em><em>[</em><em>np.ndarray</em><em>]</em><em>]</em>) – Sequence of orientation angles (azimuth, dip, polarity) for the orientation points.</p></li> | ||
<li><p><strong>nugget</strong> (<em>Optional</em><em>[</em><em>Sequence</em><em>[</em><em>float</em><em>]</em><em>]</em>) – Sequence of nugget values for each orientation point. If not provided, | ||
a default value will be used for all points.</p></li> | ||
</ul> | ||
</dd> | ||
<dt class="field-even">Returns<span class="colon">:</span></dt> | ||
<dd class="field-even"><p>The updated structural frame of the geological model.</p> | ||
</dd> | ||
<dt class="field-odd">Return type<span class="colon">:</span></dt> | ||
<dd class="field-odd"><p><a class="reference internal" href="../Modeling%20Classes/gempy.core.data.StructuralFrame.html#gempy.core.data.StructuralFrame" title="gempy.core.data.StructuralFrame">StructuralFrame</a></p> | ||
</dd> | ||
<dt class="field-even">Raises<span class="colon">:</span></dt> | ||
<dd class="field-even"><p><strong>ValueError</strong> – If neither pole_vector nor orientation is provided, or if the length of the nugget sequence | ||
does not match the lengths of the other input sequences.</p> | ||
</dd> | ||
</dl> | ||
</dd></dl> | ||
|
||
<div class="sphx-glr-clear"></div></section> | ||
|
||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | ||
<div class="sphinxsidebarwrapper"> | ||
<p class="logo"> | ||
<a href="../index.html"> | ||
<img class="logo" src="../_static/logos/gempy.png" alt="Logo"/> | ||
|
||
</a> | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<p> | ||
<iframe src="https://ghbtns.com/github-btn.html?user=gempy-project&repo=gempy&type=star&count=true&size=large&v=2" | ||
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe> | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
<h3>Navigation</h3> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../index.html">About</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../installation.html">Installation</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">Getting started</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../tutorials/index.html">GemPy Tutorials</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../examples/index.html">Examples</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">External examples</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../external/external_examples.html">External Examples</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">API Reference</span></p> | ||
<ul class="current"> | ||
<li class="toctree-l1 current"><a class="reference internal" href="../api_reference.html">Code</a><ul class="current"> | ||
<li class="toctree-l2 current"><a class="reference internal" href="../api_reference.html#gempy-api">GemPy API</a></li> | ||
<li class="toctree-l2"><a class="reference internal" href="../api_reference.html#plot">Plot</a></li> | ||
</ul> | ||
</li> | ||
<li class="toctree-l1"><a class="reference internal" href="../api_reference.html#data-classes">Data Classes</a></li> | ||
</ul> | ||
|
||
<div class="relations"> | ||
<h3>Related Topics</h3> | ||
<ul> | ||
<li><a href="../index.html">Documentation overview</a><ul> | ||
<li><a href="../api_reference.html">Code</a><ul> | ||
<li>Previous: <a href="gempy.add_surface_points.html" title="previous chapter">gempy.add_surface_points</a></li> | ||
<li>Next: <a href="gempy.delete_surface_points.html" title="next chapter">gempy.delete_surface_points</a></li> | ||
</ul></li> | ||
</ul></li> | ||
</ul> | ||
</div> | ||
<div 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> | ||
</div> | ||
<script>document.getElementById('searchbox').style.display = "block"</script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
<div class="clearer"></div> | ||
</div> | ||
<div class="footer"> | ||
©2017-2024, Gempy Developers. | ||
|
||
| | ||
Powered by <a href="http://sphinx-doc.org/">Sphinx 7.2.6</a> | ||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.13</a> | ||
|
||
| | ||
<a href="../_sources/GemPy API/gempy.add_orientations.rst.txt" | ||
rel="nofollow">Page source</a> | ||
</div> | ||
|
||
|
||
|
||
|
||
</body> | ||
</html> |
Oops, something went wrong.