• 隔壁家的老弟
    了解作者
  • Python
    开发工具
  • 2.2MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 10 积分
    下载积分
  • 3
    下载次数
  • 2020-07-26 13:37
    上传日期
大地电磁python应用包,可进行正演模拟,反演模拟,结合python可以进行学习使用。
MTPy User Guide.zip
  • MTPy User Guide.pdf
    2.5MB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/622bb0643d2fbb0007fbbdef/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/622bb0643d2fbb0007fbbdef/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">MTPy User Guide</div><div class="t m0 x2 h3 y2 ff2 fs1 fc0 sc0 ls0 ws0">October<span class="_"> </span>10,<span class="_"> </span>2018</div><div class="t m0 x3 h4 y3 ff3 fs2 fc0 sc0 ls0 ws0">1<span class="_ _0"> </span>Introduction</div><div class="t m0 x3 h5 y4 ff2 fs3 fc0 sc0 ls0 ws0">This<span class="_ _1"> </span>workbook<span class="_ _1"> </span>contains<span class="_ _1"> </span>some<span class="_ _1"> </span>examples<span class="_ _1"> </span>for<span class="_ _1"> </span>reading,<span class="_ _1"> </span>analysing<span class="_ _1"> </span>and<span class="_ _1"> </span>plotting<span class="_ _1"> </span>processed<span class="_ _1"> </span>MT<span class="_ _1"> </span>data.</div><div class="t m0 x3 h5 y5 ff2 fs3 fc0 sc0 ls0 ws0">It<span class="_ _1"> </span>covers<span class="_ _2"> </span>most<span class="_ _2"> </span>of<span class="_ _1"> </span>the<span class="_ _2"> </span>steps<span class="_ _1"> </span>available<span class="_ _2"> </span>in<span class="_ _1"> </span>MTPy<span class="_ _3"></span>.<span class="_ _4"> </span>For<span class="_ _2"> </span>more<span class="_ _2"> </span>details<span class="_ _1"> </span>on<span class="_ _2"> </span>speci&#64257;c<span class="_ _1"> </span>input<span class="_ _2"> </span>parameters<span class="_ _1"> </span>and</div><div class="t m0 x3 h5 y6 ff2 fs3 fc0 sc0 ls0 ws0">other<span class="_ _1"> </span>functionality<span class="_ _3"></span>,<span class="_ _5"> </span>we<span class="_ _1"> </span>recommend<span class="_ _1"> </span>looking<span class="_ _1"> </span>at<span class="_ _5"> </span>the<span class="_ _1"> </span>mtpy<span class="_ _1"> </span>documentation,<span class="_ _5"> </span>which<span class="_ _1"> </span>can<span class="_ _5"> </span>be<span class="_ _1"> </span>found<span class="_ _1"> </span>at:</div><div class="t m0 x3 h5 y7 ff2 fs3 fc0 sc0 ls0 ws0">https://mtpy2.readthedocs.io/en/develop/master_doc.html.</div><div class="t m0 x4 h5 y8 ff2 fs3 fc0 sc0 ls0 ws0">This<span class="_ _2"> </span>workbook<span class="_ _2"> </span>is<span class="_ _1"> </span>structur<span class="_ _6"></span>ed<span class="_ _2"> </span>according<span class="_ _2"> </span>to<span class="_ _2"> </span>some<span class="_ _2"> </span>of<span class="_ _1"> </span>the<span class="_ _2"> </span>key<span class="_ _2"> </span>modules<span class="_ _1"> </span>in<span class="_ _2"> </span>MTPy:<span class="_ _7"> </span>Core,<span class="_ _2"> </span>Analysis,</div><div class="t m0 x3 h5 y9 ff2 fs3 fc0 sc0 ls0 ws0">Imaging,<span class="_"> </span>and<span class="_"> </span>Modeling.</div><div class="t m0 x3 h6 ya ff3 fs1 fc0 sc0 ls0 ws0">1.1<span class="_ _8"> </span>Getting<span class="_"> </span>Started</div><div class="t m0 x3 h5 yb ff2 fs3 fc0 sc0 ls0 ws0">T<span class="_ _3"></span>o<span class="_"> </span>start<span class="_ _9"> </span>with,<span class="_ _a"> </span>you<span class="_ _9"> </span>will<span class="_"> </span>need<span class="_ _9"> </span>to<span class="_ _9"> </span>make<span class="_"> </span>sur<span class="_ _6"></span>e<span class="_ _9"> </span>MTPy<span class="_ _a"> </span>is<span class="_ _9"> </span>installed<span class="_"> </span>and<span class="_ _9"> </span>is<span class="_ _9"> </span>working<span class="_"> </span>corr<span class="_ _6"></span>ectly<span class="_ _3"></span>.<span class="_ _2"> </span>Please<span class="_"> </span>see<span class="_ _9"> </span>the</div><div class="t m0 x3 h5 yc ff2 fs3 fc0 sc0 ls0 ws0">installation<span class="_ _9"> </span>guide<span class="_"> </span>(https://github.com/MTgeophysics/mtpy/wiki/MTPy-installation-guide-on-</div><div class="t m0 x3 h5 yd ff2 fs3 fc0 sc0 ls0 ws0">W<span class="_ _b"></span>indows-PC)<span class="_"> </span>for<span class="_"> </span>details.</div><div class="t m0 x4 h5 ye ff2 fs3 fc0 sc0 ls0 ws0">Before<span class="_ _2"> </span>you<span class="_ _5"> </span>begin<span class="_ _2"> </span>these<span class="_ _1"> </span>examples,<span class="_ _5"> </span>we<span class="_ _1"> </span>suggest<span class="_ _1"> </span>you<span class="_ _1"> </span>make<span class="_ _1"> </span>a<span class="_ _1"> </span>temporary<span class="_ _1"> </span>folder<span class="_ _1"> </span>(e.g.<span class="_ _c"> </span>C:/tmp)<span class="_ _1"> </span>to</div><div class="t m0 x3 h5 yf ff2 fs3 fc0 sc0 ls0 ws0">save<span class="_"> </span>all<span class="_"> </span>example<span class="_"> </span>outputs.</div><div class="t m0 x3 h6 y10 ff3 fs1 fc0 sc0 ls0 ws0">1.2<span class="_ _8"> </span>Useful<span class="_"> </span>tricks<span class="_"> </span>and<span class="_"> </span>tips</div><div class="t m0 x3 h5 y11 ff2 fs3 fc0 sc0 ls0 ws0">This<span class="_ _2"> </span>workbook<span class="_ _1"> </span>exists<span class="_ _2"> </span>as<span class="_ _1"> </span>a<span class="_ _2"> </span>Jupyter<span class="_ _1"> </span>notebook<span class="_ _2"> </span>and<span class="_ _1"> </span>a<span class="_ _2"> </span>pdf.<span class="_ _4"> </span>If<span class="_ _1"> </span>you<span class="_ _2"> </span>are<span class="_ _2"> </span>running<span class="_ _2"> </span>the<span class="_ _1"> </span>Jupyter<span class="_ _2"> </span>notebook,</div><div class="t m0 x3 h5 y12 ff2 fs3 fc0 sc0 ls0 ws0">you<span class="_ _7"> </span>can<span class="_ _d"> </span>run<span class="_ _7"> </span>each<span class="_ _7"> </span>of<span class="_ _d"> </span>the<span class="_ _7"> </span>cells,<span class="_ _4"> </span>modifying<span class="_ _d"> </span>the<span class="_ _7"> </span>inputs<span class="_ _d"> </span>to<span class="_ _7"> </span>suit<span class="_ _d"> </span>your<span class="_ _7"> </span>requirements.<span class="_ _e"> </span>Most<span class="_ _7"> </span>of<span class="_ _d"> </span>these</div><div class="t m0 x3 h5 y13 ff2 fs3 fc0 sc0 ls0 ws0">examples<span class="_"> </span>have<span class="_"> </span>been<span class="_"> </span>written<span class="_"> </span>to<span class="_"> </span>be<span class="_"> </span>self<span class="_"> </span>contained.</div><div class="t m0 x4 h5 y14 ff2 fs3 fc0 sc0 ls0 ws0">In<span class="_ _2"> </span>Jupyter<span class="_ _b"></span>,<span class="_ _1"> </span>you<span class="_ _2"> </span>can<span class="_ _1"> </span>add<span class="_ _2"> </span>the<span class="_ _2"> </span>following<span class="_ _1"> </span>line<span class="_ _2"> </span>to<span class="_ _1"> </span>the<span class="_ _2"> </span>top<span class="_ _1"> </span>of<span class="_ _2"> </span>any<span class="_ _1"> </span>cell<span class="_ _2"> </span>and<span class="_ _1"> </span>it<span class="_ _2"> </span>will<span class="_ _1"> </span>write<span class="_ _2"> </span>the<span class="_ _1"> </span>contents</div><div class="t m0 x3 h5 y15 ff2 fs3 fc0 sc0 ls0 ws0">of<span class="_"> </span>that<span class="_"> </span>cell<span class="_"> </span>to<span class="_"> </span>a<span class="_"> </span>python<span class="_"> </span>script:<span class="_ _1"> </span>%%write&#64257;le<span class="_"> </span>example.py</div><div class="t m0 x4 h5 y16 ff2 fs3 fc0 sc0 ls0 ws0">Many<span class="_ _f"> </span>of<span class="_ _f"> </span>the<span class="_ _f"> </span>examples<span class="_ _f"> </span>below<span class="_ _f"> </span>make<span class="_ _f"> </span>use<span class="_ _f"> </span>of<span class="_ _f"> </span>the<span class="_ _f"> </span>matplotlib<span class="_ _f"> </span>colour<span class="_ _f"> </span>maps.<span class="_ _10"> </span>Please<span class="_ _f"> </span>see</div><div class="t m0 x3 h5 y17 ff2 fs3 fc0 sc0 ls0 ws0">https://matplotlib.org/examples/color/colormaps_r<span class="_ _b"></span>eference.html<span class="_"> </span>for<span class="_"> </span>colour<span class="_"> </span>map<span class="_"> </span>options.</div><div class="t m0 x3 h4 y18 ff3 fs2 fc0 sc0 ls0 ws0">2<span class="_ _0"> </span>Core</div><div class="t m0 x3 h5 y19 ff2 fs3 fc0 sc0 ls0 ws0">These<span class="_ _1"> </span>&#64257;rst<span class="_ _1"> </span>few<span class="_ _1"> </span>examples<span class="_ _1"> </span>cover<span class="_ _1"> </span>some<span class="_ _1"> </span>of<span class="_ _1"> </span>the<span class="_ _2"> </span>basic<span class="_ _1"> </span>functions<span class="_ _1"> </span>and<span class="_ _1"> </span>tools<span class="_ _1"> </span>that<span class="_ _1"> </span>can<span class="_ _1"> </span>be<span class="_ _1"> </span>used<span class="_ _1"> </span>to<span class="_ _1"> </span>look<span class="_ _1"> </span>at</div><div class="t m0 x3 h5 y1a ff2 fs3 fc0 sc0 ls0 ws0">data<span class="_"> </span>contained<span class="_"> </span>in<span class="_"> </span>an<span class="_"> </span>edi<span class="_"> </span>&#64257;le,<span class="_"> </span>plot<span class="_"> </span>it,<span class="_"> </span>and<span class="_"> </span>make<span class="_"> </span>changes<span class="_"> </span>(e.g.<span class="_ _1"> </span>sample<span class="_"> </span>onto<span class="_"> </span>differ<span class="_ _b"></span>ent<span class="_"> </span>frequencies).</div><div class="t m0 x3 h6 y1b ff3 fs1 fc0 sc0 ls0 ws0">2.1<span class="_ _8"> </span>Read<span class="_"> </span>an<span class="_"> </span>edi<span class="_"> </span>&#64257;le<span class="_"> </span>into<span class="_"> </span>an<span class="_"> </span>MT<span class="_"> </span>object</div><div class="t m0 x3 h7 y1c ff4 fs3 fc1 sc0 ls0 ws0">In<span class="_ _c"> </span>[1]:<span class="_ _c"> </span><span class="ff5 fc2">#<span class="_ _c"> </span>import<span class="_ _c"> </span>required<span class="_ _11"> </span>modules</span></div><div class="t m0 x5 h7 y1d ff4 fs3 fc3 sc0 ls0 ws0">from<span class="_ _c"> </span><span class="fc4">mtpy.core.mt<span class="_ _c"> </span></span>import<span class="_ _c"> </span><span class="fc0">MT</span></div><div class="t m0 x6 h5 y1e ff2 fs3 fc0 sc0 ls0 ws0">1</div></div><div class="pi" data-data='{"ctm":[1.568627,0.000000,0.000000,1.568627,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