PROCESSING

Making your own images from JWST data

Download and put your own spin on observations from the world’s largest space telescope

The author’s rendition of NGC 3132, the Southern Ring Nebula, processed from freely-available JWST data

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.

Start by searching for ‘MAST Portal’ in your web browser or visit mast.stsci.edu/portal/Mashup/Clients/Mast/Portal.html, an archive named after Barbara Mikulski, a retired US senator and staunch supporter of space exploration. Clicking on ‘Advanced search’ at the top of the page opens a new window. On the far right, type ‘JWST’ in the ‘Mission’ box and press ‘Enter’. At far left, under ‘Columns’, select ‘Release date’ and scroll down to the box of the same name. Type ‘2022-07-13 14:00:00’ as the beginning date and time – 13 July 2022 being the day on which the first observations were released to the public.

With the end date at default (the year 2050), note the number of ‘Records found’ 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 ‘2022-07-13 16:00:00’ displays a manageable 2,325 records. Clicking ‘Search’ at top left reveals the individual file folders and you’ll need to narrow the field yet again.

Under ‘Instrument’ in the ‘Filters’ box at left, choose the near-infrared data by checking ‘NIRCAM’. 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 ‘Target name’ column. Also note the ‘Filters’ 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).

Figure 1: Once you’ve homed in on the data you need, download the desired folders by clicking the little green icons
Colour choices

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 ‘Nircam’ folder, discarding all but the FITS file ending in ‘i2d.’ Double-clicking that file will open seven individual files in your program of choice, mine being PixInsight.

Of these, the seventh and last to open has a _SCI suffix and is the only file that you’ll need. When finished, you will be left with three files to post-process, each ending in ‘i2d.fits’, with the filter names f444w_f470n, f356w and f187n.

Those of us who process narrowband images will understand the concept of ‘mapping’ data that’s 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’re now dealing with Webb’s near-infrared information.

Figure 2: NIRCam filter names and the colours associated with them. Use this to help you choose the colours to assign to JWST’s near-infrared data channels

How best to assign these filters? For guidance, search online for ‘NIRCam Filters – JWST User Documentation’ or visit jwst-docs.stsci.edu/jwst-near-infrared-camera/nircam-instrumentation/nircam-filters. There you will find a full-colour graph illustrating the transmission lines of each filter from short to long wavelengths.

While there’s 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).

After marrying the channels with PixInsight’s ‘Channel combination’ process, the images were cropped of edge artefacts and stretched with ‘Histogram transformation’ (HT). Transferring a ‘Boosted autostretch’ from the STF (Screen transfer function) to HT with the RGB channels unlinked provided a great start to good colour.

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’s segmented mirror

PixInsight’s 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.

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’re a Photoshop-based processor, be sure to view Nico Carver’s excellent tutorial, ‘Can I process the JWST data better than NASA?’ on his ‘Nebula Photos’ YouTube channel (www.youtube.com/watch?v=DVuonz26P0w).

3 QUICK TIPS

1. Knowing the release date of a particular data set will help narrow your records search considerably.

2. Note that the strength of the NIRCam’s infrared signal may render noise reduction unnecessary.

3. While gathering the data is a rather tedious process, the end result is well worth the effort!

Warren Keller is an astrophotographer and image-processing educator. See www.mastersofpixinsight.com