PsfE2PropertyMap¶
-
class
lsst.pipe.tasks.healSparseMappingProperties.
PsfE2PropertyMap
(config, name)¶ Bases:
lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap
PSF shape e2 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
= True¶
Methods Documentation
-
accumulate_values
(indices, ra, dec, weights, scalings, row, psf_array=None)¶ Accumulate values from a row of a visitSummary table.
Parameters: - indices :
np.ndarray
Indices of values that should be accumulated.
- ra :
np.ndarray
Array of right ascension for indices
- dec :
np.ndarray
Array of declination for indices
- weights :
float
ornp.ndarray
Weight(s) for indices to be accumulated.
- scalings :
float
ornp.ndarray
Scaling values to coadd zeropoint.
- row :
lsst.afw.table.ExposureRecord
Row of a visitSummary ExposureCatalog.
- psf_array :
np.ndarray
, optional Array of approximate psf values matched to ra/dec.
Raises: - ValueError : Raised if requires_psf is True and psf_array is None.
- indices :
-
finalize_mean_values
(total_weights, total_inputs)¶ Finalize the accumulation of the mean and weighted mean.
Parameters: - total_weights :
np.ndarray
Total accumulated weights, for each value index.
- total_inputs :
np.ndarray
Total number of inputs, for each value index.
- total_weights :
-
initialize_tract_maps
(nside_coverage, nside)¶ Initialize the tract maps.
Parameters:
-
initialize_values
(n_pixels)¶ Initialize the value arrays for accumulation.
Parameters: - n_pixels :
int
Number of pixels in the map.
- n_pixels :
-
set_map_values
(pixels)¶ Assign accumulated values to the maps.
Parameters: - pixels :
np.ndarray
Array of healpix pixels (nest scheme) to set in the map.
- pixels :
-