|
|
wx2d(input,
output,
wavelengths=None,
helcorr='',
algorithm='wavelet',
trace=None,
order=7,
subdiv=8,
psf_width=0.0,
rows=None,
subsampled=None,
convolved=None)
Resample the input, correcting for geometric distortion. |
source code
|
|
|
|
wx2d_imset(ft,
imset,
output,
wavelengths,
helcorr,
algorithm,
tracefile,
order,
subdiv,
psf_width,
rows,
subsampled,
convolved)
Resample one image set, and append to output file(s). |
source code
|
|
|
tuple
|
wavelet_resampling(hdu,
img,
errimg,
original_nrows,
nrows,
ncols,
rows,
a2center,
a2displ,
offset,
shifta2,
imset,
order,
subdiv,
psf_width,
subsampled,
convolved)
Resample img and errimg using wavelets. |
source code
|
|
|
tuple
|
kd_resampling(img,
errimg,
original_nrows,
nrows,
ncols,
rows,
a2center,
a2displ,
offset,
shifta2)
Apply Kris Davidson's resampling method. |
source code
|
|
|
array
|
kd_apply_trace(image,
a2center,
a2displ,
offset=0.0,
shifta2=0.0)
Kris Davidson's resampling algorithm, following the trace. |
source code
|
|
|
float
|
|
|
|
apply_trace(image,
a2center,
a2displ,
subdiv,
offset=0.0,
shifta2=0.0,
extname='SCI')
Add together 'subdiv' rows of 'image', following the trace. |
source code
|
|
|
array
|
extract(image,
locn,
subdiv)
Add together 'subdiv' rows of 'image', centered on 'locn'. |
source code
|
|
|
array
This takes the square root of the average of the squares, intended
to be used for interpolating the ERR array. Fractions of pixels at
the upper and lower edges are excluded.
|
|
|
array
|
|
|
|
|
|
string or array
|
|
|
tuple of two arrays
If 'tracefile' is already a trace array, it will just be returned,
together with an arbitrary Y location of 0 (because that will always
be within the image).
opt_elem and cenwave are criteria for selecting the relevant rows
from the 1dt table. There will normally be several rows that match,
and they should have different values of the Y location; the output
list will be sorted on Y location.
|
|
|
array
|
|
|
|
|
|
|
|
|
|
|