make.aperture.map: Create a Full Mask

make.aperture.mapR Documentation

Create a Full Mask

Description

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

Create a full image mask of all smaller masks/apertures which are input. The full mask is of dimension fullmaskdim. Pixel locations for the placement of smaller masks on large mask are determined from the input variables x, y.

Usage

make.aperture.map(outenv=parent.env(environment()),
masks, fullmaskdim, env=NULL, subs=NULL)

Arguments

outenv

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

masks

numeric length(m) list of (n,n) arrays; length (m) list of (n,n) stamps, each containing an aperture mask.

fullmaskdim

numeric (2) vector; fullmaskdim[1] is the x-dimension of the full mask. fullmaskdim[2] is the y-dimension. fullmaskdim values must be > submask width.

env

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

subs

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

Value

array; full mask, with dimensions fullmaskdim, of smaller masks placed in their appropriate locations.

Author(s)

Angus H Wright ICRAR angus.wright@icrar.org

See Also

measure.fluxes, flux.measurements


AngusWright/LAMBDAR documentation built on Sept. 19, 2024, 10:26 a.m.