BasePropertyMap¶
- class lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap(config, name)¶
- Bases: - object- Base class for property maps. - Parameters:
- configBasePropertyMapConfig
- Property map configuration. 
- namestr
- Property map name. 
 
- config
 - Attributes Summary - 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 
- weightsfloatornp.ndarray
- Weight(s) for indices to be accumulated. 
- scalingsfloatornp.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. 
 
- indices
- 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. 
 
- total_weights
 
 - initialize_tract_maps(nside_coverage, nside)¶
- Initialize the tract maps. 
 - initialize_values(n_pixels)¶
- Initialize the value arrays for accumulation. - Parameters:
- n_pixelsint
- Number of pixels in the map. 
 
- n_pixels
 
 - set_map_values(pixels)¶
- Assign accumulated values to the maps. - Parameters:
- pixelsnp.ndarray
- Array of healpix pixels (nest scheme) to set in the map. 
 
- pixels