{"id":958,"date":"2014-04-18T17:29:57","date_gmt":"2014-04-19T00:29:57","guid":{"rendered":"http:\/\/bellm.org\/blog\/?p=958"},"modified":"2014-04-18T17:29:57","modified_gmt":"2014-04-19T00:29:57","slug":"updated-pyraf-dbsp-pipeline","status":"publish","type":"post","link":"http:\/\/bellm.org\/blog\/2014\/04\/18\/updated-pyraf-dbsp-pipeline\/","title":{"rendered":"Updated PyRAF DBSP Pipeline"},"content":{"rendered":"<p>When I started doing optical observing in my postdoc, I was unpleasantly surprised at how difficult it was to learn to reduce the data.? Most optical astronomers use a venerable package called <a href=\"http:\/\/iraf.noao.edu\/\">IRAF<\/a>, which may charitably be called &#8220;<a href=\"http:\/\/www.aavso.org\/files\/zen_of_iraf.pdf\">user antagonistic<\/a>.&#8221;? There is a Python wrapper, <a href=\"http:\/\/www.stsci.edu\/institute\/software_hardware\/pyraf\">PyRAF<\/a>, which mutes some of the annoyances but is no easier to use if you&#8217;re not already an IRAF expert.<\/p>\n<p>Using a PyRAF script originally by <a href=\"http:\/\/www.mpia-hd.mpg.de\/~bsesar\/\">Branimir Sesar<\/a>, I extended, generalized, and documented a pipeline (available <a href=\"https:\/\/github.com\/ebellm\/pyraf-dbsp\">here<\/a>) for reducing long-slit spectra from the Double-Beam Spectrograph (<a href=\"http:\/\/www.astro.caltech.edu\/palomar\/200inch\/dbl_spec\/dbsphome.html\">DBSP<\/a>) of the Palomar 200-inch.? It abstracts away many of the IRAF details to enable smooth reduction.? It&#8217;s useful both for quick-look classification spectra as well as moderate-precision (few km\/s) radial velocity work.? Because it relies heavily on the filename and header conventions of DBSP, it would require extensive revision to use with another instrument.? However, I am advertising it in hope it will be of use to others.<\/p>\n<p>The version (0.2.0) I released today overcomes several annoyances.? It automatically sets the dispersion parameters needed by autoidentify for arbitrary gratings and angles.? I&#8217;ve added a modified version of doslit to minimize repetitive prompting of the user (see <a href=\"http:\/\/iraf.net\/forum\/viewtopic.php?showtopic=123774\">here<\/a> for details).? I added quicklook and batch processing scripts for fast, minimally-interactive reductions.? And I expanded the documentation, although it&#8217;s probably still not complete enough to help a true novice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I started doing optical observing in my postdoc, I was unpleasantly surprised at how difficult it was to learn to reduce the data.? Most optical astronomers use a venerable package called IRAF, which may charitably be called &#8220;user antagonistic.&#8221;? There is a Python wrapper, PyRAF, which mutes some of the annoyances but is no [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[15,21,8],"tags":[],"class_list":["post-958","post","type-post","status-publish","format-standard","hentry","category-astronomy-science","category-programming-2","category-tools"],"_links":{"self":[{"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/posts\/958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/comments?post=958"}],"version-history":[{"count":3,"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/posts\/958\/revisions"}],"predecessor-version":[{"id":961,"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/posts\/958\/revisions\/961"}],"wp:attachment":[{"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/media?parent=958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/categories?post=958"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bellm.org\/blog\/wp-json\/wp\/v2\/tags?post=958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}