OPERA
1.0
Open source echelle spectrograph reduction pipeline
|
Go to the source code of this file.
Defines | |
#define | MAXIMAGES 1000 |
Functions | |
void | operaSumImbyConstant (long npixels, float *img, float number) |
void | operaSubtractImbyConstant (long npixels, float *img, float number) |
void | operaMultiplyImbyConstant (long npixels, float *img, float number) |
void | operaDivideImbyConstant (long npixels, float *img, float number) |
void | operaImSubtractIm (long npixels, float *img1, float *img2) |
float * | medianCombineFloat (unsigned depth, long npixels, float *master, float *arrays[]) |
median combine a series of images. | |
unsigned short * | operaArrayMedianCombineUSHORT (unsigned depth, long npixels, unsigned short *master, unsigned short *arrays[]) |
median combine a series of images. | |
void | operaImMean (unsigned depth, long npixels, float *master, float *arrays[]) |
Mean combine a series of arrays (images) into the master. | |
void | operaImWeightedMean (unsigned depth, long npixels, float *master, float *arrays[], float *weights[]) |
Mean combine a series of arrays (images) weighted by weights into the master. | |
void | operaImSig (unsigned depth, long npixels, float *sigarray, float *arrays[], float *master) |
Calculate the standard deviation image from a series of images with respect to a master image. | |
void | operaImWeightedSig (unsigned depth, long npixels, float *sigarray, float *arrays[], float *weights[], float *master) |
Calculate the weighted standard deviation image from a series of images with respect to a master image. | |
void | operaImAvgSigClip (unsigned depth, long npixels, float *master, float *arrays[], unsigned nsig) |
Average sigma clip combine a series of arrays (images) into the master. | |
float | operaCCDVarDiff (unsigned depth, long npixels, float *arrays[], float *weight) |
.... | |
void | operaImVarDiff (unsigned depth, long npixels, float *arrays[], float *diffvarimg) |
Calculate the variance of the difference between consecutive images. | |
void | operaImMeanQuick (unsigned depth, long npixels, float *master, float *arrays[]) |
Mean combine a series of arrays (images) into the master. | |
void | operaImWeightedMeanQuick (unsigned depth, long npixels, float *master, float *arrays[], float *weights[]) |
Mean combine a series of arrays (images) weighted by weights into the master. | |
void | operaImSigQuick (unsigned depth, long npixels, float *sigarray, float *arrays[], float *master) |
Calculate the standard deviation image from a series of images with respect to a master image. | |
void | operaImWeightedSigQuick (unsigned depth, long npixels, float *sigarray, float *arrays[], float *weights[], float *master) |
Calculate the weighted standard deviation image from a series of images with respect to a master image. | |
void | operaImAvgSigClipQuick (unsigned depth, long npixels, float *master, float *arrays[], unsigned nsig) |
Average sigma clip combine a series of arrays (images) into the master. |
#define MAXIMAGES 1000 |
float* medianCombineFloat | ( | unsigned | depth, |
long | npixels, | ||
float * | master, | ||
float * | arrays[] | ||
) |
median combine a series of images.
float *medianCombineFloat(unsigned depth, long npixels, float *output, float *images[])
depth | is an unsigned that ... |
npixels | is a long that ... |
master | is a float pointer that ... |
arrays | is a float pointer pointer that ... |
unsigned short* operaArrayMedianCombineUSHORT | ( | unsigned | depth, |
long | npixels, | ||
unsigned short * | master, | ||
unsigned short * | arrays[] | ||
) |
median combine a series of images.
unsigned short *operaArrayMedianCombineUSHORT(unsigned depth, long npixels, unsigned short *master, unsigned short *arrays[])
depth | is an unsigned that ... |
npixels | is a long that ... |
master | is a unsigned short pointer that ... |
arrays | is a unsigned short pointer pointer that ... |
float operaCCDVarDiff | ( | unsigned | depth, |
long | npixels, | ||
float * | arrays[], | ||
float * | weight | ||
) |
....
float operaCCDVarDiff(unsigned depth, long npixels, float *arrays[], float *weight)
depth | is an unsigned that ... |
npixels | is a long that ... |
arrays | is a float pointer pointer that ... |
weight | is a float pointer that ... |
void operaDivideImbyConstant | ( | long | npixels, |
float * | img, | ||
float | number | ||
) | [inline] |
void operaImAvgSigClip | ( | unsigned | depth, |
long | npixels, | ||
float * | master, | ||
float * | arrays[], | ||
unsigned | nsig | ||
) |
Average sigma clip combine a series of arrays (images) into the master.
void operaImAvgSigClip(unsigned depth, long npixels, float *master, float *arrays[], unsigned nsig)
depth | is an unsigned for the number of input images |
npixels | is a long for the number of elements in array |
master | is a float pointer that returns the resulting image |
arrays | is an array of float pointers that contains the input images |
nsig | is an unsigned for the size to clip data in sigma units |
void operaImAvgSigClipQuick | ( | unsigned | depth, |
long | npixels, | ||
float * | master, | ||
float * | arrays[], | ||
unsigned | nsig | ||
) | [inline] |
Average sigma clip combine a series of arrays (images) into the master.
inline void operaImAvgSigClipQuick(unsigned depth, long npixels, float *master, float *arrays[], unsigned nsig)
depth | is an unsigned that ... |
npixels | is a long that ... |
sigarray | is a float pointer that ... |
arrays | is a float pointer pointer that ... |
master | is a float pointer that ... |
void operaImMean | ( | unsigned | depth, |
long | npixels, | ||
float * | master, | ||
float * | arrays[] | ||
) |
Mean combine a series of arrays (images) into the master.
void operaImMean(unsigned depth, long npixels, float *master, float *arrays[])
depth | is an unsigned for the number of input images |
npixels | is a long for the number of elements in array |
master | is a float pointer that returns the resulting image |
arrays | is an array of float pointers that contains the input images |
void operaImMeanQuick | ( | unsigned | depth, |
long | npixels, | ||
float * | master, | ||
float * | arrays[] | ||
) | [inline] |
Mean combine a series of arrays (images) into the master.
inline void operaImMeanQuick(unsigned depth, long npixels, float *master, float *arrays[])
depth | is an unsigned that ... |
master | is a float pointer that ... |
arrays | is a float pointer pointer that ... |
void operaImSig | ( | unsigned | depth, |
long | npixels, | ||
float * | sigarray, | ||
float * | arrays[], | ||
float * | master | ||
) |
Calculate the standard deviation image from a series of images with respect to a master image.
void operaImSig(unsigned depth, long npixels, float *sigarray, float *arrays[], float *master)
depth | is an unsigned for the number of input images |
npixels | is a long for the number of elements in array |
sigarray | is a float pointer that returns the resulting standard deviation image |
arrays | is an array of float pointers that contains the input images |
master | is a float pointer for the input master image |
void operaImSigQuick | ( | unsigned | depth, |
long | npixels, | ||
float * | sigarray, | ||
float * | arrays[], | ||
float * | master | ||
) | [inline] |
Calculate the standard deviation image from a series of images with respect to a master image.
inline void operaImSigQuick(unsigned depth, long npixels, float *sigarray, float *arrays[], float *master)
depth | is an unsigned that ... |
npixels | is a long that ... |
sigarray | is a float pointer that ... |
arrays | is a float pointer pointer that ... |
master | is a float pointer that ... |
void operaImSubtractIm | ( | long | npixels, |
float * | img1, | ||
float * | img2 | ||
) | [inline] |
void operaImVarDiff | ( | unsigned | depth, |
long | npixels, | ||
float * | arrays[], | ||
float * | diffvarimg | ||
) |
Calculate the variance of the difference between consecutive images.
void operaImVarDiff(unsigned depth, long npixels, float *arrays[], float *diffvarimg)
depth | is an unsigned for the number of input images |
npixels | is a long for the number of elements in array |
arrays | is an array of float pointers that contains the input images |
diffvarimg | is a float pointer that returns the resulting image |
void operaImWeightedMean | ( | unsigned | depth, |
long | npixels, | ||
float * | master, | ||
float * | arrays[], | ||
float * | weights[] | ||
) |
Mean combine a series of arrays (images) weighted by weights into the master.
void operaImWeightedMean(unsigned depth, long npixels, float *master, float *arrays[], float *weights[])
depth | is an unsigned for the number of input images |
npixels | is a long for the number of elements in array |
master | is a float pointer that returns the resulting image |
arrays | is an array of float pointers that contains the input images |
weights | is an array of float pointers that contains the input weight images |
void operaImWeightedMeanQuick | ( | unsigned | depth, |
long | npixels, | ||
float * | master, | ||
float * | arrays[], | ||
float * | weights[] | ||
) | [inline] |
Mean combine a series of arrays (images) weighted by weights into the master.
inline void operaImWeightedMeanQuick(unsigned depth, long npixels, float *master, float *arrays[], float *weights[])
depth | is an unsigned that ... |
npixels | is a long that ... |
master | is a float pointer that ... |
arrays | is a float pointer pointer that ... |
weights | is a float pointer pointer that ... |
void operaImWeightedSig | ( | unsigned | depth, |
long | npixels, | ||
float * | sigarray, | ||
float * | arrays[], | ||
float * | weights[], | ||
float * | master | ||
) |
Calculate the weighted standard deviation image from a series of images with respect to a master image.
void operaImWeightedSig(unsigned depth, long npixels, float *sigarray, float *arrays[], float *master)
depth | is an unsigned for the number of input images |
npixels | is a long for the number of elements in array |
sigarray | is a float pointer that returns the resulting standard deviation image |
arrays | is an array of float pointers that contains the input images |
arrays | is an array of float pointers that contains the input weight images |
master | is a float pointer for the input master image |
void operaImWeightedSigQuick | ( | unsigned | depth, |
long | npixels, | ||
float * | sigarray, | ||
float * | arrays[], | ||
float * | weights[], | ||
float * | master | ||
) | [inline] |
Calculate the weighted standard deviation image from a series of images with respect to a master image.
depth | is an unsigned that ... |
npixels | is a long that ... |
sigarray | is a float pointer that ... |
arrays | is a float pointer pointer that ... |
master | is a float pointer that ... |
void operaMultiplyImbyConstant | ( | long | npixels, |
float * | img, | ||
float | number | ||
) | [inline] |
void operaSubtractImbyConstant | ( | long | npixels, |
float * | img, | ||
float | number | ||
) | [inline] |
void operaSumImbyConstant | ( | long | npixels, |
float * | img, | ||
float | number | ||
) | [inline] |