CCD Image Processing#

CCD Processing API#

astropop.image.processing Module#

Functions#

cosmics_lacosmic(frame[, inplace])

Remove cosmic rays with LAcosmic.

gain_correct(image, gain[, inplace])

Process the gain correction of an image.

subtract_bias(image, master_bias[, inplace])

Subtract a master_bias frame from a FrameData.

subtract_dark(image, master_dark, ...[, inplace])

Subtract master_dark frame from a FrameData.

flat_correct(image, master_flat[, ...])

Divide the image by a flat field frame.

trim_image(image[, x_slice, y_slice, inplace])

Trim an image to a given section.