OBJECT
s.
If an estimate of the sky level is
provided, also fit the centres of all peaks
present within each
object (both the primary peak and any lower secondary peaks). These
are stored in a data type called a
PEAK
. At this point,
the peak's centres are given in their own band's coordinate system.
PEAK
s
given some thresholds. Specifically:
(peak - delta)
, cull the peak.
delta
may be expressed in terms of the local pixel
standard deviation.
OBJECT1
s
in the same band, and when we are merging the lists of PEAKs
detected in different bands.
Various tolerances are used to decide when peaks are identical XXX
For a star this should produce an approximately optimal centre; the code is that used elsewhere in SDSS software. For more extended objects there's no particular reason to expect that a Gaussian should describe the profile well, but it probably doesn't really matter.
N
pixels.
The correct way to do this is to add a single pixel to the end of each
row of detected pixels, add an extra row above and below each row,
figure out which pixels are now present many times in the object and
reduce it to some canonical form, and then repeat the operation
N
times.
Unfortunately, this is expensive and we have instead used a one-step procedure:
Add N
pixels to each end of each row, and N - 1
to the rows above and below, N - 2
to the next two, and so on.
Finally, deal with overlaps.
Probably we should just switch to the `right' way of doing it, but this hack works well enough