F
: flux per unit frequency.
F
: flux per unit wavelength.
Similarly, intensity and luminosity can be given per unit wavelength (or
frequency). Note that a constant F
implies a non-constant
F
and vice versa!
where d
is the solid angle element, and the integration is over the
entire solid angle.
The luminosity is the intrinsic energy emitted by the source per second. Thus we can also consider it as the power. For an isotropically emitting source,
where d = distance to source.
In astronomy, however, magnitude units are often used instead of flux units, where the two are related by:
or
where the coefficient of proportionality, F0 , depends on the definition of photometric system; often, the quantity -2.5 log F0 is known as the zeropoint. Inverting, one gets:
Note that it is possible that F0 is a function of wavelength!
Note that since magnitudes are logarithmic, the difference between magnitudes corresponds to a ratio of fluxes; ratios of magnitudes are generally unphysical! If one is just doing relative measurements of brightness, this can be done without knowledge of F0 (or the zeropoint). Often people talk about instrumental magnitudes, -2.5 log F ; this is ``instrumental" because it clearly depends on what instrument (and conditions) you are observing under (e.g. size of telescope, efficiency of telescope/detector, etc.).
The flux density for astronomical objects may be specified by a monochromatic magnitude:
We start by describing two simple photometric systems, the STMAG and the ABNU mag system, which are conceptually easy; however, they are not currently the most widely used system in astronomy!
In the STMAG system, F0 = 3.60E - 9ergs/cm2/s/Å , which is the flux of Vega at 5500Å ; hence a star of Vega's brightness at 5500Å is defined to have m=0. Alternatively, we can write
(for F
In the ABNU system, things are defined for F
instead of F
,
and we have
or
(for F
Related are integrated (over a spectral bandpass) magnitude systems;
the STMAG and ABMAG integrated systems are defined relative to sources of
constant F
and F
systems, respectively.
(the factor of
Note that these systems differ by more than a constant, because one is
defined by units of F
and the other by F
, so the difference
between the systems is a function of wavelength.
The standard UBVRI broadband photometric system, as well as several other
magnitude systems, however, are not defined for a constant F
or F
spectrum; rather, they are defined relative to the spectrum
of an A0V star. Most systems are defined (or at least were originally)
to have the magnitude of Vega be zero in all bandpasses (VEGAMAGS); if
you ever get into this in detail, note that this is not exactly true
for the UBVRI system.
For the broadband UBVRI system, we have
(as above, the factor of
Here is a plot to demonstrate the difference between the different systems.
Why do the different systems exist? While it seems that STMAG and ABNU systems are more straightforward, in practice it is difficult to measure absolute fluxes, and much easier to measure relative fluxes between objects. Hence, historically observations were tied to observations of Vega (or to stars which themselves were tied to Vega), so VEGAMAGS made sense, and the issue of determining physical fluxes boiled down to measuring the physical flux of Vega. Today, in some cases, it may be more accurate to measure the absolute throughput of an instrumental system, and using STMAG or ABNU makes more sense.
Working in magnitudes, the difference in magnitudes between different bandpasses (called the color index) is related to the flux ratio between the bandpasses, i.e., the color. In the UBVRI system, the difference between magnitudes gives the ratio of the fluxes in different bandpasses relative to the ratio of the fluxes of an A0V star in the different bandpasses (for VEGAMAG). Note the typical colors of astronomical objects - which are different for the different photometric systems!
Given UBVRI magnitudes of an object in the desired band, filter profiles (e.g. Bessell 1990, PASP 102,1181), and absolute spectrophotometry of Vega (e.g., Bohlin & Gilliland 2004, AJ 127, 3508, one can determine the flux. Alternatively, if one is given just the V magnitude of an object, a spectral energy distribution (SED), and the filter profiles, one can compute the integral of the SED over the V bandpass, determine the scaling by comparing with the integral of the Vega spectrum over the same bandpass, then use the normalized SED to compute the flux in any desired bandpass. Some possibly useful references for SEDs are: Bruzual, Persson, Gunn, & Stryker; Hunter, Christian, & Jacoby; Kurucz).
Things are certainly a bit simpler in the ABNU or STMAG system, and there has been some movement in this direction: the STScI gives STMAG calibrations for HST instruments, and the SDSS photometric system is close to an ABNU system.
Note, however, that even when the systems are conceptually well defined, determining the absolute calibration of any photometric system is very difficult in reality, and determining absolute fluxes to the 1% level is very challenging.
Note that some people, in particular, the SDSS, have adopted a modified type of magnitudes, called asinh magnitudes, which behave like normal (also known as Pogson) magnitude for brighter objects, but have different behavior for faint objects; see Lupton, Gunn, & Szalay 1999 AJ 118, 1406 for details.
The intrinsic photon flux from the source is not trivial to determine from the number of photons that you count. To get the number of photons that you count in an observation, you need to take into account the area of your photon collector (telescope), photon losses and gains from the Earth's atmosphere (which changes with conditions), and the efficiency of your collection/detection apparatus (which can change with time). Generally, the astronomical signal (which might be a flux or a surface brightness, depending on whether the object is resolved) can be written
where T is the telescope collecting area, t is the integration time, a
Usually, however, one doesn't use this information to go backward
from S to F
because it is very difficult to measure all
of the terms precisely, and some of them (e.g. a and q are
time-variable). Instead, most observations are performed
differentially to a set of standard stars, which themselves have
been (usually painfully) calibrated. We'll discuss this process in
more depth later. Note that even this requires correcting for different
atmospheric transmission between object(s) and standard(s). Sometimes
just relative brightness between an object and another object in the
field is measured (differential photometry), which is sufficient for
variability studies, or even for absolute studies if the reference
object is relatively bright and can have its absolute brightness
determined at some other time (photometric weather) relatively quickly.
The count equation is used, however, very commonly, for computing the approximate number of photons you will receive from a given source in a given amount of time for a given observational setup. This number is critical to know in order to estimate your expected errors and exposure times in observing proposals, observing runs, etc. Understanding errors in absolutely critical in all sciences, and maybe even more so in astronomy, where objects are faint, photons are scarce, and errors are not at all insignificant. The count equation provides the basis for exposure time calculator (ETC) programs.
For a given rate of emitted photons, there's a probability function which gives the number of photons we detect, even assuming 100% detection efficiency, because of statistical uncertainties. In addition, there may also be instrumental uncertainties. Consequently, we now turn to the concepts of probability distributions, with particular interest in the distribution which applies to the detection of photons.
Distributions and characteristics thereof
Some definitions relating to values which characterize a distribution:
median : mid-point value.
mode : most probable value
Note that the geometric interpretation of above quantities depends on the nature of the distribution; although we all carry around the picture of the mean and the variance for a Gaussian distribution, these pictures are not applicable to other distributions, but the quantities are still well-defined.
Also, note that there is a difference between the sample mean, variance, etc. and the population quantities. The latter apply to the true distribution, while the former are estimates of the latter from some finite sample (N measurements) of the population. The sample quantities are derived from:
The sample mean and variance approach the true mean and variance as N approaches infinity. But note for small samples, your estimate of the mean and variance may differ from their true (population) values (more below)!
Now we consider what distribution is appropriate for the detection of photons. The photon distribution can be derived from the binomial distribution, which gives the probability of observing the number, x , of some possible event, given a total number of events n , and the probability of observing the particular event (among all other possibilities) in any single event, p :
For the binomial distribution, one can derive:
The Poisson distribution
In the case of detecting photons, n is the total number of photons emitted, and p is the probability of detecting a photon during our observation out of the total emitted. We don't know either of these numbers! However, we do know that p < < 1 and we know, or at least we can estimate, the mean number detected:
.
In this limit, the binomial distribution asymtotically approaches the Poisson distribution:
From the expressions for the binomial distribution in this limit,
the mean of the distribution is
, and the variance is
This is an important result.
Note that the Poisson distribution is generally the appropriate distribution not only for counting photons, but for any sort of counting experiment where a series of events occurs with a known average rate, and are independent of time since the last event.
What does the Poisson distribution look like?
Plots
for
= 2,
= 10,
= 10000 .
The normal, or Gaussian, distribution
Note, for large
, the Poisson distribution is well-approximated around
the peak by a Gaussian, or normal distribution:
This is important because it allows us to use ``simple'' least squares techniques to fit observational data, because these generally assume normally distributed data. However, beware that in the tails of the distribution, and at low mean rates, the Poisson distribution can differ significantly from a Gaussian distribution. In these cases, least-squares may not be appropriate to model observational data; instead, one might need to consider maximum likelihood techniques instead.
The normal distribution is also important because many physical variables seem to be distributed accordingly. This may not be an accident because of the central limit theorem: if a quantity depends on a number of independent random variables with ANY distribution, the quantity itself will be distributed normally (see statistics texts). In observations, we encounter the normal distribution because one important source of instrumental noise, readout noise, is distributed normally.
Importance of error distribution analysis
You need to understand the expected errors in your observations in order to:
Confidence levels
For example, say we want to know whether some single point is consistent with expectations, e.g., we see a bright point in multiple measurements of a star, and want to know whether the star flared. Say we have a time sequence with known mean and variance, and we obtain a new point, and want to know whether it is consistent with known distribution?
If the form of the probability distribution is known, then you can calculate the probability of getting a measurement more than some observed distance from the mean. In the case where the observed distribution is Gaussian (or approximately so), this is done using the error function (sometimes called erf(x)), which is the integral of a gaussian from some starting value.
Some simple guidelines to keep in mind follow (the actual situation often
requires more sophisticated statistical tests). First, for
Gaussian distributions, you can calculate that 68% of the points
should fall within plus or minus one sigma from the mean, and 95.3%
between plus or minus two sigma from the mean. Thus, if you have a
time line of photon fluxes for a star, with N observed points, and a
photon noise
on each measurement, you can test whether the
number of points deviating more than 2
from the mean is much
larger than expected. To decide whether any single point is really
significantly different, you might want to use more stringent criterion,
e.g., 5
rather than a 2
criterion; a 5
has much
higher level of significance. On the other hand, if you have far more points
in the range
2 - -4
brighter or fainter than you would expect,
you may also have a significant detection of intensity variations
(provided you really understand your uncertainties on the measurements!).
Also, note that your observed distribution should be consistent with
your error estimates given the above guidelines. If you have a whole
set of points, that all fall within 1
of each other, something
is wrong with your error estimates (or perhaps your measurements are
correlated with each other)!
Signal noise
Astronomers often describe errors in terms of the fractional error, e.g. the amplitude of the error divided by the amplitude of the quantity being measured; often, the inverse of this, referred to as the signal-to-noise ratio is used. Given an estimate the number of photons expected from an object in an observation, we can calulate the signal-to-noise ratio:
which is the inverse of the predicted fractional error (N/S ).
Consider an object with photon flux (per unit area and time), S
,
leading to a signal,
S = S
Tt where T is the telescope area and
t is the exposure time. In the simplest case, the only noise source
is Poisson statistics from the source, in which case:
In other words, the S/N increases as the square root of the object brightness, telescope area, efficiency, or exposure time. Note that S is directly observable, so one can calculate the S/N for an observation without knowing the telescope area or exposure time! We've just broken S down so that you can specifically see the dependence on telescope area and/or exposure time.
Background noise
A more realistic case includes the noise contributed from Poisson
statistics of background light (more on the physical nature of this
later), B
, which has
units of flux per area on the sky (i.e. a surface brightness); note
that this is also usually given in magnitudes.
The amount of background in our measurement depends on how we choose to make the measurement (how much sky area we observe). Say we just use an aperture with area, A , so the total observed background counts is
Again, B
The total number of photons observed, O , is
The variance of the total observed counts, from Poisson statistics, is:
To get the desired signal from the object only , we will need to measure separately the total signal and the background signal to estimate:
where B is some estimate we have obtained of the background level multiplied by the area A ( B = B
where the approximation is accurate if the background is determined to high accuracy, which one can do if one measures the background over a large area, thus getting a large number of background counts (with correspondingly small fractional error in the measurement).
This leads to a common form of the noise equation:
Breaking out the dependence on exposure time and telescope area, this is:
In the signal-limited
case,
S
> > B
A , we get
In the background limited case, B
As one goes to fainter objects, the S/N drop, and it drops faster when you're background limited. This illustrates the importance of dark-sky sites, and also the importance of good image quality.
Consider two telescopes of collecting area, T1 and T2 . If we observe for the same exposure time on each and want to know how much fainter we can see with the larger telescope at a given S/N, we find:
for the signal-limited case, but
for the background-limited case.
Instrumental noise
In addition to the errors from Poisson statistics (statistical noise),
there may be additional terms from instrumental errors. A common example
of this that is applicable for CCD detectors is readout noise, which
is additive noise (with zero mean) that comes from the detector and
is independent of signal level. For a detector whose readout noise is
characterized by
,
if a measurement is made in a single pixel. If an object is spread over Npix pixels, then
For large
, the behavior is the same as the background
limited case. This makes it clear that if you have readout noise, image
quality (and/or proper optics to keep an object from covering too many pixels)
is important for maximizing S/N. It is also clear that it
is critical to have minimum read-noise for low background applications
(e.g., spectroscopy).
There are other possible additional terms in the noise equation, arising from things like dark current, digitization noise, errors in sky determination, errors from photometric technique, etc. (we'll discuss some of these later on), but in most applications, the three sources discussed so far - signal noise, background noise, and readout noise - are the dominant noise sources.
So now we know how to estimate uncertainties of observed count rates. Let's say we want to make some calculations (e.g., calibration, unit conversion, averaging, conversion to magnitudes, calculation of colors, etc.) using these observations: we need to be able to estimate the uncertainties in the calculated quantities that depend on our measured quantities.
Consider what happens if you have several known quantities with known error distributions and you combine these into some new quantity: we wish to know what the error is in the new quantity.
The question is what is
As long as errors are small:
The last term is the covariance, which relates to whether errors are /textitcorrelated.
If errors are uncorrelated, then
Examples:
In this case, errors are said to add in quadrature.
Distribution of resultant errors
When propagating errors, even though you can calculate the variances in the new variables, the distribution of errors in the new variables is not, in general, the same as the distribution of errors in the original variables, e.g. if errors in individual variables are normally distributed, errors in output variable is not necessarily.
When two variables are added, however, the output is normally distributed.
We've covered errors in single measurements. Next we turn to averaging measurements. Say we have multiple observations and want the best estimate of the mean and variance of the population, e.g. multiple measurements of stellar brightness. Here we'll define the best estimate of the mean as the value which maximizes the likelihood that our estimate equals the true parent population mean.
For equal errors, this estimate just gives our normal expression for the sample mean:
Using error propagation, the estimate of the error in the sample mean is given by:
But what if errors on each observation aren't equal, say for example we have observations made with several different exposure times? Then we determine the sample mean using a:
and the estimated error in this value is given by:
= where the
This is a standard result for determining sample means from a set of observations with different weights.
However, there can sometimes be a subtlety in applying this formula, which
has to do with the question: how do we go about choosing the weights,
? We know we can estimate
using Poisson
statistics for a given count rate, but remember that this is a sample
variance (which may be based on a single observation!) not the true
variance. This can lead to biases.
Consider observations of a star made on three nights, with measurements
of 40, 50, and 60 photons. It's clear that the mean observation is
50 photons. However, beware of the being trapped by your error estimates. From each observation alone, you would estimate errors of
,
, and
. If you plug these error
estimates into a computation of the weighted mean, you'll get a mean
rate of 48.64!
Using the individual estimates of the variances, we'll bias values to lower rates, since these will have estimated higher S/N.
Note that it's pretty obvious from this example that you should just weight all observations equally. However, note that this certainly isn't always the right thing to do. For example, consider the situation in which you have three exposures of different exposure times. Here you clearly want to give the longer exposures higher weight. In this case, you again don't want to use the individual error estimates or you'll introduce a bias. There is a simple solution here also: just weight the observations by the exposure time. This works fine for Poisson errors (variances proportional to count rate), but not if there are instrumental errors as well which don't scale with exposure time. For example, the presence of readout noise can have this effect. With readout noise, the longer exposures should be weighted even higher than expected for the exposure time ratios. The only way to properly average measurements in this case is to estimate a sample mean, then use this value scaled to the appropriate exposure times as the input for the Poisson errors.
Can you split exposures?
Although from S/N considerations, one can determine the required number of counts you need (exposure time) to do your science, when observing, one must also consider the question of whether this time should be collected in single or in multiple exposures, i.e. how long individual exposures should be. There are several reasons why one might imagine that it is nicer to have a sequence of shorter exposures rather than one single longer exposure (e.g., tracking, monitoring of photometric conditions, cosmic ray rejection), so we need to consider whether doing this results in poorer S/N.
Consider the object with photon flux S
, background surface brightness
B
,
and detector with readout noise
. A single short
exposure of time t has a variance:
If N exposures are summed, the resulting variance will be
If a single long exposure of length Nt is taken, we get
The ratio of the noises, or the inverse ratio of the S/N (since the total signal measured is the same in both cases), is
In the signal- or background-limited regimes, exposures can be added with no loss of S/N. However, if readout noise is significant, then splitting exposures leads to reduced S/N.
So far, we've been discussing random errors. There is an additional, usually more troublesome, type of errors known as systematic errors. These don't occur randomly but rather are correlated with some, possibly unknown, variable relating to your observations.
EXAMPLE : flat fielding
EXAMPLE : WFPC2 CTE
Note also that in some cases, systematic errors can masquerade as random errors in your test observations (or be missing altogether if you don't take data in exactly the same way), but actually be systematic in your science observations.
EXAMPLE: flat fielding, subpixel QE variations.
Note that error analysis from expected random errors may be the only clue you get to discovering systematic errors. To discover systematic errors, plot residuals vs. everything!