LSST Applications g0265f82a02+093ff98f47,g02d81e74bb+3975d4ac1c,g2079a07aa2+14824f138e,g2bbee38e9b+093ff98f47,g337abbeb29+093ff98f47,g3ddfee87b4+626790451e,g3e7165581c+1687b54203,g487adcacf7+018f045a06,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g568d43a26c+02eca3db7e,g591dd9f2cf+3cba9d5141,g858d7b2824+3975d4ac1c,g8a8a8dda67+a6fc98d2e7,g8cdfe0ae6a+66d966b544,g99cad8db69+948283481e,g9ddcbc5298+d4bad12328,ga1e77700b3+246acaaf9c,ga2e4dd1c03+626790451e,ga8c6da7877+c38891e457,gae46bcf261+093ff98f47,gb0e22166c9+3863383f4c,gba4ed39666+9664299f35,gbb8dafda3b+dce3423368,gbeb006f7da+65b42827f3,gbf5cecdb8a+3975d4ac1c,gc0f3af6251+39f4c7265c,gc120e1dc64+1d31f3ee8b,gc28159a63d+093ff98f47,gcf0d15dbbd+626790451e,gd2a12a3803+bbf96b9899,gdaeeff99f8+a38ce5ea23,ge79ae78c31+093ff98f47,gee10cc3b42+a6fc98d2e7,gf1cff7945b+3975d4ac1c,v24.1.5.rc1
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst.pipe.tasks.statistic.Median Class Reference
Inheritance diagram for lsst.pipe.tasks.statistic.Median:
lsst.pipe.tasks.statistic.Statistic

Public Member Functions

 name (cls)
 
 value (self, values)
 

Detailed Description

Definition at line 67 of file statistic.py.

Member Function Documentation

◆ name()

lsst.pipe.tasks.statistic.Median.name ( cls)

Reimplemented from lsst.pipe.tasks.statistic.Statistic.

Definition at line 69 of file statistic.py.

69 def name(cls):
70 return "median"
71
table::Key< std::string > name
Definition Amplifier.cc:116

◆ value()

lsst.pipe.tasks.statistic.Median.value ( self,
values )
Return the value of the statistic given a set of values.

Parameters
----------
values : `Collection` [`float`]
    A set of values to compute the statistic for.
Returns
-------
statistic : `float`
    The value of the statistic.

Reimplemented from lsst.pipe.tasks.statistic.Statistic.

Definition at line 73 of file statistic.py.

73 def value(self, values):
74 return np.median(values)
75
76
77@dataclass(frozen=True)

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