Coverage for python/lsst/ip/diffim/__init__.py: 100%

19 statements  

« prev     ^ index     » next       coverage.py v7.5.0, created at 2024-04-26 03:39 -0700

1# 

2# LSST Data Management System 

3# 

4# This product includes software developed by the 

5# LSST Project (http://www.lsst.org/). 

6# See the COPYRIGHT file 

7# 

8# This program is free software: you can redistribute it and/or modify 

9# it under the terms of the GNU General Public License as published by 

10# the Free Software Foundation, either version 3 of the License, or 

11# (at your option) any later version. 

12# 

13# This program is distributed in the hope that it will be useful, 

14# but WITHOUT ANY WARRANTY; without even the implied warranty of 

15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 

16# GNU General Public License for more details. 

17# 

18# You should have received a copy of the LSST License Statement and 

19# the GNU General Public License along with this program. If not, 

20# see <https://www.lsstcorp.org/LegalNotices/>. 

21# 

22 

23# C++ wrapper 

24# hoist symbols lsst.ip.diffim.detail up into lsst.ip.diffim 

25from .diffimLib import * 

26 

27# Python code 

28from .computeSpatiallySampledMetrics import * 

29from .dcrModel import * 

30from .psfMatch import * 

31from .modelPsfMatch import * 

32from .makeKernel import * 

33from .makeKernelBasisList import * 

34from .dipoleMeasurement import * 

35from .getTemplate import * 

36from .dipoleFitTask import * 

37from .detectAndMeasure import * 

38from .imageDecorrelation import * 

39from .imageMapReduce import * 

40from .subtractImages import * 

41from .version import * 

42 

43# automatically register ip_diffim Algorithms; 

44# CENTROID_ORDER=0.0, FLUX_ORDER==2.0 

45from lsst.meas.base import wrapSimpleAlgorithm 

46wrapSimpleAlgorithm(NaiveDipoleCentroid, Control=DipoleCentroidControl, executionOrder=0.0, 

47 deprecated="Plugin 'NaiveDipoleCentroid' is deprecated and will be removed after v28.0") 

48wrapSimpleAlgorithm(NaiveDipoleFlux, Control=DipoleFluxControl, executionOrder=2.0, 

49 deprecated="Plugin 'NaiveDipoleFlux' is deprecated and will be removed after v28.0") 

50wrapSimpleAlgorithm(PsfDipoleFlux, Control=PsfDipoleFluxControl, executionOrder=2.0) 

51