Main Page | Class List | Directories | File List | Class Members | File Members

ObitFeatherUtil.h File Reference

Image feathering utility routine definition. More...

#include "Obit.h"
#include "ObitErr.h"
#include "ObitImage.h"
#include "ObitFFT.h"

Go to the source code of this file.

Functions

ObitFFTObitFeatherUtilCreateFFT (ObitImage *in, ObitFFTdir dir)
 Public: Create an FFT object suitable for FFTing an image.
ObitImageObitFeatherUtilCreatePadImage (ObitFFT *inFFT, ObitImage *inImage, ObitErr *err)
 Public: Return scratch Image the size needed for a padding.
ObitCArrayObitFeatherUtilCreateFFTArray (ObitFFT *inFFT)
 Public: Create a half plane CArray suitable for the output of FFTing an image.
void ObitFeatherUtilPad (ObitFFT *inFFT, ObitImage *inImage, ObitImage *outImage, ObitErr *err)
 Public: Zero Pads an image as needed for an FFT.
void ObitFeatherUtilBigger (glong *naxis, ObitImage *inImage, ObitImage *outImage, ObitErr *err)
 Public: Increases the size of an image and zero pads.
void ObitFeatherUtilPadArray (ObitFFT *inFFT, ObitFArray *inArray, ObitFArray *outArray)
 Public:Zero Pads an array as needed for an FFT PadArray.
ObitFArrayObitFeatherUtilExtract (ObitFFT *inFFT, ObitFArray *inArray, ObitErr *err)
 Public: Extract a Real array from one padded for FFTs.
ObitFArrayObitFeatherUtilMakeBeamMask (ObitImage *inImage, ObitFFT *inFFT, ObitErr *err)
 Public:Make uv plane weighting array.
void ObitFeatherUtilCreateModel (ObitImage *image, ObitFArray *outArray)
 Public: Fill an FArray with a model the size and shape of the resolution in an image.
void ObitFeatherUtilAccumImage (ObitFFT *FFTfor, ObitImage *inImage, ObitFArray *wtArray, ObitCArray *accArray, ObitCArray *workArray, ObitErr *err)
 Public: Accumulate the weighted FT of an FArray.
void ObitFeatherUtilInterpol (ObitImage *inImage, ObitImage *tmplImage, ObitImage *outImage, ObitErr *err)
 Public: HGEOM-like operation (Before EWG got to it).
void ObitFeatherUtilSubImage (ObitImage *inImage, ObitFArray *inArray, ObitImage *outImage, ObitErr *err)
 Public: Extract the subimage in inAray corresponding to outImage.


Detailed Description

Image feathering utility routine definition.

Routines for feathering together images at different resolutions.


Function Documentation

void ObitFeatherUtilAccumImage ObitFFT FFTfor,
ObitImage inImage,
ObitFArray wtArray,
ObitCArray accArray,
ObitCArray workArray,
ObitErr err
 

Public: Accumulate the weighted FT of an FArray.

Parameters:
FFTfor FFT object to FT input array (on inImage)
inImage Image to be accumulated must be a size compatable with FFTfor, returned with contents swapped for FFTs
wtArray FArray containing accumulation weights, must be a size compatable with FT of input array.
accArray CArray in which the results are to be accumulated. must be a size compatable with FT of input array.
workArray CArray for temporary storage of FT of input array.
err ObitErr error stack.

void ObitFeatherUtilBigger glong *  naxis,
ObitImage inImage,
ObitImage outImage,
ObitErr err
 

Public: Increases the size of an image and zero pads.

Parameters:
naxis dimension array of desired output
inImage Obit Image to be padded.
outImage Obit Image for output, Must previously exist
err ObitErr error stack.

ObitFFT* ObitFeatherUtilCreateFFT ObitImage in,
ObitFFTdir  dir
 

Public: Create an FFT object suitable for FFTing an image.

Parameters:
in Image to be FFTed
dir FFT direction (OBIT_FFT_Forward, OBIT_FFT_Reverse)
Returns:
ObitFFT, must be Unrefed when done

ObitCArray* ObitFeatherUtilCreateFFTArray ObitFFT inFFT  ) 
 

Public: Create a half plane CArray suitable for the output of FFTing an image.

Parameters:
inFFT FFT to be applied
Returns:
CArray, must be Unrefed when done

void ObitFeatherUtilCreateModel ObitImage image,
ObitFArray outArray
 

Public: Fill an FArray with a model the size and shape of the resolution in an image.

A model image is inserted in outArray derived from the restoring beam in image. The size and geometry of outArray must be those described by image

Parameters:
image Image with info, image member MUST be present
outArray Python FArray to receive model, must previously exist.

ObitImage* ObitFeatherUtilCreatePadImage ObitFFT inFFT,
ObitImage inImage,
ObitErr err
 

Public: Return scratch Image the size needed for a padding.

Parameters:
inFFT FFT defining proper padded image size (created by ObitFeatherUtilCreateFFT)
inImage Obit Image to be padded.
err ObitErr error stack.
Returns:
Scratch Image, must be Unrefed when done

ObitFArray* ObitFeatherUtilExtract ObitFFT inFFT,
ObitFArray inArray,
ObitErr err
 

Public: Extract a Real array from one padded for FFTs.

Parameters:
inFFT Gives size of FFT needed
inArray FArray with FFT results.
err Obit error stack object.

void ObitFeatherUtilInterpol ObitImage inImage,
ObitImage tmplImage,
ObitImage outImage,
ObitErr err
 

Public: HGEOM-like operation (Before EWG got to it).

Parameters:
inImage Image to be interpolated
tmplImage Image whose geometry is to be used.
outImage values from inImage on grid of tmplImage undefined values set to zero to allow FFT.
err ObitErr error stack.

ObitFArray* ObitFeatherUtilMakeBeamMask ObitImage inImage,
ObitFFT inFFT,
ObitErr err
 

Public:Make uv plane weighting array.

Parameters:
inImage Obit Image to be padded.
inFFT Obit forward FFT object
err ObitErr error stack.
Returns:
uv mask array

void ObitFeatherUtilPad ObitFFT inFFT,
ObitImage inImage,
ObitImage outImage,
ObitErr err
 

Public: Zero Pads an image as needed for an FFT.

Parameters:
inFFT FFT to be applied
inImage Obit Image to be padded.
outImage Obit Image for output
err ObitErr error stack.

void ObitFeatherUtilPadArray ObitFFT inFFT,
ObitFArray inArray,
ObitFArray outArray
 

Public:Zero Pads an array as needed for an FFT PadArray.

Parameters:
inFFT Gives size of FFT needed
inArray FArray to be padded.
outArray FArray containing inArray but zero filled.

void ObitFeatherUtilSubImage ObitImage inImage,
ObitFArray inArray,
ObitImage outImage,
ObitErr err
 

Public: Extract the subimage in inAray corresponding to outImage.

one the padded version of the other) outImage is updated in permanent storage (disk)

Parameters:
inImage Image describing inArray
inArray array from which values are to be extracted
outImage accepts values from inImage, must exist and be fully defined
err ObitErr error stack.


Generated on Fri Aug 31 22:13:05 2007 for Obit by  doxygen 1.3.9.1