{"id":11040,"date":"2020-04-03T02:37:34","date_gmt":"2020-04-03T12:37:34","guid":{"rendered":"http:\/\/www.eaobservatory.org\/jcmt\/?p=11040"},"modified":"2020-12-29T10:57:14","modified_gmt":"2020-12-29T20:57:14","slug":"checking-errors-in-pol2-vector-catalogues","status":"publish","type":"post","link":"https:\/\/www.eaobservatory.org\/jcmt\/2020\/04\/checking-errors-in-pol2-vector-catalogues\/","title":{"rendered":"Checking errors in POL2 vector catalogues"},"content":{"rendered":"<p>A new command called <span style=\"font-family: 'courier new', courier, monospace\">pol2noise<\/span> has been added to the Starlink <span style=\"font-family: 'courier new', courier, monospace\">SMURF<\/span> package. It allows the error values stored in a POL2 vector catalogue to be checked for consistency. For instance, to check the errors on the Q column, do:<\/p>\n<p><code>% smurf<br \/>\n% pol2noise mycat.FIT Q<\/code><\/p>\n<p>replacing <span style=\"font-family: 'courier new', courier, monospace\">myfit.FIT<\/span> with the name of your vector catalogue (&#8220;Q&#8221; can be replaced by U, I or PI). It will display three pictures on the current <span style=\"font-family: 'courier new', courier, monospace\">KAPPA<\/span> graphics device.\u00a0 So for instance, to use an xwindow graphics device, you can either use <span style=\"font-family: 'courier new', courier, monospace\">KAPPA:gdset<\/span> to set xwindows as the default graphics device prior to running the above commands:<\/p>\n<p><code>% kappa<br \/>\n% gdset xw<\/code><\/p>\n<p>or you can specify the device directly on the <span style=\"font-family: 'courier new', courier, monospace\">pol2noise<\/span> command line:<\/p>\n<p><code>% pol2noise mycat.FIT Q device=xw<\/code><\/p>\n<p>This will produce an X window showing something like this:<\/p>\n<p><a href=\"http:\/\/www.eaobservatory.org\/jcmt\/wp-content\/uploads\/sites\/2\/2020\/04\/pol2noise.jpg\"><img loading=\"lazy\" class=\"wp-image-11046 aligncenter\" src=\"http:\/\/www.eaobservatory.org\/jcmt\/wp-content\/uploads\/sites\/2\/2020\/04\/pol2noise-300x105.jpg\" alt=\"\" width=\"489\" height=\"171\" srcset=\"https:\/\/www.eaobservatory.org\/jcmt\/wp-content\/uploads\/sites\/2\/2020\/04\/pol2noise-300x105.jpg 300w, https:\/\/www.eaobservatory.org\/jcmt\/wp-content\/uploads\/sites\/2\/2020\/04\/pol2noise-1024x359.jpg 1024w, https:\/\/www.eaobservatory.org\/jcmt\/wp-content\/uploads\/sites\/2\/2020\/04\/pol2noise-768x269.jpg 768w, https:\/\/www.eaobservatory.org\/jcmt\/wp-content\/uploads\/sites\/2\/2020\/04\/pol2noise-1536x538.jpg 1536w, https:\/\/www.eaobservatory.org\/jcmt\/wp-content\/uploads\/sites\/2\/2020\/04\/pol2noise-250x88.jpg 250w, https:\/\/www.eaobservatory.org\/jcmt\/wp-content\/uploads\/sites\/2\/2020\/04\/pol2noise-150x53.jpg 150w, https:\/\/www.eaobservatory.org\/jcmt\/wp-content\/uploads\/sites\/2\/2020\/04\/pol2noise.jpg 1833w\" sizes=\"(max-width: 489px) 100vw, 489px\" \/><\/a><\/p>\n<p>The left hand picture shows the noise level in the background regions determined from the local variation between the Q values in the catalogue. The middle picture shows the noise level recorded in the DQ column of the catalogue. The right hand picture is a scatter plot of the values in the other two pictures. The best fit line is shown in red (the slope and intercept of this line,together with the RMS residual, is displayed on the terminal screen when <span style=\"font-family: 'courier new', courier, monospace\">pol2noise<\/span> ends). The upper limit of the data included in the scatter plot is shown as a red contour in the two images.<\/p>\n<p>For more information on the available options and how pol2noise determines the background regions and the displayed noise levels, do:<\/p>\n<p><code><br \/>\n% pol2noise --help<\/code><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new command called pol2noise has been added to the Starlink SMURF package. It allows the error values stored in a POL2 vector catalogue to be checked for consistency. For instance, to check the errors on the Q column, do: % smurf % pol2noise mycat.FIT Q replacing myfit.FIT with the\u2026 <a class=\"continue-reading-link\" href=\"https:\/\/www.eaobservatory.org\/jcmt\/2020\/04\/checking-errors-in-pol2-vector-catalogues\/\">Continue reading<\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[36],"tags":[37],"_links":{"self":[{"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/posts\/11040"}],"collection":[{"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/comments?post=11040"}],"version-history":[{"count":8,"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/posts\/11040\/revisions"}],"predecessor-version":[{"id":11050,"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/posts\/11040\/revisions\/11050"}],"wp:attachment":[{"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/media?parent=11040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/categories?post=11040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.eaobservatory.org\/jcmt\/wp-json\/wp\/v2\/tags?post=11040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}