Skip to content

imProc.stack

Alexander Krassilchtchikov edited this page Jun 8, 2023 · 10 revisions

Description

High-level functions for manipulation of astronomical images

Functions

  • imProc.stack.allFunList - functions list for the imProc.stack package
  • imProc.stack.addImageRedistributePixels - Add Image1 to Image according to the pixel redistribution defined by the coordinate arrays X, Y with the signal distributed amoung 4 neighbouring pixels so that the total "flux" is conserved
  • imProc.stack.applyUnaryFun - Apply scalar-unary function (e.g., function that returns a scalar) on AstroImage
  • imProc.stack.coadd - Coadd images in AstroImage object including pre/post normalization
  • imProc.stack.coaddProperCore - Proper coaddition of images in AstroImage object
  • imProc.stack.divideFactor - Divide factor (constant) from AstroImage
  • imProc.stack.functionalResponse - Fit the pixel response to light as a function of intensity in a cube of images
  • imProc.stack.funCube - Apply function/s on a single cube
  • imProc.stack.makeMovie - Display and create a movie file from images in AstroImage or cube
  • imProc.stack.stitch - Make a mosaic sky image from a set of input image files or AstroImages
  • imProc.stack.subtractOffset - Remove offset (constant) from AstroImage
  • imProc.stack.unitTest - unitTest for imProc.stack

Selected examples

To make a mosaic sky image from a set of input image files:

% Make a mosaic image from coadd images of LAST residing in LastDir:
LastDir = '/home/sasha/Obs1/';
[Mosaic, AH, RemappedXY] = imProc.stack.stitch('LAST*coadd_Image*.fits','DataDir','/home/sasha/Obs1/');

The output file name will look like LAST.01.02.01_20221204.161938.037_369-08_stitched_image.fits (the beginning of the name comes from the name of the first of the input images). The Mosaic variable will contain the stitched AstroImage with Mosaic.Header containing the WCS data. The AH variable will contain the corresponding AstroHeader object, and the RemappedXY variable is a 4D-matrix containing the remapped X, Y pixel coordinates from each of the input images: [Image number, Xremapped, Yremapped, 1 -> X or 2 -> Y].

LAST Data Products:

Image Processing

Background

Image processing classes

High-level image processing tools

Spectra processing

Pipelines

Start-to-end examples

Celestial coordinates and mechanics

Astrophysics

Time series analysis

  • [timeSeries - Time series analysis tools]
    • [arma]
    • [bin]
    • [detrend]
    • [fit]
    • [fold]
    • [interp]
    • [period]
    • [rand]
    • [stat]
    • [time]
    • [xcorr]
    • [timeDelay]

Telescopes

Virtual observatory and catalogs

General tools

MEX (matlab executable)

For developers

Clone this wiki locally