Skip to content

Commit ec58ee4

Browse files
committed
Built site for gh-pages
1 parent 9eb627d commit ec58ee4

23 files changed

Lines changed: 3750 additions & 1444 deletions

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1a237279
1+
9aed7106

documentation/modules/density.html

Lines changed: 1127 additions & 0 deletions
Large diffs are not rendered by default.

documentation/modules/grdflexure.html

Lines changed: 210 additions & 16 deletions
Large diffs are not rendered by default.

documentation/modules/grdspotter.html

Lines changed: 129 additions & 17 deletions
Large diffs are not rendered by default.

documentation/modules/polespotter.html

Lines changed: 115 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,41 @@
2020
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
2121
vertical-align: middle;
2222
}
23+
/* CSS for syntax highlighting */
24+
html { -webkit-text-size-adjust: 100%; }
25+
pre > code.sourceCode { white-space: pre; position: relative; }
26+
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
27+
pre > code.sourceCode > span:empty { height: 1.2em; }
28+
.sourceCode { overflow: visible; }
29+
code.sourceCode > span { color: inherit; text-decoration: inherit; }
30+
div.sourceCode { margin: 1em 0; }
31+
pre.sourceCode { margin: 0; }
32+
@media screen {
33+
div.sourceCode { overflow: auto; }
34+
}
35+
@media print {
36+
pre > code.sourceCode { white-space: pre-wrap; }
37+
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
38+
}
39+
pre.numberSource code
40+
{ counter-reset: source-line 0; }
41+
pre.numberSource code > span
42+
{ position: relative; left: -4em; counter-increment: source-line; }
43+
pre.numberSource code > span > a:first-child::before
44+
{ content: counter(source-line);
45+
position: relative; left: -1em; text-align: right; vertical-align: baseline;
46+
border: none; display: inline-block;
47+
-webkit-touch-callout: none; -webkit-user-select: none;
48+
-khtml-user-select: none; -moz-user-select: none;
49+
-ms-user-select: none; user-select: none;
50+
padding: 0 4px; width: 4em;
51+
}
52+
pre.numberSource { margin-left: 3em; padding-left: 4px; }
53+
div.sourceCode
54+
{ }
55+
@media screen {
56+
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
57+
}
2358
</style>
2459

2560

@@ -405,8 +440,18 @@
405440
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
406441
<!-- sidebar -->
407442
<!-- margin-sidebar -->
408-
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar zindex-bottom">
409-
443+
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
444+
<nav id="TOC" role="doc-toc" class="toc-active">
445+
<h2 id="toc-title">On this page</h2>
446+
447+
<ul class="collapse">
448+
<li><a href="#description" id="toc-description" class="nav-link active" data-scroll-target="#description">Description</a></li>
449+
<li><a href="#optional-arguments" id="toc-optional-arguments" class="nav-link" data-scroll-target="#optional-arguments">Optional Arguments</a></li>
450+
<li><a href="#notes" id="toc-notes" class="nav-link" data-scroll-target="#notes">Notes</a></li>
451+
<li><a href="#examples" id="toc-examples" class="nav-link" data-scroll-target="#examples">Examples</a></li>
452+
<li><a href="#see-also" id="toc-see-also" class="nav-link" data-scroll-target="#see-also">See Also</a></li>
453+
</ul>
454+
</nav>
410455
</div>
411456
<!-- main -->
412457
<main class="content" id="quarto-document-content">
@@ -430,23 +475,76 @@ <h1 class="title">polespotter</h1>
430475
</header>
431476

432477

