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

ObitFArrayUtil.h File Reference

ObitFArray numeric array utility module for ObitFArray class. More...

#include "ObitFArray.h"
#include "ObitErr.h"

Go to the source code of this file.

Functions

gfloat ObitFArrayUtilFitCGauss (ObitFArray *in, gfloat *FWHM, gfloat *center, gfloat *peak, ObitErr *err)
 Public: Fit 2-D circular Gaussian.
ObitFArrayObitFArrayUtilConvolve (ObitFArray *in1, ObitFArray *in2, ObitErr *err)
 Public: Convolve two arrays.


Detailed Description

ObitFArray numeric array utility module for ObitFArray class.

This class is for creating contains functions for manipulating a ObitFArrays. Except as noted, magic value blanking is supported (OBIT_MAGIC). There are no instances of this "class"


Function Documentation

ObitFArray* ObitFArrayUtilConvolve ObitFArray in1,
ObitFArray in2,
ObitErr err
 

Public: Convolve two arrays.

Parameters:
in1 First input array
in2 Second input array
err Error stack, returns if not empty.
Returns:
Convolution, shoud be ObitFArrayUnrefed when done

gfloat ObitFArrayUtilFitCGauss ObitFArray in,
gfloat *  FWHM,
gfloat *  center,
gfloat *  peak,
ObitErr err
 

Public: Fit 2-D circular Gaussian.

Starting solution is peak value in array in.

Parameters:
in 2-D FArray to fit
FWHM [in] half width of box around peak to use in fitting 0 => all.
FWHM [out] Full width malf max of Gaussian
center [out] 0-rel center pixel position
peak [out] Peak value
err Error stack, returns if not empty.
Returns:
RMS residual, -1 on error


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