Creative Commons License Copyright © Michael Richmond. This work is licensed under a Creative Commons License.

Magnitudes, light curves, and uncertainty

Today's lab exercise should be carried out in pairs, ideally, but it's okay to do it by yourself or in a group of three.

In order to gain credit for this exercise, you must create a PDF document which provides the answers to all the questions. Submit the PDF to the instructor via the "Assignments" tab in myCourses.

In order to carry out the tasks in this exercise, you will need several tools:

You may use a spreadsheet of some sort, or you may try one of a large number of programs designed for the analysis of datasets. Some students can make very nice plots using Python and matplotlib. I prefer to use this tool:


The input data

You will eventually use our telescopes and cameras to take a set of images of your target star on one or two nights. There will be LOT of images -- maybe 100 to 400. You'll use a program called AstroImageJ to display and process these images, and then to measure the brightness of stars in those images. At the end of the work, you'll have a big datafile with many, many columns of numbers.

Today, we'll practice on a much simpler dataset. The files you will use as input for your work are plain ASCII text files with a format like this:



# measurements of the intensity of three stars 
# JulianDay             A           B           C 
# 
2459610.00000     1011.01      835.21      166.78  
2459610.00139      997.21      861.85      150.97  
2459610.00278     1005.10      855.06      174.02  
2459610.00417      995.70      858.74      162.25  

There are four columns: the first records the time when the image was taken, in the form of a Julian Date. The good news is that using Julian Dates to keep track of time makes many calculations convenient -- the number just increases by 1 for every day that passes. We don't have to remember how many days are in September, or how to handle leap years. The bad news is that Julian Day values are large numbers, so they can sometimes look awkward on graphs.

That's a hint that your graph might be given a better score if it somehow shows the JD values in a clean manner.

The following columns are simply measures of the brightness of three stars, in INTENSITY units. In other words, something like "how many photons from this star struck the camera during the exposure?" If star A is twice as bright as star B, then its intensity value in this datafile will be twice as large. Simple.

Here's a link to the first datafile you will analyze today.


Computing some statistics

  1. Your first job is to compute the mean and standard deviation of each star's intensity. Write your results in a simple table, like this:
    
    
    				 Star            mean intensity     stdev of intensity
    		  -----------------------------------------------------------
    				  A
    				  B
    				  C
    		  -----------------------------------------------------------
    
    		  
  2. Based on these values, which star do you think has been measured most precisely? Explain your reasoning.


Making a first light curve

Your next job is to create a simple light curve. This is simply a graph showing the brightness of each star as a function of time. Create a single graph which has intensity on the Y-axis and time on the X-axis. On this graph, plot the measurements for each star, using dots/symbols for each measurement; do NOT connect the data with lines. Make sure that your graph clearly indicates which symbols belong to star A, B, and C.

  1. Make a light curve, showing intensity as a function of time.
  2. Look at this graph. Based on the visual appearance, which star appears to be measured MOST precisely, and which LEAST precisely?
  3. How does your answer to item D compare to your answer to item B?


Converting intensities to magnitudes

When astronomers want to compare their results, they convert optical measurements to magnitudes. There are many steps involved in this procedure, but we'll look at a simplified version for this exercise. You will convert each measurement of intensity into an instrumental magnitude using the following equation:

Use this equation to convert all the measurements of intensity into instrumental magnitudes. Then, use those magnitude values in the following steps:

  1. Make a new table which shows the mean and standard deviation of each star's MAGNITUDE measurements.
    
    
    				 Star            mean mag      stdev of mag
    		  -----------------------------------------------------------
    				  A
    				  B
    				  C
    		  -----------------------------------------------------------
    
    		  
  2. Based on these values, which star do you think has been measured most precisely? Explain your reasoning.


Making a light curve with magnitudes

Your next job is to create another light curve. This time, however, instead of placing intensity on the Y-axis, you must plot the instrumental magnitude values on the Y-axis.

In order to put the brightest star at the top of the graph (for easy comparison with the intensity graph), you will need to REVERSE the order of the Y-axis: large magnitude values should appear at the BOTTOM of the graph, and small magnitude values at the TOP.

  1. Make a light curve, showing magnitude as a function of time.
  2. Look at this graph. Based on the visual appearance, which star appears to be measured MOST precisely, and which LEAST precisely?
  3. How does your answer to item I compare to your answer to item G?


Resolving the puzzle

At this point, you may be a bit puzzled -- just what is the right way to estimate the precision of a measurement? Or, to put it another way, how can we really determine the uncertainty in a measurement, or a series of measurements?

One very good way to compare uncertainties is to put them into a relative form. Instead of talking about the actual value of standard deviation in the intensity of a star, one might express it in PERCENTAGE terms. In other words, one might compute

  1. Using your values for the mean and standard deviation of the INTENSITY of each star, compute a percentage uncertainty in the mean value. Write your results in a table:
    
    
        Star    mean intensity     stdev of intensity     percent uncertainty
      -------------------------------------------------------------------------
         A
         B
         C
      -------------------------------------------------------------------------
    
    		  
  2. Compare these percentage uncertainty values to the standard deviation in the magnitude measurements. Comment.
  3. Which do you think is a better way to make light curves: using intensity, or magnitudes? Explain your answer.


For more information

Creative Commons License Copyright © Michael Richmond. This work is licensed under a Creative Commons License.