433-
<p>Find stage poles given fracture zones and abyssal hills.</p>
434-
<div class="callout callout-style-default callout-warning callout-titled">
435-
<div class="callout-header d-flex align-content-center">
436-
<div class="callout-icon-container">
437-
<i class="callout-icon"></i>
438-
</div>
439-
<div class="callout-title-container flex-fill">
440-
Warning
441-
</div>
442-
</div>
443-
<div class="callout-body-container callout-body">
444-
<p>This GMT supplements module has not yet been ported to the long verbose syntax. To use it, you will need to use the <a href="../..\documentation/general/monolitic.html">Monolithic</a> mode.</p>
445-
</div>
446-
</div>
447-
<p>Please open a <a href="https://github.com/GenericMappingTools/GMT.jl/issues">Feature Request</a> if you would like to see this module ported to the long verbose syntax, or better yet, consider contributing the port yourself!</p>
478+
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">polespotter</span>(cmd0<span class="op">::</span><span class="dt">String</span>=<span class="st">""</span>, arg1<span class="op">=</span><span class="cn">nothing</span>; kwargs<span class="op">...</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
479+
<p>Find stage poles from fracture zones and abyssal hills.</p>
480+
<p>(<strong>Warning: Manual translate by Claude. Needs revision</strong>)</p>
481+
<section id="description" class="level2">
482+
<h2 class="anchored" data-anchor-id="description">Description</h2>
483+
<p><strong>polespotter</strong> reads line segments (abyssal hill fabric lineaments and/or fracture zone lineaments) and performs one of three types of scans. In spot mode it computes great circles for each individual segment along these lines. The bisector great circles to fracture zones and the great circle extensions of abyssal hills are expected to intersect at potential rotation poles. The assumption is that abyssal hill lines are meridians and fracture zones are parallels with respect to the rotation pole.</p>
484+
<p>Line density may be computed and returned via a grid, the great circle lines may be returned via standard output, and the intersections of the great circles may be saved to file. In line mode it will determine which line segments are compatible with a given trial pole, while in pole mode it will compute chi-squared misfits for all the poles defined by the grid.</p>
485+
</section>
486+
<section id="optional-arguments" class="level2">
487+
<h2 class="anchored" data-anchor-id="optional-arguments">Optional Arguments</h2>
488+
<ul>
489+
<li><p><strong>A</strong> or <strong>abyssalhills</strong> or <strong>hills</strong> : – <em>hills=“filename”</em><br>
490+
File with multiple segments of abyssal hill lineaments. These are assumed to reflect the great circle direction towards the rotation pole in effect when the seafloor was formed.</p></li>
491+
<li><p><strong>D</strong> or <strong>step</strong> or <strong>spacing</strong> : – <em>spacing=value</em><br>
492+
Sets the line increment for all great circles produced, in km [5]. Actual spacing will be adjusted to give an integer number of steps along the full circle.</p></li>
493+
<li><p><strong>E</strong> or <strong>sigma</strong> or <strong>uncertainty</strong> : – <em>uncertainty=(a=val, f=val)</em> <strong>|</strong> <em>uncertainty=“a1”</em><br>
494+
Provide different 1-sigma angular uncertainty (in degrees) in the orientation of abyssal hills or fracture zones. Use <strong>a</strong> (or <strong>abyssal</strong>) for abyssal hills [1] and <strong>f</strong> (or <strong>fz</strong>) for fracture zones [1]. These <em>sigma</em> values are then used to form weights = 1/sigma.</p></li>
495+
<li><p><strong>F</strong> or <strong>fracturezones</strong> or <strong>fz</strong> : – <em>fz=“filename”</em><br>
496+
File with multiple segments of fracture zone lineaments. These are assumed to reflect small circles about the rotation pole in effect when the seafloor was formed.</p></li>
497+
<li><p><strong>G</strong> or <strong>outgrid</strong> or <strong>save</strong> : – <em>outgrid=“filename”</em><br>
498+
Specify name for output grid. For spot mode we accumulate great circle line density for the grid. Each bin crossed by a great circle is incremented by 1, multiplied by cos(latitude), the length of the fracture zone or abyssal line segment, and any overall weight set via <strong>uncertainty</strong>. In pole mode we return the chi-squared misfit surface. Not used in line mode.</p></li>
499+
<li><p><strong>I</strong> or <strong>inc</strong> or <strong>increment</strong> or <strong>spacing</strong> : – <em>inc=x_inc</em> <strong>|</strong> <em>inc=(x_inc, y_inc)</em> <strong>|</strong> <em>inc=“xinc[+e|n][/yinc[+e|n]]”</em><br>
500+
Specify the grid increments or the block sizes. More at <a href="../../documentation/common_opts/common_opts.html#spacing">spacing</a></p></li>
501+
<li><p><strong>N</strong> or <strong>normalize</strong> or <strong>norm</strong> : – <em>normalize=true</em><br>
502+
Normalize the grid so max value equals 1 [no normalization].</p></li>
503+
<li><p><strong>R</strong> or <strong>region</strong> or <strong>limits</strong> : – <em>limits=(xmin, xmax, ymin, ymax)</em> <strong>|</strong> <em>limits=(BB=(xmin, xmax, ymin, ymax),)</em> <strong>|</strong> <em>limits=(LLUR=(xmin, xmax, ymin, ymax),units=“unit”)</em> <strong>|</strong> …more<br>
504+
Specify the region of interest. More at <a href="../../documentation/common_opts/common_opts.html#limits">limits</a>. For perspective view <strong>view</strong>, optionally add <em>zmin,zmax</em>. This option may be used to indicate the range used for the 3-D axes. You may ask for a larger w/e/s/n region to have more room between the image and the axes.</p></li>
505+
<li><p><strong>S</strong> or <strong>mode</strong> or <strong>scan</strong> : – <em>scan=:spot</em> <strong>|</strong> <em>scan=:pole</em> <strong>|</strong> <em>scan=:line</em> <strong>|</strong> <em>scan=(spot=true, …)</em><br>
506+
Set the scan mode for this run. Choose from <strong>:line</strong>, <strong>:pole</strong>, or <strong>:spot</strong>:</p>
507+
<ul>
508+
<li><p><strong>Line mode</strong> (<em>scan=(line=“plon/plat”, midpoint=true)</em>): Accept a trial pole location and determine how compatible each data segment is with the predictions of small circles (for fracture zones) and meridians (for abyssal hills). By default reports summary statistics. Use <strong>midpoint=true</strong> to instead report misfit information for each mid-point along all multi-point line segments.</p></li>
509+
<li><p><strong>Pole mode</strong> (<em>scan=:pole</em>): Search for all poles on the given grid and determine the weighted chi-square misfit to all given line constraints. Requires <strong>outgrid</strong>, <strong>region</strong>, and <strong>inc</strong>.</p></li>
510+
<li><p><strong>Spot mode</strong> (<em>scan=(spot=true, xfile=“crossings.txt”, lines=true)</em>): Compute bisectors to fracture zones and meridians along abyssal hills and determine intersections of all great circles. Use <strong>lines=true</strong> to dump all great circles to stdout, and <strong>xfile</strong> to compute intersections and write locations to file.</p></li>
511+
</ul></li>
512+
<li><p><strong>V</strong> or <em>verbose</em> : – <em>verbose=true</em> <strong>|</strong> <em>verbose=level</em><br>
513+
Select verbosity level. More at <a href="../../documentation/common_opts/common_opts.html#verbose">verbose</a></p></li>
514+
<li><p><strong>bi</strong> or <strong>binary_in</strong> : – <em>binary_in=??</em><br>
515+
Select native binary format for primary table input. <a href="https://docs.generic-mapping-tools.org/dev/gmt.html#bi-full">More at</a></p></li>
516+
</ul>
517+
</section>
518+
<section id="notes" class="level2">
519+
<h2 class="anchored" data-anchor-id="notes">Notes</h2>
520+
<ol type="1">
521+
<li><p>Each input line is expected to contain two or more points, and each consecutive pair of points defines a great circle line segment. For fracture zones, points should be digitized often enough so that the great circle between them can approximate the small circle.</p></li>
522+
<li><p>All line segments are given equal angular uncertainty [1, unless changed by <strong>uncertainty</strong>]. However, individual line segments can override this weight by adding a <code>-D</code><em>sigma</em> argument in the segment headers (in degrees).</p></li>
523+
</ol>
524+
</section>
525+
<section id="examples" class="level2">
526+
<h2 class="anchored" data-anchor-id="examples">Examples</h2>
527+
<p>To create a polespotting image from the abyssal hill and fracture zone fabric data in the files hills.txt and fractures.txt, on a 1x1 degree grid for the northern hemisphere, sampling the great circles every 10 km, and also dump the great circles to stdout:</p>
528+
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb2"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span></span>
529+
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a>G <span class="op">=</span> <span class="fu">polespotter</span>(hills<span class="op">=</span><span class="st">"hills.txt"</span>, fz<span class="op">=</span><span class="st">"fractures.txt"</span>, spacing<span class="op">=</span><span class="fl">10</span>, outgrid<span class="op">=</span><span class="st">"poles.nc"</span>,</span>
530+
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a> region<span class="op">=</span>(<span class="fl">0</span>,<span class="fl">360</span>,<span class="fl">0</span>,<span class="fl">90</span>), inc<span class="op">=</span><span class="fl">1</span>, scan<span class="op">=</span>(spot<span class="op">=</span><span class="cn">true</span>, lines<span class="op">=</span><span class="cn">true</span>))</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
531+
<p>To search for the best pole location using all constraints on a 0.5 degree grid:</p>
532+
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb3"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span></span>
533+
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a>G <span class="op">=</span> <span class="fu">polespotter</span>(hills<span class="op">=</span><span class="st">"hills.txt"</span>, fz<span class="op">=</span><span class="st">"fractures.txt"</span>, outgrid<span class="op">=</span><span class="st">"misfit.nc"</span>,</span>
534+
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a> region<span class="op">=</span>(<span class="fl">0</span>,<span class="fl">360</span>,<span class="op">-</span><span class="fl">90</span>,<span class="fl">90</span>), inc<span class="op">=</span><span class="fl">0.5</span>, scan<span class="op">=:</span>pole)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
535+
<p>To test compatibility of line segments with a trial pole at (45, 30):</p>
536+
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb4"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="im">using</span> <span class="bu">GMT</span></span>
537+
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a>D <span class="op">=</span> <span class="fu">polespotter</span>(hills<span class="op">=</span><span class="st">"hills.txt"</span>, fz<span class="op">=</span><span class="st">"fractures.txt"</span>, scan<span class="op">=</span>(line<span class="op">=</span><span class="st">"45/30"</span>,))</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
538+
</section>
539+
<section id="see-also" class="level2">
540+
<h2 class="anchored" data-anchor-id="see-also">See Also</h2>
541+
<ul>
542+
<li><a href="../..\documentation/modules/backtracker.html">backtracker</a>, <a href="../..\documentation/modules/grdspotter.html">grdspotter</a>, <a href="../..\documentation/modules/hotspotter.html">hotspotter</a>, <a href="../..\documentation/modules/originater.html">originater</a>, <a href="../..\documentation/modules/rotconverter.html">rotconverter</a></li>
543+
<li><a href="../alphabetical.html">Alphabetical Function List</a></li>
544+
</ul>
448545

449546

547+
</section>
450548

451549
</main> <!-- /main -->
452550
<script>

0 commit comments

Comments
 (0)