Reference/API#

niriss_tools.isophotal Package#

A subpackage to handle isophotal modelling of galaxies.

This includes alignment and reprojection of all images to the NIRISS reference, and iterative isophote measurements for each image.

Functions#

calc_full_var(sci_path, wht_path, exp_path)

Calculate the full variance array from "sci", "wht", and "exp" images.

gen_new_wcs(ref_path[, ref_hdu_index, ...])

Generate a new WCS for a given reference image.

match_photutils(source_psf, target_psf[, ...])

Create a PSF-matching kernel using photutils.

match_pypher(source_psf, target_psf[, ...])

Create a PSF-matching kernel using pypher.

pad_wcs(wcs_in, padding)

Add padding to all relevant WCS keywords.

pc_to_cd(hdr_in)

Convert a PC matrix to a CD matrix.

reproject_and_convolve(ref_path, ...[, ...])

Align, reproject, and PSF match one or more images to a reference.

reproject_image(input_path, output_path, ...)

Reproject an image to a new WCS.