make.convolved.apertures: Make Weighted and Convolved Apertures

View source: R/make.convolved.apertures.R

make.convolved.aperturesR Documentation

Make Weighted and Convolved Apertures

Description

__This function is not designed to be called directly, but rather is an internal function to measure.fluxes__

Convolve the input aperture stamps with the PSF, and weight the resultant apertures by the input flux.weightin.

Usage

make.convolved.apertures(outenv = parent.env(environment()),
sa_mask, flux.weightin = NULL, immask = NULL, env = NULL,
subs = NULL)

Arguments

env

environment; the environment containing the parameters used in ‘measure.fluxes’

sa_mask

numeric length (m) list of (n,n) arrays; a length (m) list of (n,n) aperture stamps

flux.weightin

numeric vector; can be either a length (m) vector of aperture weights, or a single numeric applied to all apertures as a scale-factor.

immask

numeric length (m) list of (n,n) arrays; a length (m) list of (n,n) mask stamps

outenv

environment; the environment where the returned values are to be stored. If not provided, outenv defaults to the input env.

subs

numeric length(k) vector; the subset of apertures to convolve and weight. Default NULL is treated as 1:length(m).

Value

numeric length (m) list of (n,n) arrays; a length (m) list of (n,n) convolved & weighted aperture stamps

Author(s)

Angus H Wright ICRAR angus.wright@icrar.org

See Also

measure.fluxes, flux.measurements, convolve.psf


AngusWright/LAMBDAR documentation built on May 12, 2022, 1:49 a.m.