|
lsst.pipe.tasks gcae151f86b+6b56d0ebb3
|
Public Member Functions | |
| def | __init__ (self, config, name) |
| def | initialize_tract_maps (self, nside_coverage, nside) |
| def | initialize_values (self, n_pixels) |
| def | accumulate_values (self, indices, ra, dec, weights, scalings, row, psf_array=None) |
| def | finalize_mean_values (self, total_weights, total_inputs) |
| def | set_map_values (self, pixels) |
Public Attributes | |
| config | |
| name | |
| zeropoint | |
| min_map | |
| max_map | |
| mean_map | |
| weighted_mean_map | |
| sum_map | |
| min_values | |
| max_values | |
| mean_values | |
| weighted_mean_values | |
| sum_values | |
Static Public Attributes | |
| dtype = np.float64 | |
| bool | requires_psf = False |
| ConfigClass = BasePropertyMapConfig | |
| registry = PropertyMapRegistry(BasePropertyMapConfig) | |
Base class for property maps.
Parameters
----------
config : `BasePropertyMapConfig`
Property map configuration.
name : `str`
Property map name.
Definition at line 194 of file healSparseMappingProperties.py.
| def lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.__init__ | ( | self, | |
| config, | |||
| name | |||
| ) |
Definition at line 211 of file healSparseMappingProperties.py.
| def lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.accumulate_values | ( | self, | |
| 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` or `np.ndarray`
Weight(s) for indices to be accumulated.
scalings : `float` or `np.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.
Definition at line 270 of file healSparseMappingProperties.py.
| def lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.finalize_mean_values | ( | self, | |
| 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.
Definition at line 311 of file healSparseMappingProperties.py.
| def lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.initialize_tract_maps | ( | self, | |
| nside_coverage, | |||
| nside | |||
| ) |
Initialize the tract maps.
Parameters
----------
nside_coverage : `int`
Healpix nside of the healsparse coverage map.
nside : `int`
Healpix nside of the property map.
Definition at line 217 of file healSparseMappingProperties.py.
| def lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.initialize_values | ( | self, | |
| n_pixels | |||
| ) |
Initialize the value arrays for accumulation.
Parameters
----------
n_pixels : `int`
Number of pixels in the map.
Definition at line 248 of file healSparseMappingProperties.py.
| def lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.set_map_values | ( | self, | |
| pixels | |||
| ) |
Assign accumulated values to the maps.
Parameters
----------
pixels : `np.ndarray`
Array of healpix pixels (nest scheme) to set in the map.
Definition at line 331 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.config |
Definition at line 213 of file healSparseMappingProperties.py.
|
static |
Definition at line 207 of file healSparseMappingProperties.py.
|
static |
Definition at line 204 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.max_map |
Definition at line 232 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.max_values |
Definition at line 261 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.mean_map |
Definition at line 236 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.mean_values |
Definition at line 264 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.min_map |
Definition at line 228 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.min_values |
Definition at line 257 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.name |
Definition at line 214 of file healSparseMappingProperties.py.
|
static |
Definition at line 209 of file healSparseMappingProperties.py.
|
static |
Definition at line 205 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.sum_map |
Definition at line 244 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.sum_values |
Definition at line 268 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.weighted_mean_map |
Definition at line 240 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.weighted_mean_values |
Definition at line 266 of file healSparseMappingProperties.py.
| lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.zeropoint |
Definition at line 215 of file healSparseMappingProperties.py.