Working with L1688

From CoolWiki
Revision as of 23:41, 13 May 2008 by Rebull (talk | contribs)
Jump to navigationJump to search

There are a LOT of things on this Wiki, very few of which are arranged linearly. The Wiki is a web, after all, so there are links interwoven all over the place. However, we do realize that this can be frustrating for new users, so here is a single analysis chain, start to finish, with the products already done so that you can step into and out of the process as you want or need.

Download the tarball with all my reduced images and data tables here.

Downloading the data

Go here and follow the tutorial to investigate what observations exist and download the data. Search on L1688. Find the AORs, download the IRAC and MIPS mosaics. The data I'm using for this example are all from pid 177, but you should investigate the coverage of the other programs too.

It turns out, though, that L1688 is part of the c2d Legacy program (pid 177 is part of that), so you may also wish to consult the page on already-reduced Spitzer data.

Making the mosaics

Go here and follow the tutorial to make the mosaics from the post-BCD pieces you have downloaded.

Mosaics from all 4 IRAC channels and 2 of the 3 MIPS channels are included in the tarball above if you wish to short-cut this process.

Getting data from other wavelengths

Go here and follow the tutorial to find data (images and data tables) at other wavelengths. Think about the questions at the end of that page as they pertain to these data.

A POSS image is included in the tarball above if you wish to short-cut this process. Reduced photometry from 2MASS is included in the data tables as well.

Investigating the mosaics

Go here and follow the tutorial (or use your own software) to explore the Spitzer mosaics as well as the mosaics at other wavelengths. Think about the questions at the end of that page as they pertain to these data.

Look for image artifacts in the mosaics - they are certainly still there. What are real features of the sky and what is a feature of the instrument and/or reduction? Which objects are saturated, in which bands?

Previously identified sources

How many of these sources are 'famous' and how many are new that you have just discovered?

Go here and follow the tutorial to explore the literature. ( Move on to these examples and questions when you're ready.) Find some old and some recent papers on L1688. For how many decades have people been studying this region? Find some of the famous objects in your images. Note that this is a pretty famous region, so it's doubtful that you will easily be able to construct a list of ALL the famous objects in this region in a short time, even using SIMBAD. Keep in mind too that people work in different coordinate systems. A paper reporting on radio data may have a slightly different coordinate system than Spitzer (which is tied to 2MASS). You will have to use your judgment to decide if any given object is really the same as the object in the Spitzer image, or if the Spitzer image didn't really detect the object.

Doing photometry

Using MOPEX to do many sources at once: Go here and get the doc file that is linked in partway down. Find the part on using Apex-1Frame. Follow that for each channel to get the photometry.

Using APT to do one source at a time: COMING SOON. If you do this, I recommend you start with a short list of famous objects from the above step.

Reduced (and bandmerged) photometry is included in the tarball above if you wish to short-cut this process, and I promise I won't think any less of you.

Questions, assuming you are using MOPEX:

  1. Compare the source extractions from any one band with its corresponding mosaic. Is it getting fooled by detector artifacts?
  2. Overlay the source extractions from, say, IRAC band 3 with the image from IRAC band 1, or the source extractions from MIPS-24 with image from IRAC band 1. Are there a lot of stars (or other objects) in common? How does the nebulosity compare?


Bandmerging the photometry

Now that you have a measurement of the brightness of each object in each frame, you need to match the same object across multiple bands, called "bandmerging." Maybe, if you used APT, you kept track of that manually. If you did the photometry automatically, you need to have the computer match the sources. Some of the sources you extracted might not even be real.

There is no GUI tool right now to bandmerge the photometry; there might be one eventually.

The code I use is written in IDL (expensive to have a site license, even for academics), and for each band, starting with 2MASS JHK, looks for matches within 1 arcsecond in IRAC-1, then IRAC-2, then IRAC-3, then IRAC-4, and then within 2 arcseconds in MIPS-1, and then within 10 arcseconds in MIPS-2. (Bonus question: why should this matching distance change?)

Bandmerged photometry (including 2MASS data!) is included in the tarball above if you wish to short-cut this process, and I promise I won't think any less of you.


Working with the data tables

I've provided the data tables in something called "IPAC table format" in the tarball above. There is a long version with many columns, and a short version with many fewer columns. Spot, Leopard, and IPAC's Skyview all understand IPAC table format. You can also import the file into Excel to play with it there. NOTE THAT there are a LOT of sources in this relatively small mosaic. You will want the computer to do as much work for you as possible - you don't want to be counting sources manually.

You can use Spot, Leopard, or IPAC's Skyview to overplot the sources onto an image of your choice. NOTE AGAIN THAT there are a LOT of sources in this relatively small mosaic. Skyview (and maybe Spot/Leopard) don't understand the full table, with all those columns; that's why I provided the "catshort" version with just positions.

Import the data table into Excel, as that's probably the easiest way for you to work with it. (DO I NEED TO WRITE A TUTORIAL ON THIS?)

A few words on working with IPAC's skyview

(skyview is also free and available for a variety of platforms. There is a manual too.) Get into Skyview and "paint" ("pa") the image into a window. Use the left mouse button to pull up a "zoom window" in the upper left. Click the right button to zoom in and the left button to zoom out. Click the middle button to reposition the view. Read in the table and mark every source with a red circle of diameter 6 px. Use the "gpi" ("graphics pick") feature to click on individual sources and have the parameters from the tbl file printed in the terminal window. (Left button to select source, right button to quit out of it.) Use "er" to erase window.

      unix% skyview
      skyview version  02/28/00  (R3.4)
        Copyright (C) 1992, California Institute of Technology.
        U.S. Government Sponsorship under NASA Contract NAS7-918 is acknowledged.
      > pa mosaic3.6long.fits
       reading file . . done
       scanning for max min . . done
       building histogram . . done
       redoing histogram . . done
       stretching from -2.190281e+00 to 2.686462e+00
      > zoom_pan
     Centered on RA = 5h07m35.69s  Dec = -6d20m44.4s
      > table extract3.6long.tbl mark $RA $Dec red circle 6
      > gpi
      mark came from line 145 of file [...]
      > er

Questions and things to try

The final catalog should include only real detections, dropping false detections that are due to cosmic rays or other instrumental effects. (If you are constructing your own catalog, you will probably want to drop objects seen in just one band.)

  1. How many stars are detected in each band? Is this about what you expected based on your answer to the questions in the mosaic section above? HINT: you can do this using Excel, you don't need to count these manually!! Ask if you need a further hint on exactly how to do this.
  2. Which stars in the catalog are the stars identified in the literature?
  3. Read about Spitzer units and then make sure that you understand the difference between flux and magnitudes. Check my unit conversion - or do the unit conversion yourself if you are working on your own. Make sure you understand how I got the magnitudes from the fluxes (or the fluxes from the magnitudes). You will need magnitudes for the next step, and fluxes for the step after that.

Making color-color and color-magnitude plots

Read about color-magnitude and color-color plots in general here first.