webbpsf_ext.image_manip

Functions

convolve_image(hdul_sci_image, hdul_psfs[, ...])

Convolve image with various PSFs

crop_zero_rows_cols(image[, symmetric, ...])

Crop off rows and columns that are all zeros.

distort_image(hdulist_or_filename[, ext, ...])

Distort an image

fourier_imshift(image, xshift, yshift[, ...])

Fourier shift image

frebin(image[, dimensions, scale, total])

Fractional rebin

fshift(inarr[, delx, dely, pad, cval, interp])

Fractional image shift

image_rescale(HDUlist_or_filename, pixscale_out)

Rescale image flux

make_disk_image(inst, disk_params[, ...])

Rescale disk model flux to desired pixel scale and distance.

model_to_hdulist(args_model, sp_star, bandpass)

HDUList from model FITS file.

pad_or_cut_to_size(array, new_shape[, ...])

Resize an array to a new shape by either padding with zeros or trimming off rows and/or columns.

rotate_offset(data, angle[, cen, cval, ...])

Rotate and offset an array.

rotate_shift_image(hdul[, index, angle, ...])

Rotate/Shift image