ContSourceDetector Class Reference

Public Member Functions

Protected Member Functions

Protected Attributes


Detailed Description

Continuum Source detection

Detection of continuum sources in dithered frames. Use smoothed spectra to construct a significance map using the sampe procedure employed by the PointSourceDetector.


Constructor & Destructor Documentation

ContSourceDetector::ContSourceDetector ( const DitherEnvironment DE  )  [inline]

Member Function Documentation

void ContSourceDetector::detect (  ) 

Run the detection process for continuum sources: Compute the significance map, segment it, and output the on-sky geometry of segments passing some significance criteria.

References computeSignificanceMap(), DetectOptions::cont_sigma, DE_, DetectOptions::dump_segments, g, DitherEnvironment::get_detect_parameters(), DetectOptions::read_csigma, ImageSegmenter::segment(), and write_continuum_catalog().

Referenced by main().

void ContSourceDetector::write_continuum_catalog ( const list< ImSegment > &  segments,
const SignificanceMap Sigma 
) const [protected]
SignificanceMap ContSourceDetector::computeSignificanceMap (  )  const [protected]
void ContSourceDetector::compute_sigma ( PointSource data  )  const [protected]

compute significance of detection of tested LAE also set ignore flag in res elements that have continuum detections Input:

  • LAE data structure Output: Modifies LAE structure
  • significance of detection: LAE.sigma
  • left and right continuum values

compute significance of continuum detection at a given location on the sky (and wavelength) by inspecting the smoothed continuum spectra, not the original images.

Input:

  • PointSource data structure Output: Modifies PointSource structure
  • total continuum value: PointSource.cont, PointSource.dcont.

References PointSource::DetectionData::ap_sigma, ResElem::apfrac, PooledList< T >::begin(), consider_res_elem(), PointSource::DetectionData::cont, PointSource::DetectionData::dcont, PointSource::dd, DE_, PooledList< T >::end(), PointSource::DetectionData::fb_sigma, VFrame::get_cont(), VFrame::get_econt(), DitherEnvironment::get_vframe(), PointSource::PointSourceModel, ResElem::tf, ResElem::tu, and ResElem::x.

Referenced by computeSignificanceMap().

void ContSourceDetector::get_kron_aperture ( const ImSegment s,
float  minap,
float  k,
float *  ka,
float *  kb 
) const [protected]

compute the kron-like aperture given the semi-axes, the intensity-weighted radius, a minimum aperture, and a kron factor.

References ImSegment::a_, ImSegment::b_, and ImSegment::ir1_.

Referenced by write_continuum_catalog().

bool ContSourceDetector::consider_res_elem ( const ResElem res  )  const [inline, protected]

check the properties of a resolution element to see if it should be dropped or included in the calculation of sigma, chi2, ...

References ResElem::apfrac, detect_pars_, DetectOptions::flux_thresh, and ResElem::ignore.

Referenced by compute_sigma().


Field Documentation

Referenced by consider_res_elem().


Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1