{"id":339,"date":"2013-07-01T22:26:00","date_gmt":"2013-07-01T22:26:00","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=339"},"modified":"2015-08-31T03:24:32","modified_gmt":"2015-08-31T03:24:32","slug":"program-of-the-month-sftime2depth","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2013\/07\/01\/program-of-the-month-sftime2depth\/","title":{"rendered":"Program of the month: sftime2depth"},"content":{"rendered":"<p><a href=\"\/RSF\/sftime2depth.html\">sftime2depth<\/a> converts the input from vertical time to depth coordinates. <\/p>\n<p>The following example from <a href=\"\/RSF\/book\/rsf\/su\/rsflab9.html\">rsf\/su\/rsflab9<\/a> shows a seismic image converted from time to depth by this transformation: <\/p>\n<p><img decoding=\"async\" src=\"\/RSF\/book\/rsf\/su\/rsflab9\/Fig\/phase.png\" alt=\"\" title=\"\" \/> <img decoding=\"async\" src=\"\/RSF\/book\/rsf\/su\/rsflab9\/Fig\/phase-depth.png\" alt=\"\" title=\"\" \/> <\/p>\n<p>The example is borrowed from John Stockwell&#8217;s lecture notes on <a href=\"http:\/\/www.cwp.mines.edu\/~john\/GPGN461.561\/index.html\">Geophysical Image Processing<\/a> and translated from <a href=\"\/blog\/2010\/08\/17\/madagascar-for-users-of-seismic-unix\/\"> Seismic Unix<\/a> to Madagascar. The transformation follows the simple equation<br \/>\n$$t = 2\\,\\int\\limits_{0}^{z} \\frac{d\\zeta}{v(\\zeta)}$$,<br \/>\nwhere $t$ is two-way vertical time, $z$ is depth, and $v(z)$ is vertical velocity. <\/p>\n<p>The sampling of the output depth axis is controlled by <strong>nz=<\/strong>, <strong>dz=<\/strong>, and <strong>z0=<\/strong>. If the velocity (provided in the auxiliary <strong>velocity=<\/strong> file) is sampled in time rather than depth, use <strong>intime=y<\/strong>. If it is slowness rather than velocity, use <strong>slow=y<\/strong>. If the input is in one-way time rather than two-way time, use <strong>twoway=n<\/strong>. The interpolation is carried out using <a href=\"\/RSF\/book\/sep\/forwd\/paper_html\/node10.html\">B-splines<\/a>. The spline order is controlled by <strong>extend=<\/strong>. By default, cubic splines (<strong>extend=4<\/strong>) are used. <\/p>\n<p>The inverse transformation is given by <a href=\"\/RSF\/sfdepth2time.html\">sfdepth2time<\/a>. <\/p>\n<p>In the presence of lateral velocity variations, the correct transformation from time to depth is not as simple and needs additional corrections. See <a href=\"\/RSF\/book\/jsg\/time2depth\/paper_html\/\">Time-to-depth conversion and seismic velocity estimation using time-migration velocity<\/a>. <\/p>\n<h3 id=\"10previousprogramsofthemonth\">10 previous programs of the month<\/h3>\n<ul>\n<li><a href=\"\/blog\/2013\/06\/12\/program-of-the-month-sfwiggle\/\">sfwiggle<\/a><\/li>\n<li><a href=\"\/blog\/2013\/05\/04\/program-of-the-month-sfvscan\/\">sfvscan<\/a><\/li>\n<li><a href=\"\/blog\/2013\/04\/08\/program-of-the-month-sfnmo\/\">sfnmo<\/a><\/li>\n<li><a href=\"\/blog\/2013\/03\/10\/program-of-the-month-sfpow\/\">sfpow<\/a><\/li>\n<li><a href=\"\/blog\/2013\/02\/09\/program-of-the-month-sfpwd\/\">sfpwd<\/a><\/li>\n<li><a href=\"\/blog\/2013\/01\/08\/program-of-the-month-sfricker1\/\">sfricker1<\/a><\/li>\n<li><a href=\"\/blog\/2012\/12\/23\/program-of-the-month-sfhalfint\/\">sfhalfint<\/a><\/li>\n<li><a href=\"\/blog\/2012\/11\/03\/program-of-the-month-sfbandpass\/\">sfbandpass<\/a><\/li>\n<li><a href=\"\/blog\/2012\/10\/03\/program-of-the-month-sfkirmod\/\">sfkirmod<\/a><\/li>\n<li><a href=\"\/blog\/2012\/09\/03\/program-of-the-month-sfiwarp\/\">sfiwarp<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>sftime2depth converts the input from vertical time to depth coordinates. The following example from rsf\/su\/rsflab9 shows a seismic image converted from time to depth by this transformation: The example is borrowed from John Stockwell&#8217;s lecture notes on Geophysical Image Processing and translated from Seismic Unix to Madagascar. The transformation follows the simple equation $$t = [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-programs"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=339"}],"version-history":[{"count":3,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":16908,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/339\/revisions\/16908"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}