Coverage for python/lsst/validate/drp/calcsrd/pa1.py: 67%
3 statements
« prev ^ index » next coverage.py v7.1.0, created at 2023-02-05 19:03 -0800
« prev ^ index » next coverage.py v7.1.0, created at 2023-02-05 19:03 -0800
1# LSST Data Management System
2# Copyright 2008-2019 AURA/LSST.
3#
4# This product includes software developed by the
5# LSST Project (http://www.lsst.org/).
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the LSST License Statement and
18# the GNU General Public License along with this program. If not,
19# see <https://www.lsstcorp.org/LegalNotices/>.
21from lsst.validate.drp.repeatability import measurePhotRepeat
24def measurePA1(*args, **kwargs):
25 """Measurement of the PA1 metric: photometric repeatability of
26 measurements across a set of observations.
28 Parameters
29 ----------
30 *args
31 Arguments to pass to `lsst.validate.drp.measureRepeat`.
32 **kwargs
33 Additional keyword arguments to pass to `lsst.validate.drp.measureRepeat`.
35 Returns
36 -------
37 measurement : `lsst.verify.Measurement`
38 Measurement of PA1 and associated metadata.
40 """
42 return measurePhotRepeat(*args, **kwargs)