Coverage for python/lsst/meas/algorithms/findCosmicRaysConfig.py : 71%

Hot-keys 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
# # LSST Data Management System # # Copyright 2008-2017 AURA/LSST. # # This product includes software developed by the # LSST Project (http://www.lsst.org/). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the LSST License Statement and # the GNU General Public License along with this program. If not, # see <https://www.lsstcorp.org/LegalNotices/>. #
"""Config for the findCosmicRays function """ dtype=int, doc="maximum number of contaminated pixels", default=10000, ) dtype=float, doc="CRs must be > this many sky-sig above sky", default=6.0, ) dtype=float, doc="CRs must have > this many DN (== electrons/gain) in initial detection", default=150.0, ) dtype=float, doc="used in condition 3 for CR; see CR.cc code", default=2.5, ) dtype=float, doc="used in condition 3 for CR; see CR.cc code", default=0.6, ) dtype=int, doc="number of times to look for contaminated pixels near known CR pixels", default=3, ) dtype=bool, doc="Don't interpolate over CR pixels", default=False, ) target=SubtractBackgroundTask, doc="Background estimation configuration" )
self.background.useApprox = False self.background.binSize = 100000 self.background.statisticsProperty = "MEDIAN" self.background.undersampleStyle = "REDUCE_INTERP_ORDER" self.background.algorithm = "AKIMA_SPLINE" |