{"id":37281,"date":"2022-10-20T00:00:00","date_gmt":"2022-10-20T00:00:00","guid":{"rendered":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/?post_type=purple_issue&#038;p=37281"},"modified":"2023-03-30T09:07:13","modified_gmt":"2023-03-30T09:07:13","slug":"processing-making-your-own-images-from-jwst-data","status":"publish","type":"post","link":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/2022\/10\/20\/processing-making-your-own-images-from-jwst-data\/","title":{"rendered":"Processing: Making your own images from JWST data"},"content":{"rendered":"\n<h5 class=\"has-text-align-center\"><span class=\"has-inline-color has-ccp-primary-color\">PROCESSING<\/span><\/h5>\n\n<h2 class=\"has-text-align-center\"><span class=\"has-inline-color has-ccp-black-color\">Making your own images from JWST data<\/span><\/h2>\n\n<p class=\"has-text-align-center sans-serif intro\">Download and put your own spin on observations from the world\u2019s largest space telescope <\/p>\n\n<div class=\"no-tts wp-block-image article-in-image photo\"><figure class=\"no-tts aligncenter\"><img loading=\"lazy\" width=\"1280\" height=\"1058\" src=\"https:\/\/dj9jqhxgw9833.cloudfront.net\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d.jpg\" alt=\"\" class=\"no-tts wp-image-37276\" srcset=\"https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d.jpg 1280w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d-300x248.jpg 300w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d-1024x846.jpg 1024w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d-768x635.jpg 768w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><figcaption>The author\u2019s rendition of NGC 3132, the Southern Ring Nebula, processed from freely-available JWST data  <\/figcaption><\/figure><\/div>\n\n<p class=\"article-full-body sans-serif dropcap\">We live in rather amazing times, with private citizens travelling to space and citizen scientists contributing to the knowledge base of professional astronomy. Now, just as it did with Hubble, NASA has made data from the James Webb Space Telescope (JWST) available for download, for anyone to process for themselves. Here we walk you through, step by step, how to do it. <\/p>\n\n<p class=\"article-full-body sans-serif\">Start by searching for \u2018MAST Portal\u2019 in your web browser or visit <a href=\"http:\/\/mast.stsci.edu\/portal\/Mashup\/Clients\/Mast\/Portal.html\" data-type=\"URL\" data-id=\"mast.stsci.edu\/portal\/Mashup\/Clients\/Mast\/Portal.html\">mast.stsci.edu\/portal\/Mashup\/Clients\/Mast\/Portal.html<\/a>, an archive named after Barbara Mikulski, a retired US senator and staunch supporter of space exploration. Clicking on \u2018Advanced search\u2019 at the top of the page opens a new window. On the far right, type \u2018JWST\u2019 in the \u2018Mission\u2019 box and<span> press \u2018Enter\u2019. At far left, under \u2018Columns\u2019, select \u2018Release date\u2019 and scroll down to the box of the same name. Type \u20182022-07-13 14:00:00\u2019 as the beginning date and time \u2013 13 July 2022 being the day on which the first observations were released to the public.<\/span><\/p>\n\n<p class=\"article-full-body sans-serif\">With the end date at default (the year 2050), note the number of \u2018Records found\u2019 at the top of the page. At the time of writing, there were already over 120,000 in the archive. As NGC 3132 is our target and was one of the first data sets released, entering an end date of \u20182022-07-13 16:00:00\u2019 displays a manageable 2,325 records. Clicking \u2018Search\u2019 at top left reveals the individual file folders and you\u2019ll need to narrow the field yet again. <\/p>\n\n<p class=\"article-full-body sans-serif\">Under \u2018Instrument\u2019 in the \u2018Filters\u2019 box at left, choose the near-infrared data by checking \u2018NIRCAM\u2019. Depending on the width of your monitor and browser window, you may need to use the scroll bar at the bottom to slide over to the \u2018Target name\u2019 column. Also note the \u2018Filters\u2019 column. I found F187N, F356W and F444W to be the most useful filters. Click on the floppy disc icons of records 13, 15 and 18 to download the zipped folders to your computer (see Figure 1). <\/p>\n\n<div class=\"no-tts wp-block-image article-in-image photo\"><figure class=\"no-tts aligncenter size-large\"><img loading=\"lazy\" width=\"1024\" height=\"639\" src=\"https:\/\/dj9jqhxgw9833.cloudfront.net\/uploads\/sites\/77\/2022\/10\/Fig.-2_AdvSearch-1024x639.jpg\" alt=\"\" class=\"no-tts wp-image-37442\" srcset=\"https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-2_AdvSearch-1024x639.jpg 1024w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-2_AdvSearch-300x187.jpg 300w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-2_AdvSearch-768x479.jpg 768w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-2_AdvSearch.jpg 1256w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Figure 1: Once you\u2019ve homed in on the data you need, download the desired folders by clicking the little green icons <\/figcaption><\/figure><\/div>\n\n<h5 class=\"sans-serif article-subhead\"><strong>Colour choices <\/strong><\/h5>\n\n<p class=\"article-full-body sans-serif\">Unzip the folder to a suitable location on your computer then open the parent folder, then a second folder with the same name and, finally, the JWST directory. Next, open the \u2018Nircam\u2019 folder, discarding all but the FITS file ending in \u2018i2d.\u2019 Double-clicking that file will open seven individual files in your program of choice, mine being PixInsight. <\/p>\n\n<p class=\"article-full-body sans-serif\">Of these, the seventh and last to open has a _SCI suffix and is the only file that you\u2019ll need. When finished, you will be left with three files to post-process, each ending in \u2018i2d.fits\u2019, with the filter names f444w_f470n, f356w and f187n. <\/p>\n\n<p class=\"article-full-body sans-serif\">Those of us who process narrowband images will understand the concept of \u2018mapping\u2019 data that\u2019s invisible to the human eye to colours that we can perceive. The same is true here. Rather than the emission lines of the Hubble palette, we\u2019re now dealing with Webb\u2019s near-infrared information. <\/p>\n\n<div class=\"no-tts wp-block-image\"><figure class=\"no-tts aligncenter size-large\"><img loading=\"lazy\" width=\"1024\" height=\"801\" src=\"https:\/\/dj9jqhxgw9833.cloudfront.net\/uploads\/sites\/77\/2022\/10\/Fig.-3_NIRCam-Filters-1024x801.jpg\" alt=\"\" class=\"no-tts wp-image-37443\" srcset=\"https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-3_NIRCam-Filters-1024x801.jpg 1024w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-3_NIRCam-Filters-300x235.jpg 300w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-3_NIRCam-Filters-768x601.jpg 768w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-3_NIRCam-Filters-1536x1202.jpg 1536w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-3_NIRCam-Filters-2048x1603.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption> Figure 2: NIRCam filter names and the colours associated with them. Use this to help you choose the colours to assign to JWST\u2019s near-infrared data channels <\/figcaption><\/figure><\/div>\n\n<p class=\"article-full-body sans-serif\">How best to assign these filters? For guidance, search online for \u2018NIRCam Filters \u2013 JWST User Documentation\u2019 or visit <a href=\"http:\/\/jwst-docs.stsci.edu\/jwst-near-infrared-camera\/nircam-instrumentation\/nircam-filters\" data-type=\"URL\" data-id=\"jwst-docs.stsci.edu\/jwst-near-infrared-camera\/nircam-instrumentation\/nircam-filters\">jwst-docs.stsci.edu\/jwst-near-infrared-camera\/nircam-instrumentation\/nircam-filters<\/a>. There you will find a full-colour graph illustrating the transmission lines of each filter from short to long wavelengths. <\/p>\n\n<p class=\"article-full-body sans-serif\">While there\u2019s no single, correct way to proceed, it made sense to me to assign the shortest wavelength data (F187N) to the blue channel, as blue is on the shorter end of the visible spectrum. Conversely, I mapped the long wavelength F470N data to red and the medium F356W to green. I found this to be the most aesthetically pleasing colour blend for this particular object, and strikingly similar to the Hubble SHO palette (see Figure 2). <\/p>\n\n<p class=\"article-full-body sans-serif\">After marrying the channels with PixInsight\u2019s \u2018Channel combination\u2019 process, the images were cropped of edge artefacts and stretched with \u2018Histogram transformation\u2019 (HT). Transferring a \u2018Boosted autostretch\u2019 from the STF (Screen transfer function) to HT with the RGB channels unlinked provided a great start to good colour. <\/p>\n\n<div class=\"no-tts wp-block-image\"><figure class=\"no-tts aligncenter size-large\"><img loading=\"lazy\" width=\"963\" height=\"1024\" src=\"https:\/\/dj9jqhxgw9833.cloudfront.net\/uploads\/sites\/77\/2022\/10\/Fig.-4_SCNR-963x1024.jpg\" alt=\"\" class=\"no-tts wp-image-37444\" srcset=\"https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-4_SCNR-963x1024.jpg 963w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-4_SCNR-282x300.jpg 282w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-4_SCNR-768x816.jpg 768w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Fig.-4_SCNR.jpg 986w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><figcaption>Figure 3: SCNR in PixInsight was used to remove an overly green cast from the stars. The odd diffraction spikes are a result of JWST\u2019s segmented mirror <\/figcaption><\/figure><\/div>\n\n<p class=\"article-full-body sans-serif\">PixInsight\u2019s SCNR (Subtractive chromatic noise reduction) was then applied to reduce an undesirable green cast in the stars (see Figure 3). From there, a range mask was applied, so that contrast, sharpness and colour saturation could be boosted in the nebula only. <\/p>\n\n<p class=\"article-full-body sans-serif\">As the data was so clean, no noise reduction was needed for our final image, which you can see at the top of the page. If you\u2019re a Photoshop-based processor, be sure to view Nico Carver\u2019s excellent tutorial, \u2018Can I process the JWST data better than NASA?\u2019 on his \u2018Nebula Photos\u2019 YouTube channel (<a href=\"http:\/\/www.youtube.com\/watch?v=DVuonz26P0w\">www.youtube.com\/watch?v=DVuonz26P0w<\/a>). <\/p>\n\n<section class=\"wp-block-uagb-section uagb-section__wrap uagb-section__background-color uagb-block-e274670b-e74c-426a-b24b-5544f1186fb3 article-boxout\"><div class=\"uagb-section__overlay\"><\/div><div class=\"uagb-section__inner-wrap\">\n<h5 class=\"sans-serif article-subhead\">3 QUICK TIPS <\/h5>\n\n\n\n<p class=\"article-full-body sans-serif\"><strong>1. <\/strong>Knowing the release date of a particular data set will help narrow your records search considerably. <\/p>\n\n\n\n<p class=\"article-full-body sans-serif\"><strong>2. <\/strong>Note that the strength of the NIRCam\u2019s infrared signal may render noise reduction unnecessary. <\/p>\n\n\n\n<p class=\"article-full-body sans-serif\"><strong>3. <\/strong>While gathering the data is a rather tedious process, the end result is well worth the effort! <\/p>\n<\/div><\/section>\n\n<div class=\"no-tts wp-block-image article-in-image photo\"><figure class=\"no-tts alignleft size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/dj9jqhxgw9833.cloudfront.net\/uploads\/sites\/77\/2022\/10\/Layer-16-1024x1024.png\" alt=\"\" class=\"no-tts wp-image-37447\" width=\"90\" height=\"90\" srcset=\"https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Layer-16-1024x1024.png 1024w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Layer-16-300x300.png 300w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Layer-16-150x150.png 150w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Layer-16-768x768.png 768w, https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/Layer-16.png 1441w\" sizes=\"(max-width: 90px) 100vw, 90px\" \/><\/figure><\/div>\n\n<p>Warren Keller is an astrophotographer and image-processing educator. See <a href=\"http:\/\/www.mastersofpixinsight.com\" data-type=\"URL\" data-id=\"www.mastersofpixinsight.com\">www.mastersofpixinsight.com<\/a><\/p>\n\n<p><\/p>\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"no-tts wp-block-spacer tenspacer\"><\/div>\n\n<p class=\"footer\">ALL PICTURES: WARREN KELLER\/NASA\/ESA\/CSA\/STSCI, NIRCAM FILTERS CHART COURTESY OF THE SPACE TELESCOPE SCIENCE INSTITUTE<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download and put your own spin on observations from the world\u2019s largest space telescope <\/p>\n","protected":false},"author":24,"featured_media":37276,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","purple_page_number":"78","purple_custom_meta_purple_page_number":"78","purple_seq_number":"1","purple_custom_meta_purple_seq_number":"1","purple_source_article":"article_78-1.xml","purple_custom_meta_purple_source_article":"article_78-1.xml","purple_source_issue":"November-2022","purple_custom_meta_purple_source_issue":"November-2022","purple_external_id":"November-2022-78-1","purple_custom_meta_purple_external_id":"November-2022-78-1","purple_issue_code":"|0000086558||","purple_custom_meta_purple_issue_code":"|0000086558||","purple_android_product":"com.im.skyatnight.210","purple_custom_meta_purple_android_product":"com.im.skyatnight.210","purple_ios_product":"com.im.skyatnight.210","purple_custom_meta_purple_ios_product":"com.im.skyatnight.210","purple_web_product":"","purple_custom_meta_purple_web_product":"","purple_publication_id":"075fab74-0a21-4201-866a-899d6c41c40c","purple_migrated":"","kt_blocks_editor_width":""},"categories":[34],"tags":[14],"featured_image_src":"https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d.jpg","author_info":{"display_name":"importmanagerhub@sprylab.com","author_link":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/author\/importmanagerhubsprylab-com\/"},"acf":{"readingTimeMinutes":"5","apple_news_title":""},"uagb_featured_image_src":{"full":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d.jpg",1280,1058,false],"thumbnail":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d-150x150.jpg",150,150,true],"medium":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d-300x248.jpg",300,248,true],"medium_large":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d-768x635.jpg",768,635,true],"large":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d-1024x846.jpg",800,661,true],"1536x1536":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d.jpg",1280,1058,false],"2048x2048":["https:\/\/c01.purpledshub.com\/uploads\/sites\/77\/2022\/10\/a5584773-ef5f-4f6f-864e-ca50dec8124d.jpg",1280,1058,false]},"uagb_author_info":{"display_name":"importmanagerhub@sprylab.com","author_link":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/author\/importmanagerhubsprylab-com\/"},"uagb_comment_info":0,"uagb_excerpt":"Download and put your own spin on observations from the world\u2019s largest space telescope","_links":{"self":[{"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/posts\/37281"}],"collection":[{"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/comments?post=37281"}],"version-history":[{"count":8,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/posts\/37281\/revisions"}],"predecessor-version":[{"id":38453,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/posts\/37281\/revisions\/38453"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/media\/37276"}],"wp:attachment":[{"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/media?parent=37281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/categories?post=37281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c01.purpledshub.com\/bbcskyatnight\/wp-json\/wp\/v2\/tags?post=37281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}