Image Arithmetics and Combining#

Image Arithmetics (imarith)#

Todo

Write imarith documentation

Image Combining (imcombine)#

Combining images is performed in astropop using the imcombine function. It is designed to combine FrameData using several methods and rejection algorithms.

The current combine methods are: - median - average - sum

The current rejection methods are: - minmax_clip - sigma_clip

Math Details#

Todo

describe the error computing here

Sum Combine#

Sigma Clipping#

To perform sigma clipping, it is recomended to use median as central tendency and mad_std as deviation estimation. These two estimators handle outliers better then the mean and standard deviation of the distribution, so produce much better results in sigma clipping. A detailed analysis can be found on the CCD Data Reduction Guide.

API#

astropop.image.imarith Module#

Perform math operations with astronomical images in FrameData contianer.

imarith(operand1, operand2, operation[, ...])

Perform arithmetic operations using FrameData.

astropop.image.imcombine Module#

Stack and combine astronomical images in FrameData.

imcombine(frames[, method, memory_limit])

Combine a list of images or frames in a single one.

ImCombiner([max_memory, dtype, tmp_dir, ...])

Process the combining operation of images, like the IRAF imcombine.