DcrDraPropertyMap

class lsst.pipe.tasks.healSparseMappingProperties.DcrDraPropertyMap(config, name)

Bases: BasePropertyMap

Effect of DCR on delta-RA property map.

Attributes Summary

registry

requires_psf

Methods Summary

accumulate_values(indices, ra, dec, weights, ...)

Accumulate values from a row of a visitSummary table.

finalize_mean_values(total_weights, total_inputs)

Finalize the accumulation of the mean and weighted mean.

initialize_tract_maps(nside_coverage, nside)

Initialize the tract maps.

initialize_values(n_pixels)

Initialize the value arrays for accumulation.

set_map_values(pixels)

Assign accumulated values to the maps.

Attributes Documentation

registry = <lsst.pipe.tasks.healSparseMappingProperties.PropertyMapRegistry object>
requires_psf = False

Methods Documentation

accumulate_values(indices, ra, dec, weights, scalings, row, psf_array=None)

Accumulate values from a row of a visitSummary table.

Parameters:
indicesnp.ndarray

Indices of values that should be accumulated.

ranp.ndarray

Array of right ascension for indices

decnp.ndarray

Array of declination for indices

weightsfloat or np.ndarray

Weight(s) for indices to be accumulated.

scalingsfloat or np.ndarray

Scaling values to coadd zeropoint.

rowlsst.afw.table.ExposureRecord

Row of a visitSummary ExposureCatalog.

psf_arraynp.ndarray, optional

Array of approximate psf values matched to ra/dec.

Raises:
ValueErrorRaised if requires_psf is True and psf_array is None.
finalize_mean_values(total_weights, total_inputs)

Finalize the accumulation of the mean and weighted mean.

Parameters:
total_weightsnp.ndarray

Total accumulated weights, for each value index.

total_inputsnp.ndarray

Total number of inputs, for each value index.

initialize_tract_maps(nside_coverage, nside)

Initialize the tract maps.

Parameters:
nside_coverageint

Healpix nside of the healsparse coverage map.

nsideint

Healpix nside of the property map.

initialize_values(n_pixels)

Initialize the value arrays for accumulation.

Parameters:
n_pixelsint

Number of pixels in the map.

set_map_values(pixels)

Assign accumulated values to the maps.

Parameters:
pixelsnp.ndarray

Array of healpix pixels (nest scheme) to set in the map.