{"id":1791,"date":"2021-06-26T11:29:11","date_gmt":"2021-06-26T04:29:11","guid":{"rendered":"http:\/\/vietweather.com\/?p=1791"},"modified":"2021-06-26T11:29:11","modified_gmt":"2021-06-26T04:29:11","slug":"how-to-process-data-from-the-hubble-legacy-archive","status":"publish","type":"post","link":"https:\/\/vietweather.com\/index.php\/how-to-process-data-from-the-hubble-legacy-archive\/","title":{"rendered":"How To Process Data From The Hubble Legacy Archive"},"content":{"rendered":"<h1 class=\"single_title\">How To Process Data From The Hubble Legacy Archive<\/h1>\n<p>&#8220;<a href=\"https:\/\/gadgetzz.com\/2014\/12\/02\/how-to-process-data-from-the-hubble-legacy-archive\/\">How To Process Data From The Hubble Legacy Archive (gadgetzz.com)<\/a>&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p>Did you know that anyone can get raw data from the Hubble space telescope? Now you do!<br \/>\nAnd here is how to turn this raw data into those beautiful Hubble images that we have all come to love.<\/p>\n<div class=\"usZ4FT8u\">\n<div class=\"cfmonitor\"><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p><em>\u00a0It\u2019s great practice for amateur astronomers as the process is the same with your own data if you use narrowband filters. Besides, a lot of the raw data from hubble hasn\u2019t been fully utilized, and on some targets you could make a better image than there currently is!<\/em><\/p>\n<p>To do this you need Photoshop and at least basic skills using it. This is\u00a0way harder than it looks!<\/p>\n<p>I will only be showing you how to combine the black and white exposures of different wavelengths into full color images. To get accurate colors and to work out details you still need to be pretty good with Photoshop<\/p>\n<p>&nbsp;<\/p>\n<p>Also before you can start getting data from the Hubble legacy archive you need a program to convert the raw (FITS) files into workable images. You can get that\u00a0<a href=\"http:\/\/www.spacetelescope.org\/projects\/fits_liberator\/\" target=\"_blank\" rel=\"noopener noreferrer\">here.<\/a><\/p>\n<p>When you have that installed you can go search for an object in the archive.<\/p>\n<p>Some targets are easier than others, some require stitching together many incomplete frames and much more detail work. Don\u2019t just go for the first thing that pops in your head, the Andromeda galaxy or the Orion nebula are hard objects and the data has already been utilized to it\u2019s full potential. For this example I\u2019ll be using ARP 147 because there are only three different wavelength exposures which makes the RGB conversion relatively simple.<\/p>\n<p><a href=\"http:\/\/hla.stsci.edu\/hlaview.html\" target=\"_blank\" rel=\"noopener noreferrer\">The Hubble Legacy Archive<\/a><\/p>\n<p>(<a href=\"https:\/\/hla.stsci.edu\/hlaview.html\">Hubble Legacy Archive (stsci.edu)<\/a>)<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1793\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-archive-how-to.jpg\" alt=\"\" width=\"600\" height=\"488\" srcset=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-archive-how-to.jpg 600w, https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-archive-how-to-300x244.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>When we chose what data to use we need to look under \u2018Spectral_elt\u2019 where we can see which wavelength of light was captured on that data. Lower wavelengths are redder and higher wavelengths are more blue, green is somewhere in between. We need at least one red, one green and one blue image to make a full color image.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1794\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/rgb-150x150-1.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Chose the \u2018F435W\u2019, the \u2018F814W\u2019 and the \u2018F222M\/F160W\/110W\u2019 exposures.<\/p>\n<p>&nbsp;<\/p>\n<p>If you click on \u2018Display\u2019 you can preview an exposure. Under \u2018Detector\u2019 the best choice is data from the Wide Field Planetary Cam 2 (WFPC2), but data from other detectors are also very much usable, use the display function to see if an exposure can be turned into a good image. For this example we\u2019ll be using data from the NICMOS (Near Infrared Camera and Multi-Object Spectrometer) and the ACS (Advanced Camera for Surveys).<\/p>\n<p>The first thing that surprised me when I started doing this is how.. well, shitty, the Hubble raw images are. I expected them to be glorious even unprocessed, but most of them are just noisy and with huge gaps in them. But not to worry, the data we need is still there.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1795\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/069c013cfe2f0a030d3b6d308bc4af5e.png\" alt=\"\" width=\"363\" height=\"359\" srcset=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/069c013cfe2f0a030d3b6d308bc4af5e.png 363w, https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/069c013cfe2f0a030d3b6d308bc4af5e-300x297.png 300w\" sizes=\"(max-width: 363px) 100vw, 363px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Anyway, now we can start turning those raw files into Tiff images using the FITS liberator. Just start up the program and chose the first FITS file to process.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1796\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-fits-liberator-31-300x213-1.jpg\" alt=\"\" width=\"300\" height=\"213\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>It will look something like this. Now you need to find this menu:<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1797\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/fits-liberator-arcsin.jpg\" alt=\"\" width=\"329\" height=\"286\" srcset=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/fits-liberator-arcsin.jpg 329w, https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/fits-liberator-arcsin-300x261.jpg 300w\" sizes=\"(max-width: 329px) 100vw, 329px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>This is the algorithm used to enhance the image, you can try anyone you like, but I prefer the highlighted one (ArcSinH(x)).<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1798\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/fits-liberator-algorithm.jpg\" alt=\"\" width=\"503\" height=\"188\" srcset=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/fits-liberator-algorithm.jpg 503w, https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/fits-liberator-algorithm-300x112.jpg 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now what you want to do is adjust the sliders (or numbers) for the black level and white level. Try to get out as much detail as possible and leave only a little of the background noise (we\u2019ll get rid of it later in PS)<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1799\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/processed-raw-hubble.jpg\" alt=\"\" width=\"329\" height=\"272\" srcset=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/processed-raw-hubble.jpg 329w, https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/processed-raw-hubble-300x248.jpg 300w\" sizes=\"(max-width: 329px) 100vw, 329px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Something like this should be the result, now do this for all three exposures.<\/p>\n<p>When you\u2019re done it\u2019s time to fire up photoshop and load your exposures in one document on different layers. For this example the images will already be aligned.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1800\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/nebulae.jpg\" alt=\"\" width=\"449\" height=\"376\" srcset=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/nebulae.jpg 449w, https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/nebulae-300x251.jpg 300w\" sizes=\"(max-width: 449px) 100vw, 449px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>To get rid of the last of the background noise use the Exposure tool and decrease\u00a0Offset (use numbers as the slider is too insensitive for this job).<\/p>\n<p>When you have done this to all your layers it\u2019s time to add some color<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1801\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-bw.jpg\" alt=\"\" width=\"600\" height=\"461\" srcset=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-bw.jpg 600w, https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-bw-300x231.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1802\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/rgb-hubble-photoshop.jpg\" alt=\"\" width=\"557\" height=\"321\" srcset=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/rgb-hubble-photoshop.jpg 557w, https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/rgb-hubble-photoshop-300x173.jpg 300w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Now you should have three colored images like this. (I moved them out of alignment for demonstration.) Now start changing the opacity of the layers until you have something like this:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1803\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-combined.jpg\" alt=\"\" width=\"579\" height=\"529\" srcset=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-combined.jpg 579w, https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/hubble-combined-300x274.jpg 300w\" sizes=\"(max-width: 579px) 100vw, 579px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>If you can\u2019t get the colors quite right try changing which layer is on top, or go change the colors of the individual layers using Hue\/Saturation.<\/p>\n<p>That\u2019s pretty much it, now it\u2019s up to you and your Photoshop skills to tweak the colors and sharpness. Good luck, and have fun! \ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1804\" src=\"https:\/\/vietweather.com\/wp-content\/uploads\/2021\/06\/arp147ish-300x253-1.jpg\" alt=\"\" width=\"300\" height=\"253\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>This was a fairly basic tutorial, for a more extensive explanation of the same thing check\u00a0<a href=\"http:\/\/www.spacetelescope.org\/projects\/fits_liberator\/improc\/\" target=\"_blank\" rel=\"noopener noreferrer\">this<\/a> (<a href=\"https:\/\/esahubble.org\/projects\/fits_liberator\/improc\/\">A short introduction to astronomical image processing | ESA\/Hubble | ESA\/Hubble (esahubble.org)<\/a>) out. You can also search for videos on youtube.<\/p>\n<p><a href=\"https:\/\/esahubble.org\/projects\/fits_liberator\/improc\/\">A short introduction to astronomical image processing | ESA\/Hubble | ESA\/Hubble (esahubble.org)<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How To Process Data From The Hubble Legacy Archive &#8220;How To Process Data From The Hubble Legacy Archive (gadgetzz.com)&#8221; &nbsp; Did you know that anyone can get raw data from the Hubble space telescope? Now you do! And here is how to turn this raw data into those beautiful Hubble images that we have all [&#8230;]\n","protected":false},"author":1,"featured_media":1792,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[37,20,1,35,14],"tags":[],"_links":{"self":[{"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/posts\/1791"}],"collection":[{"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/comments?post=1791"}],"version-history":[{"count":1,"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/posts\/1791\/revisions"}],"predecessor-version":[{"id":1805,"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/posts\/1791\/revisions\/1805"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/media\/1792"}],"wp:attachment":[{"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/media?parent=1791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/categories?post=1791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vietweather.com\/index.php\/wp-json\/wp\/v2\/tags?post=1791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}