{"id":102274,"date":"2019-08-10T23:15:58","date_gmt":"2019-08-10T23:15:58","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=102274"},"modified":"2019-09-10T23:23:48","modified_gmt":"2019-09-10T23:23:48","slug":"program-of-the-month-sfsnr2","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2019\/08\/10\/program-of-the-month-sfsnr2\/","title":{"rendered":"Program of the month: sfsnr2"},"content":{"rendered":"<p><a href=\"\/RSF\/sfsnr2.html\">sfsnr2<\/a> computes the signal-to-noise (SNR) ratio in decibells.<\/p>\n<p>The following example from <a href=\"\/RSF\/book\/tccs\/intshape\/fsyn.html\">tccs\/intshape\/fsyn<\/a> uses the SNR computation to compare the convergence of two different methods.<\/p>\n<p><img decoding=\"async\" src=\"\/RSF\/book\/tccs\/intshape\/fsyn\/Fig\/SNRs.png\" alt=\"\" title=\"\"><\/p>\n<p>SNR is computed according to the equation<\/p>\n<p>$SNR=\\displaystyle 10\\log_{10}\\left(\\frac{\\Arrowvert \\mathbf{s} \\Arrowvert_2^2}{\\Arrowvert\\mathbf{n}\\Arrowvert_2^2}\\right)$<\/p>\n<p>The signal vector $\\mathbf{s}$ is in the standard input, the noise vector $\\mathbf{n}$ is in the file specified by <strong>noise=<\/strong> parameter.<\/p>\n<h3 id=\"10previousprogramsofthemonth\">10 previous programs of the month:<\/h3>\n<ul>\n<li><a href=\"https:\/\/ahay.org\/blog\/2019\/07\/09\/program-of-the-month-sflpf\/\">sflpf<\/a><\/li>\n<li><a href=\"\/blog\/2019\/06\/12\/program-of-the-month-sfslice\/\">sfslice<\/a><\/li>\n<li><a href=\"\/blog\/2019\/06\/06\/program-of-the-month-sfzomig3\/\">sfzomig3<\/a><\/li>\n<li><a href=\"\/blog\/2017\/04\/19\/program-of-the-month-sfseislet\/\">sfseislet<\/a><\/li>\n<li><a href=\"\/blog\/2016\/02\/18\/program-of-the-month-sfmig2\/\">sfmig2<\/a><\/li>\n<li><a href=\"\/blog\/2016\/01\/16\/program-of-the-month-sfsort\/\">sfsort<\/a><\/li>\n<li><a href=\"\/blog\/2015\/12\/22\/program-of-the-month-sfdivn\/\">sfdivn<\/a><\/li>\n<li><a href=\"\/blog\/2015\/11\/16\/program-of-the-month-sfpldb-and-sfplas\/\">sfpldb and sfplas<\/a><\/li>\n<li><a href=\"\/blog\/2015\/10\/15\/program-of-the-month-sfisolr2\/\">sfisolr2<\/a><\/li>\n<li><a href=\"\/blog\/2015\/09\/14\/program-of-the-month-sfsimilarity\/\">sfsimilarity<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>sfsnr2 computes the signal-to-noise (SNR) ratio in decibells. The following example from tccs\/intshape\/fsyn uses the SNR computation to compare the convergence of two different methods. SNR is computed according to the equation $SNR=\\displaystyle 10\\log_{10}\\left(\\frac{\\Arrowvert \\mathbf{s} \\Arrowvert_2^2}{\\Arrowvert\\mathbf{n}\\Arrowvert_2^2}\\right)$ The signal vector $\\mathbf{s}$ is in the standard input, the noise vector $\\mathbf{n}$ is in the file specified by [&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-102274","post","type-post","status-publish","format-standard","hentry","category-programs"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/102274","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=102274"}],"version-history":[{"count":6,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/102274\/revisions"}],"predecessor-version":[{"id":102380,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/102274\/revisions\/102380"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=102274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=102274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=102274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}