next up previous contents
Next: Events & Event lists Up: ACIS-2C HSHST Products Previous: Summary of Staggered Data

Average Bias

As part of the start up procedure for each test, a set of unexposed raw frames will be captured. These raw bias frames will be used to determine the nominal offset that will be subtracted from each pixel during event detection.

The algorithm used to compute the average bias image (or map) is the `mean bias clip' algorithm that J. Woo developed, which is described below:

1.
Find the median and standard deviation of every pixel thru all n raw bias frames.
\begin{displaymath}
\tilde{p}(x,y)={\rm median}_n(p(x,y,n))\end{displaymath} (1)

\begin{displaymath}
\hat{p}(x,y)=\frac{1}{N}\sum_{n=1}^{N} p(x,y,n)\end{displaymath} (2)

\begin{displaymath}
\sigma^{2} (x,y)=\frac{1}{N-1}\sum_{n=1}^{N} \left( \hat{p}(x,y) - p(x,y,n) \right) ^2\end{displaymath} (3)

2.
Compute the average value of every pixel, $\hat{p}(x,y)$, discarding pixels that are 3 times the standard deviation above the median value.

\begin{displaymath}
{\cal{S}}(x,y) = \left\{ n : p(x,y,n) \leq \tilde{p}(x,y) + 3 \sigma(x,y) \right\}\end{displaymath} (4)

\begin{displaymath}
{\cal{N}}(x,y) = \left\{ {\rm num}(p(x,y,n)) : p(x,y,n) \leq \tilde{p}(x,y) + 3 \sigma(x,y) \right\}\end{displaymath} (5)

\begin{displaymath}
\bar{p}(x,y) = \frac{1}{{\cal{N}}(x,y)} \sum_{n\in{\cal{S}}(x,y)} p(x,y,n)\end{displaymath} (6)

This algorithm does a very good job at removing cosmic ray events which can be present in the bias images. It does however suffer from being computationally and memory intensive.

The average bias image is written as a FITS image in READ coordinates. The average bias routine was adopted from J. Woo's meanbiasclip2.c but has been made to work in near real-time and renamed to xrcf_mean_bias_clip.c.


next up previous contents
Next: Events & Event lists Up: ACIS-2C HSHST Products Previous: Summary of Staggered Data

Mark Bautz
11/20/1997