lsst.pipe.tasks gcf00bf066d+4f59a27f16
Loading...
Searching...
No Matches
lsst.pipe.tasks.healSparseMappingProperties.PsfE1PropertyMap Class Reference
Inheritance diagram for lsst.pipe.tasks.healSparseMappingProperties.PsfE1PropertyMap:
lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap

Public Member Functions

 initialize_tract_maps (self, nside_coverage, nside)
 
 initialize_values (self, n_pixels)
 
 accumulate_values (self, indices, ra, dec, weights, scalings, row, psf_array=None)
 
 finalize_mean_values (self, total_weights, total_inputs)
 
 set_map_values (self, pixels)
 

Public Attributes

 config = config
 
 name = name
 
float zeropoint = 0.0
 
 min_map
 
 max_map
 
 mean_map
 
 weighted_mean_map
 
 sum_map
 
 min_values = np.zeros(n_pixels, dtype=self.dtype)
 
 max_values = np.zeros(n_pixels, dtype=self.dtype)
 
 mean_values = np.zeros(n_pixels, dtype=self.dtype)
 
 weighted_mean_values = np.zeros(n_pixels, dtype=self.dtype)
 
 sum_values = np.zeros(n_pixels, dtype=self.dtype)
 

Static Public Attributes

 dtype = np.float64
 
bool requires_psf = False
 
str description = ""
 
str unit = ""
 
 ConfigClass = BasePropertyMapConfig
 
 registry = PropertyMapRegistry(BasePropertyMapConfig)
 

Protected Member Functions

 _compute (self, row, ra, dec, scalings, psf_array=None)
 
 _post_process (self, total_weights, total_inputs)
 

Detailed Description

PSF shape e1 property map.

Definition at line 432 of file healSparseMappingProperties.py.

Member Function Documentation

◆ _compute()

lsst.pipe.tasks.healSparseMappingProperties.PsfE1PropertyMap._compute ( self,
row,
ra,
dec,
scalings,
psf_array = None )
protected
Compute map value from a row in the visitSummary catalog.

Parameters
----------
row : `lsst.afw.table.ExposureRecord`
    Row of a visitSummary ExposureCatalog.
ra : `np.ndarray`
    Array of right ascensions
dec : `np.ndarray`
    Array of declinations
scalings : `float` or `np.ndarray`
    Scaling values to coadd zeropoint.
psf_array : `np.ndarray`, optional
    Array of approximate psf values matched to ra/dec.

Reimplemented from lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.

Definition at line 437 of file healSparseMappingProperties.py.

◆ _post_process()

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap._post_process ( self,
total_weights,
total_inputs )
protectedinherited
Perform post-processing on values.

Parameters
----------
total_weights : `np.ndarray`
    Total accumulated weights, for each value index.
total_inputs : `np.ndarray`
    Total number of inputs, for each value index.

Reimplemented in lsst.pipe.tasks.healSparseMappingProperties.PsfMaglimPropertyMap.

Definition at line 396 of file healSparseMappingProperties.py.

◆ accumulate_values()

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.accumulate_values ( self,
indices,
ra,
dec,
weights,
scalings,
row,
psf_array = None )
inherited
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 298 of file healSparseMappingProperties.py.

◆ finalize_mean_values()

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.finalize_mean_values ( self,
total_weights,
total_inputs )
inherited
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 339 of file healSparseMappingProperties.py.

◆ initialize_tract_maps()

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.initialize_tract_maps ( self,
nside_coverage,
nside )
inherited
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 226 of file healSparseMappingProperties.py.

◆ initialize_values()

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.initialize_values ( self,
n_pixels )
inherited
Initialize the value arrays for accumulation.

Parameters
----------
n_pixels : `int`
    Number of pixels in the map.

Definition at line 276 of file healSparseMappingProperties.py.

◆ set_map_values()

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.set_map_values ( self,
pixels )
inherited
Assign accumulated values to the maps.

Parameters
----------
pixels : `np.ndarray`
    Array of healpix pixels (nest scheme) to set in the map.

Definition at line 359 of file healSparseMappingProperties.py.

Member Data Documentation

◆ config

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.config = config
inherited

Definition at line 222 of file healSparseMappingProperties.py.

◆ ConfigClass

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.ConfigClass = BasePropertyMapConfig
staticinherited

Definition at line 216 of file healSparseMappingProperties.py.

◆ description

str lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.description = ""
staticinherited

Definition at line 213 of file healSparseMappingProperties.py.

◆ dtype

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.dtype = np.float64
staticinherited

Definition at line 210 of file healSparseMappingProperties.py.

◆ max_map

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.max_map
inherited
Initial value:
= hsp.HealSparseMap.make_empty(nside_coverage,
nside,
self.dtype,
metadata=metadata)

Definition at line 250 of file healSparseMappingProperties.py.

◆ max_values

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.max_values = np.zeros(n_pixels, dtype=self.dtype)
inherited

Definition at line 289 of file healSparseMappingProperties.py.

◆ mean_map

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.mean_map
inherited
Initial value:
= hsp.HealSparseMap.make_empty(nside_coverage,
nside,
self.dtype,
metadata=metadata)

Definition at line 257 of file healSparseMappingProperties.py.

◆ mean_values

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.mean_values = np.zeros(n_pixels, dtype=self.dtype)
inherited

Definition at line 292 of file healSparseMappingProperties.py.

◆ min_map

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.min_map
inherited
Initial value:
= hsp.HealSparseMap.make_empty(nside_coverage,
nside,
self.dtype,
metadata=metadata)

Definition at line 243 of file healSparseMappingProperties.py.

◆ min_values

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.min_values = np.zeros(n_pixels, dtype=self.dtype)
inherited

Definition at line 285 of file healSparseMappingProperties.py.

◆ name

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.name = name
inherited

Definition at line 223 of file healSparseMappingProperties.py.

◆ registry

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.registry = PropertyMapRegistry(BasePropertyMapConfig)
staticinherited

Definition at line 218 of file healSparseMappingProperties.py.

◆ requires_psf

bool lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.requires_psf = False
staticinherited

Definition at line 211 of file healSparseMappingProperties.py.

◆ sum_map

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.sum_map
inherited
Initial value:
= hsp.HealSparseMap.make_empty(nside_coverage,
nside,
self.dtype,
metadata=metadata)

Definition at line 271 of file healSparseMappingProperties.py.

◆ sum_values

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.sum_values = np.zeros(n_pixels, dtype=self.dtype)
inherited

Definition at line 296 of file healSparseMappingProperties.py.

◆ unit

str lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.unit = ""
staticinherited

Definition at line 214 of file healSparseMappingProperties.py.

◆ weighted_mean_map

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.weighted_mean_map
inherited
Initial value:
= hsp.HealSparseMap.make_empty(nside_coverage,
nside,
self.dtype,
metadata=metadata)

Definition at line 264 of file healSparseMappingProperties.py.

◆ weighted_mean_values

lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.weighted_mean_values = np.zeros(n_pixels, dtype=self.dtype)
inherited

Definition at line 294 of file healSparseMappingProperties.py.

◆ zeropoint

float lsst.pipe.tasks.healSparseMappingProperties.BasePropertyMap.zeropoint = 0.0
inherited

Definition at line 224 of file healSparseMappingProperties.py.


The documentation for this class was generated from the following file: