sinfo_new_determine_shift_by_correlation() |
determines the sub-pixel shift of to emission line frames by cross sinfo_correlation and fitting the correlation function by a Gaussian
- Parameters:
-
| refImage,: | reference image |
| shiftedImage,: | image shifted in spectral direction with respect to the reference image |
- Returns:
- shift in sub-pixel accuracy
|
double | sinfo_new_determine_shift_by_correlation (cpl_image *refImage, cpl_image *shiftedImage) |
sinfo_new_shift_image_in_spec() |
shifts an image by a given amount to integer pixel accuracy
- Parameters:
-
| shiftedImage,: | image to shift in spectral direction |
| shift,: | amount of shift, output of sinfo_determineShiftByCorrelation |
| sub_shift,: | non-integer rest of shift < 1 |
- Returns:
- shifted image
|
cpl_image * | sinfo_new_shift_image_in_spec (cpl_image *shiftedImage, double shift, double *sub_shift) |
sinfo_new_fine_shift_image_in_spec_poly() |
shifts an image by a given amount to sub-pixel accuracy
- Parameters:
-
| shiftedImage,: | image to shift in spectral direction |
| sub_shift,: | amount of shift < 1, output of sinfo_shiftImageInSpec |
| order,: | order of polynomial |
- Returns:
- shifted image
|
cpl_image * | sinfo_new_fine_shift_image_in_spec_poly (cpl_image *shiftedImage, double sub_shift, int order) |
sinfo_new_fine_shift_image_in_spec_cubicspline() |
shifts an image by a given amount to sub-pixel accuracy
- Parameters:
-
| shiftedImage,: | image to shift in spectral direction |
| sub_shift,: | amount of shift < 1, output of sinfo_shiftImageInSpec |
- Returns:
- shifted image
|
cpl_image * | sinfo_new_fine_shift_image_in_spec_cubic_spline (cpl_image *shiftedImage, double sub_shift) |
sinfo_align_cube_to_reference() |
shifts images stacked in a cube by a given amount to sub-pixel accuracy
- Parameters:
-
| cube,: | cube containing images to shift in spectral direction |
| refIm,: | reference image (OH spectrum) |
| order,: | order of polynomial interpolation for the resampling |
| shift_indicator,: | indicator for the polynomial interpolation (0) or cubic spline interpolation shift (1). |
- Returns:
- shifted cube
|
cpl_imagelist * | sinfo_align_cube_to_reference (cpl_imagelist *cube, cpl_image *refIm, int order, int shift_indicator) |