lsst.meas.algorithms  13.0-23-gb99accf8+4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
CR.cc File Reference

Detect cosmic rays in a MaskedImage. More...

#include <stdexcept>
#include <algorithm>
#include <cassert>
#include <string>
#include <typeinfo>
#include <iostream>
#include "boost/format.hpp"
#include "lsst/pex/exceptions.h"
#include "lsst/log/Log.h"
#include "lsst/afw/detection/Footprint.h"
#include "lsst/afw/geom.h"
#include "lsst/afw/detection/Psf.h"
#include "lsst/afw/image/MaskedImage.h"
#include "lsst/afw/math/Random.h"
#include "lsst/meas/algorithms/CR.h"
#include "lsst/meas/algorithms/Interp.h"

Go to the source code of this file.

Classes

class  lsst::afw::detection::IdSpan
 run-length code for part of object More...
 
struct  lsst::afw::detection::IdSpanCompar
 comparison functor; sort by ID, then by row (y), then by column range start (x0) More...
 

Namespaces

 lsst
 
 lsst::afw
 
 lsst::afw::detection
 
 lsst::meas
 
 lsst::meas::algorithms
 Fit spatial kernel using approximate fluxes for candidates, and solving a linear system of equations.
 

Functions

int lsst::afw::detection::resolve_alias (const std::vector< int > &aliases, int id)
 Follow a chain of aliases, returning the final resolved value. More...
 
template<typename MaskedImageT >
std::vector< std::shared_ptr
< detection::Footprint > > 
lsst::meas::algorithms::findCosmicRays (MaskedImageT &mimage, detection::Psf const &psf, double const bkgd, lsst::pex::policy::Policy const &policy, bool const keep)
 Find cosmic rays in an Image, and mask and remove them. More...
 

Detailed Description

Detect cosmic rays in a MaskedImage.

Definition in file CR.cc.

Variable Documentation

MaskedImageT::Mask::Pixel _badMask

Definition at line 970 of file CR.cc.

double _bkgd

Definition at line 315 of file CR.cc.

bool _debias

Definition at line 971 of file CR.cc.

int _i
mutable

Definition at line 161 of file CR.cc.

MaskedImageT const& _image

Definition at line 967 of file CR.cc.

int _ncol

Definition at line 969 of file CR.cc.

int _nrow

Definition at line 969 of file CR.cc.

lsst::afw::math::Random& _rand

Definition at line 972 of file CR.cc.

ImageT _sum

Definition at line 316 of file CR.cc.

int col

Definition at line 156 of file CR.cc.

int id

Definition at line 155 of file CR.cc.

int row

Definition at line 157 of file CR.cc.

ImageT val

Definition at line 158 of file CR.cc.