Coverage for python/lsst/validate/drp/calcsrd/pa1.py: 67%

Shortcuts on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

3 statements  

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/>. 

20 

21from lsst.validate.drp.repeatability import measurePhotRepeat 

22 

23 

24def measurePA1(*args, **kwargs): 

25 """Measurement of the PA1 metric: photometric repeatability of 

26 measurements across a set of observations. 

27 

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`. 

34 

35 Returns 

36 ------- 

37 measurement : `lsst.verify.Measurement` 

38 Measurement of PA1 and associated metadata. 

39 

40 """ 

41 

42 return measurePhotRepeat(*args, **kwargs)