IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37895


Ignore:
Timestamp:
Feb 4, 2015, 5:56:45 PM (11 years ago)
Author:
watersc1
Message:

Incomplete edit merging my previous version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/release.2015/ps1.detrend/detrend.tex

    r37862 r37895  
    1 \documentclass[iop,floatfix]{emulateapj}
     1%\documentclass[iop,floatfix]{emulateapj}
     2
    23% \pdfoutput=1
    34
    45% see latex.readme.txt for notes on using the PS1 template
    5 %\documentclass[12pt,preprint]{aastex}
     6\documentclass[12pt,preprint]{aastex}
    67%\documentclass[manuscript]{aastex}
    78%\documentclass[preprint2]{aastex}
     
    2122%\def\picdir{PATH}
    2223\def\picdir{ALTPATH}
     24
     25% CZW commands from my previous draft.
     26\newcommand{\czw}[1]{
     27  \textbf{CZW: }\textcolor{red}{#1}
     28}
     29\newcommand{\czwdraft}[1]{
     30  \textcolor{red}{#1}
     31}
     32\newcommand{\erfcinv}{\mathop{\rm erfcinv}\nolimits}
     33
    2334
    2435% Pick a terse version of the title here;
     
    129140\section{INTRODUCTION}\label{sec:intro}
    130141
     142\section{Camera description}
     143
     144\czwdraft{60 otas}
     145
     146\czwdraft{64 cells per ota}
     147
     148\czwdraft{effectively 60x64 different cameras, each with particular gain/noise/etc characteristics}
     149
     150\czwdraft{Add summary of detrending steps}
     151
     152\section{Burntool / Persistence effect}
     153
     154Stars that are nearing saturation \czwdraft{(30000 DN)} cause
     155persistance problems during the read out of the image, creating trails
     156of light are left on the image.  During the read out process of an
     157image with a bright star above this threshold, some of the charge
     158associated with that object is not fully shifted toward the amplifier.
     159As a result, this charge remains in the starting cell, and is
     160partially collected in subsequent shifts, resulting in a ``burn
     161trail'' that extends from the center of the bright source away from
     162the amplifier (vertically along the pixel columns toward the top of
     163the cell).
     164
     165This incomplete charge shifting in nearly full wells continues as each
     166row is read out.  This results in a remnant charge in the pixels that
     167the full well was shifted through.  In following exposures, this
     168remnant charge leaks out, resulting in a trail that extends from the
     169initial location of the bright source on the previous image towards
     170the amplifier (vertically down along the pixel column).  This charge can remain on the detector for up
     171to thirty minutes, so the locations of these ``burns'' needs to be
     172retained between exposures.
     173
     174Both of these types of persistance trails are corrected via the BURNTOOL program.  This
     175program does an initial scan of the images, and identifies stars
     176brighter than a given threshold.  Then, the trail from that star is
     177fit with a one-dimensional power law, based on empirical evidence that
     178this is the functional form of this perseistence effect.  Once this
     179fit is done, the model is subtracted from the image, and the location
     180of the star is stored in a table along with the exposure PONTIME
     181\czwdraft{obs time?}.
     182
     183For subsequent exposures, the table associated with the previous image
     184is read in, and after correcting trails from its own stars, it
     185attempts to find remnant trails from previous images.  These are fit
     186and subtracted using a one-dimensional exponential model, again based
     187to empirical studies.  If no significant model is determined, then
     188this location is not included in the output table, allowing old burns
     189to ``expire.''
     190
     191One problem with this method to correct the persistance trails is that
     192it is based on fits to the image data, which may not be fully
     193determined by the persistance effect.  The presence of other stars or
     194artifacts along the path of the burn can result in an incorrect model
     195to be determined, resulting in either an over- or under-subtraction of
     196the persistance burn. \czwdraft{However, it's better than doing nothing.}
     197Another issue is that the cores of very bright stars are deformed by
     198this process, as it preferentially subtracts flux from one side of the
     199star.  As most stars that result in burns already have the cores
     200saturated, this does not significantly affect PSF determination or
     201photometry.
     202
     203\section{Mask}
     204
     205Due to the large size of the detector, it is to be expected that there
     206will be a number of pixel defects that do not measure light as well as
     207their neighbors.  To remove these pixels, we have constructed a static
     208mask that contains information about these defects.  This mask is
     209constructed in three phases.
     210
     211First, a CTEMASK is constructed to mask out regions in which the
     212charge transfer efficiency is low compared to the rest of the
     213detector.  Twenty-five of the sixty OTAs in GPC1 show some evidence of
     214CTE issues, with this pattern showing up (to varying degrees) in
     215triangular sets of cells on the OTA. \czwdraft{probably a figure would
     216  help explain this?}  To generate the mask, a sample set of flat
     217images are used to generate a map of the image variance with some
     218binning.  As the flat image largely illuminates the image uniformly,
     219the expected variances should be Poissonian distributed with the flux
     220level.  However, in regions with CTE issues, adjacent pixels are able
     221to ``share'' their charge, resulting in a lower-than-expected
     222variance.  This allows these regions to be identified and removed from
     223processing in science images.
     224
     225The next step of mask construction is to examine the detector for
     226bright columns and other pixel issues.  This is first done by \czwdraft{I
     227  think Heather wrote a program to do this, but I'm not totally sure
     228  how it works} scanning a set of images for pixels that have values
     229that do not change throughout the sequence of exposures.  Such pixels
     230cannot be caused by astronomical effects, and must be due to the
     231detector itself.  This does an excellent job of removing the majority
     232of the problem pixels, and greatly speeds up the manual inspection for
     233defects.  This manual inspection allows human interaction to identify
     234other odd detector issues that should not be allowed through to
     235science processing.  This is also where the vignetted regions around
     236the edge of the detector are masked out.  \czwdraft{This might be a lie}
     237As the size of the vignetted region changes with filter, we have been
     238somewhat aggressive about this, defining the smallest possible
     239``good'' region by using the g-filter to set this.
     240
     241Finally, not all bad regions on the image are due to pixel level
     242defects.  Crosstalk between electronics channels results in the
     243appearance of faint ``stars'' that appear with the same cell (x,y)
     244coordinate as a real star, but are shifted to another cell or to
     245another OTA.  We believe we have identified all such crosstalk issues,
     246and therefore place a mask over the crosstalk ghost when we detect a
     247sufficiently bright star in a ``source'' location.
     248
     249Due to an issue with the anti-reflective coating, we also see large
     250out of focus objects in the g-filter data.  These objects are the
     251result of a bright source reflecting back off the surface of the
     252detector, reflecting again off the \czwdraft{No clue} mirror, and then
     253back down onto the focal plane.  These are also somewhat reasonable to
     254identify, as a bright star in location (X,Y) on the focal plane
     255creates a reflection ghost at (-X,-Y).  The exact location is fit as a
     256\czwdraft{Nth} order polynomial, and seems to sufficiently cover these
     257regions.
     258
     259\subsection{Optical ghosts}
     260
     261%%
     262%% GHOST.CENTER.X METADATA
     263%%   NORDER_X S32 3
     264%%   NORDER_Y S32 3
     265%%   VAL_X00_Y00  F64 -1.215661e+02
     266%%   VAL_X01_Y00  F64  1.321875e-02
     267%%   VAL_X02_Y00  F64 -4.017026e-09
     268%%   VAL_X03_Y00  F64  1.148288e-10
     269%%   VAL_X00_Y01  F64 -1.908074e-03
     270%%   VAL_X01_Y01  F64  8.479150e-08
     271%%   VAL_X02_Y01  F64  1.635732e-11
     272%%   VAL_X00_Y02  F64  2.625405e-08
     273%%   VAL_X01_Y02  F64  1.125586e-10
     274%%   VAL_X00_Y03  F64  2.912432e-12
     275%%   NELEMENTS  S32 10
     276%% END
     277
     278%% GHOST.CENTER.Y METADATA
     279%%   NORDER_X S32 3
     280%%   NORDER_Y S32 3
     281%%   VAL_X00_Y00  F64  2.422174e+01
     282%%   VAL_X01_Y00  F64  4.170486e-04
     283%%   VAL_X02_Y00  F64 -1.934260e-08
     284%%   VAL_X03_Y00  F64 -1.173657e-12
     285%%   VAL_X00_Y01  F64  1.189352e-02
     286%%   VAL_X01_Y01  F64 -9.256748e-08
     287%%   VAL_X02_Y01  F64  1.140772e-10
     288%%   VAL_X00_Y02  F64  8.123932e-08
     289%%   VAL_X01_Y02  F64  1.328378e-11
     290%%   VAL_X00_Y03  F64  1.170865e-10
     291%%   NELEMENTS  S32 10
     292%% END
     293%% # These are the original linear solutions
     294%% GHOST.INNER.MAJOR METADATA
     295%%   NORDER_X S32 1
     296%%   VAL_X00  F64 3.926693e+01
     297%%   VAL_X01  F64 5.325759e-03
     298%%   NELEMENTS  S32 2
     299%% END
     300
     301%% GHOST.INNER.MINOR METADATA
     302%%   NORDER_X S32 1
     303%%   VAL_X00  F64 5.287548e+01
     304%%   VAL_X01  F64 -2.191669e-03
     305%%   NELEMENTS  S32 2
     306%% END
     307
     308%% GHOST.OUTER.MAJOR METADATA
     309%%   NORDER_X S32 1
     310%%   VAL_X00  F64 7.928722e+01
     311%%   VAL_X01  F64 1.722181e-02
     312%%   NELEMENTS  S32 2
     313%% END
     314
     315%% GHOST.OUTER.MINOR METADATA
     316%%   NORDER_X S32 1
     317%%   VAL_X00  F64 1.314265e+02
     318%%   VAL_X01  F64 -2.627153e-03
     319%%   NELEMENTS  S32 2
     320%% END
     321
     322\subsection{Glints}
     323
     324%%
     325%% GLINT_MAX_MAG                   F32 -21.0
     326%% GLINT.REGION                    MULTI
     327
     328%% GLINT.REGION                    METADATA
     329%%   REGION                        STR  [-38000:-24000,-20000:+20000]
     330%%   GLINT.TYPE                    STR  LEFT
     331%% END
     332
     333%% GLINT.REGION                    METADATA
     334%%   REGION                        STR  [+24000:+38000,-20000:+20000]
     335%%   GLINT.TYPE                    STR  RIGHT
     336%% END
     337
     338%% GLINT.REGION                    METADATA
     339%%   REGION                        STR  [-20000:+20000,+24000:+38000:]
     340%%   GLINT.TYPE                    STR  TOP
     341%% END
     342
     343%% GLINT.REGION                    METADATA
     344%%   REGION                        STR  [-20000:+20000,-38000:-24000]
     345%%   GLINT.TYPE                    STR  BOTTOM
     346%% END
     347
     348
     349\czwdraft{Write up something about the masking fraction.}
     350
     351\subsection{Video Mask}
     352
     353One aspect of the OTAs in GPC1 is that an individual cell can be read
     354off repeatedly while the other cells integrate, resulting in a video
     355signal from that cell.  This is used for guiding purposes, and a
     356single exposure is likely to have a number of these video cells.
     357However, reading these cells while integrating on the others changes
     358the characteristic dark model (see below) experienced by the other
     359cells on the OTA.  The observational effect of this is that the glow
     360related to the amplifiers in the corners of the cells is depressed
     361during the video readout, relative to the nominal glow.  Because of
     362this, the standard dark model oversubtracts this glow.  Due to camera
     363configuration issues \czwdraft{I need to check this}, we are unable to
     364obtain video dark images, preventing us from correctly modelling this
     365change in the dark model.  Instead, we apply simple masks that block
     366out these corner anti-glows from the data.  This is reasonable, as
     367other than the corners, most pixels have the same dark model in either
     368mode.
     369
     370\section{Overscan}
     371
     372Each cell on GPC1 has an overscan region that covers the
     373first\czwdraft{?} 34 columns of each row, and the last\czwdraft{?} 10 rows
     374of each column.  No light lands on these pixels, so the image region
     375is trimmed to exclude them.  Each row has an overscan value
     376subtracted, calculated by finding the median value of that row's
     377overscan pixels.  These medians are then smoothed between rows with a
     3783-row wide boxcar. 
     379
     380\section{Non-linearity Correction}
     381
     382The pixels of GPC1 are not perfectly linear at all flux levels.
     383Particularly, at low flux levels, some pixels have a tendency to sag
     384relative to the expected linear value.  This effect is most pronounced
     385along the edges of the detector, although some entire cells show
     386evidence of this effect.
     387
     388To correct this sag, we study the flux behavior of a series of dark
     389frames with a ramp of exposure times.  As the exposure time increases,
     390the flux on each pixel also increases in what is expected to be a
     391linear manner.  Each of these dark ramp exposures is overscan
     392corrected, and then the median is calculated for each cell, as well as
     393the rows and columns within ten pixels of the edge of the science
     394region.  From these median values at each exposure time value, we can
     395construct the expected trend by fitting a linear model, $f_{region} =
     396gain * t_{exp} + bias_0$, to the median fluxes for darks with exposure
     397times between 3 and 12 seconds.  This time interval was selected as it
     398avoids the non-linearity at low fluxes, as well as the possibility of
     399high-flux non-linearity effects.  From this set of models for each
     400row, column, or full cell, we construct a table of correction values
     401by linear interpolating the row and column results to match the full
     402cell results in the center of the detector.
     403
     404This non-linearity effect appears to be stable in time, with no
     405evident change over a year's worth of data.
     406
     407\czwdraft{I have figures at http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/DetectorLinearity that might be useful}
     408
     409\section{Dark/Bias Subtraction}
     410
     411The dark model we make for GPC1 considers each pixel individually,
     412independent of any neighbors.  To create the dark model for each
     413pixel, we fit an arbitrary dimensional model \czwdraft{clunky} to the
     414array of input pixels from a selection of dark images.  The current
     415model is linear \czwdraft{really?} in both the exposure time and the
     416detector temperature.  Adding in a constant value for the fit provides
     417three parameters that define the dark model for that pixel.  As this
     418constant value is effectively the bias value for that pixel, we do not
     419do a separate bias correction.  This model is applied to science
     420images by fitting the correct dark value based on the exposure time
     421and detector temperature for that exposure.
     422
     423\subsection{Time evolution}
     424
     425\czwdraft{The dark model is noticably unstable on time scales of months, and so we have generated a sequence in time to keep the effect of a missed correction low.}
     426
     427Unfortunately, the dark model is not consistently stable on the time
     428span of multiple months.  Some of the changes in the dark can be
     429attributed to changes in the voltage settings of GPC1, but the
     430majority seem to be the result of some unknown parameter.  Largely, we
     431can separate the dark model history of GPC1 into three epochs.  The
     432first epoch covers all data taken prior to 2010-01-23.  This epoch
     433used a different header keyword for the detector temperature, making
     434data from this epoch incompatible with later dark models. 
     435
     436The second epoch covers data between 2010-01-23 and 2011-05-01, and is
     437characterized by a largely stable but oscillatory dark solution.
     438There appear to be two modes that the dark model switches between
     439apparently at random.  No clear cause has been established for these
     440switching, but there are clear differences between the two modes
     441\czwdraft{figures?}.
     442
     443The evidence of these two modes comes from the discovery of a slight
     444gradient along the rows of certain cells.  This is a result of a drift
     445in the bias level of the detector.  Therefore, an appropriate dark
     446model should remove this gradient entirely.  For these two modes, the
     447magnitude of this bias drift is different, so a single dark model over
     448corrects the low-magnitude mode, and undercorrects the high-magnitude
     449mode.  Upon identifying this two-mode behavior, and determining the
     450switching points, two separate darks models were constructed from
     451appropriate ``A'' and ``B'' mode dark frames.  Using the appropriate
     452dark minimizes the effect of this bias gradient in the dark corrected
     453data.
     454
     455After 2011-05-01, the two-mode behavior of the dark disappears, and is
     456replaced with a slow dateobs-dependent drift in the magnitude of the
     457gradient.  This drift is sufficiently slow that we have modeled it
     458using three dateobs-independent dark model for different date ranges.
     459These darks cover the range from 2011-05-01 to 2011-08-01, 2011-08-01
     460to 2011-11-01, and 2011-11-01 and on.  The reason for this time
     461dependent drift is unknown, but we seem to be able to model it with
     462reasonable accuracy by creating new dark models.
     463
     464\section{Noisemap}
     465
     466Based on a study of the positional dependence of detected objects, we discovered that the cells in GPC1 do not have uniform noise characteristics.  Instead, there is a gradient along the pixel rows, with the noise generally higher away from the read out amplifier.  This is likely another effect of the row-by-row bias issue.  This gradient has the effect that the read noise increases as the row is read out.  To mitigate this noise gradient, we construct a set of noisemap images by measuring the median variance on bias frames.  The variance is calculated in boxes of 20x20 pixels, and then linearly interpolated to cover the full image. 
     467
     468Unfortunately, due to correlations in the row-to-row offsets \czwdraft{in the noise?}, the variance measured from the bias images does not fully remove the positional dependence of objects that are detected.  The reason for this is that the simple noisemap underestimates teh noise observed when the image is filtered during the object detection process.  This filtering convolves the background noise with a PSF, which has the effect of amplifying the correlated peaks in the noise.  This amplification can therefore boost background fluctuations above the threshold used to select real objects, contaminating the final object catalogs.
     469
     470To resolve this issue, we chose a typical PSF, and used it to look for detections on a sample of bias images.  As the bias has no real sources, all objects found are by definition false, and provides an idea of how much our noisemap estimation deviates from the ``true'' noise observed by the object detection process.  For a region of area X*Y, if we find k false detections above our signal-to-noise threshold, then we can estimate how much the noise model deviates from what is observed.  The observed noise threshold is defined as $\sigma_{observed} = \sqrt{2} * \erfcinv{2 * k A_{psf} / (X * Y * N_{exp})}$, where $A_{psf}$ is the footprint size of the PSF (taken as 16 pixels), and $N_{exp}$ is the number of exposures examined in this location.  From this observed threshold, we scale the noisemap previously calculated by the boost factor $B = \sigma_{thresh} / \sigma_{observed}$. 
     471
     472The row-to-row variations that contribute to the extra noise are related to the dark model, and because of this, as the dark model changes, the effective noise also changes.  Because of this, we have created different noisemap models for the three major time ranges of the dark model.  We do not see any evidence that the noisemaps have the A/B modes visible in the dark, and so we do not generate different models. 
     473
     474\section{Remnance?}
     475
     476\czwdraft{Despite the known persistence effects of the detectors, we do not do any remnance correction beyond what is discussed above in the burntool section.  Therefore, I probably should just remove this section entirely.}
     477
     478\section{Shutter?}
     479
     480\czwdraft{I don't believe that we do a shutter correction either.  So, again, probably shouldn't include it.}
     481
     482\section{Flat}
     483
     484\czwdraft{I don't know how the flat calibration code works.  We start with flat field images of the sky, but due to the size of the detector, it is difficult to equally illuminate each pixel.  Therefore, flat calibration.}
     485
     486Determining a flat field correction for GPC1 is a challenging
     487endeavor, as the wide field of view makes it difficult to construct a
     488uniformly illuminated image.  Using a dome screen is not possible, as
     489the variations in illumination and screen rigidity create unusably
     490large scatter between different images.  Because of this, we use sky
     491flat images taken at twilight, which are more consistently illuminated
     492than screen flats.  We calculate the mean of these images to determine
     493the starting flat model.
     494
     495From this initial flat model, we construct a correction to remove the
     496effect of the problems illuminating the large area.  This is done by
     497dithering a series of exposures across a given pointing.  By comparing
     498the measured fluxes for a given star as a function of position, we can
     499correct out the errors in the flat model.
     500
     501The flat model appears stable with time, although directly measuring
     502this is as difficult as originally constructing the model.  However,
     503due to the photometric consistency observed in GPC1 measurements, we
     504can be confident that the flat model is not changing much.
     505
     506
     507\section{Pattern correction}
     508
     509Due to the row-by-row bias offsets that are not cleanly removed by the
     510dark model, we have a set of ``pattern'' corrections that are applied
     511to some selection of the images.  The PATTERN.ROW correction is used
     512to remove the remaining row-by-row variation, and the PATTERN.CELL and
     513PATTERN.CONTINUITY corrections attempt to ensure that the cells of a
     514given OTA are consistent with each other.  These corrections are
     515largely designed to fix issues that are not stable enough with time
     516for the dark model or flat field model to fully account for the
     517detector behavior.
     518
     519\subsection{Pattern Row}
     520
     521As discussed above in the dark and noisemap sections, certain
     522detectors have significant row-by-row bias offsets.  As the level of
     523the offset is largely random, the dark correction cannot fully remove
     524this structure from the images.  Therefore, we apply the PATTERN.ROW
     525correction in an attempt to mitigate the offsets.  To force the rows
     526to agree, a \czwdraft{first} order polynomial is fit to each row in the
     527cell, and that trend subtracted from the data.  The median offset
     528(corresponding to the background level) is then added back to the
     529image so that the cell matches its neighbors during background
     530subtraction.
     531
     532This correction was required on all cells on all OTAs prior to
     533\czwdraft{2009-12-01}, at which point a modification of the camera
     534electronics resolved the row-by-row offsets for the majority of the
     535detectors.  As a result, we only apply this correction where it is
     536necessary, as shown in figure \czwdraft{X}.
     537
     538Although this correction does resolve the row-by-row offset issue in a
     539satifactory way, large and bright astronomical objects can bias the
     540fit significantly.  This results in an oversubtraction of the offset
     541near these objects.  As the offsets are calculated on the pixel rows,
     542this oversubtraction is not uniform around the object, but is
     543preferentially along the $\pm x$ axis of the object. 
     544
     545\czwdraft{keep this?}  This row-by-row offset is visible in similar
     546camera designs, and has been removed by identifying the noise signal
     547in the pixel data stream.  By taking the FFT of the pixels and a
     548reference signal, the frequency of this noise can be isolated and
     549removed, resulting in a much cleaner image.  However, GPC1 does not
     550record the value of the reference signal, instead automatically
     551subtracting it from the data values.  Without this comparison signal,
     552we have been unable to reproduce this method, as there is no obvious
     553FFT component visible.
     554
     555\subsection{Pattern Cell}
     556
     557As the bias level of a given cell may not exactly match that of its
     558neighbors, fitting a smooth background model results in over and
     559under-subtraction of the sky level at these discontinuities.  The
     560PATTERN.CELL correction was the first attempt to remove this effect on
     561the worst cells, by forcing all the cells of an OTA to the same level.
     562Each cell has the median value measured, and then an offset added that
     563shifts each cell to match the median of these medians.
     564
     565This correction is reasonable when the astronomical signal is smooth,
     566with no objects that are large relative to the size of an individual
     567cell.  However, the presence of large galaxies (or even bright stars)
     568can force some cells into a nearly arbitrary offset from their
     569neighbors.  Because of this issue, we no longer apply this correction
     570to any data.
     571
     572\subsection{Pattern Continuity}
     573
     574As the PATTERN.CELL correction was clearly defective in many
     575situations, we designed a replacement correction that would distort
     576large objects less.  In addition, studies of the background level
     577illustrated that the row-by-row bias introduces a small background
     578gradient along the rows of the cells.  This results in a ``sawtooth''
     579pattern across an OTA, and as the background model assumes a smooth
     580sky level, we saw evidence of over and under subtraction at cell
     581boundaries.  As the PATTERN.CELL was designed to correct mean changes
     582between cells, it could not adequately resolve this higher order
     583issue.
     584
     585The replacment for PATTERN.CELL was the PATTERN.CONTINUITY correction,
     586which attempts to match the edges of a cell to those of its neighbors.
     587For each cell, a thin box on each edge is extracted and the median
     588value calculated for that box.  These median values are then used to
     589construct a vector of differences $diff_i = \sum_{j,j'} Edge_{i,j} -
     590Edge)_{i',j'}$, along with a matrix of associations $A_{i,i'} =
     591\sum_{j,j'} \delta(j,j')$ denoting which cell boundary touches
     592another.  By solving the system $A x = diff$, we can find the set of
     593offsets $x_i$ that should be applied to each cell to ensure the
     594minimum differences between cells.
     595
     596Due to the known slope in some cells, the effect of this correction is
     597to align the cells into a single ramp, at the expense of the absolute
     598background level.  However, as we subtract off a smooth background
     599model, this absolute level is unimportant.  The fact that the final
     600ramp is smoother than it would be otherwise also allows for the
     601background subtracted image to more closely match the astronomical
     602sky, without over- and under-subtractions at cell edges.
     603
     604%% \section{Fringe correction}
     605
     606%% \czwdraft{Due to variations in the thickness of the detectors, we observe interference patterns at the infrared (red?) end of the filters, as the wavelength of the light becomes comparable to these variations.  Visually inspecting the images shows that the fringing is most prevalent in the y-filter images, with minimal fringing in other bands.  Because of this, we only apply a fringe correction to the y data.}
     607
     608%% \czwdraft{The fringe is constructed by randomly determining a set of boxes for each OTA cell, and measuring the sky subtracted median value in those boxes for a series of images.  These samples are selected at the same location on each image, allowing the astronomical signal to be removed.  A least squares fit to the data is then calculated, providing the model of the fringe strength at that location.}
     609
     610%% \czwdraft{Applying the fringe is done in the same way, with samples measured across the image to determine the relative strength of the fringing in this image.  The solution derived from the detrend is then scaled to match that observed in the science image, and subtracted away.}
     611
     612%% \section{Background subtraction}
     613
     614%% \czwdraft{A background model is generated for each OTA, once all the individual cells have been mosaicked together.  Super-pixels are then defined that divide the image into XxY subregions, and the mean calculated for each subregion.  This grid is shifted by a half-width, and the means recalculated, to double the sampling frequency.  A background model is then calculated by interpolating over this sampled grid.}
     615
     616
    131617\section{Discussion}
    132618
Note: See TracChangeset for help on using the changeset viewer.