SourceXtractorPlusPlus  0.10
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
SourceXtractor::CoreThresholdPartitionStep Class Reference

A PartitionStep that rejects Sources if they do not have at least a given number of pixels. More...

#include <CoreThresholdPartitionStep.h>

Inheritance diagram for SourceXtractor::CoreThresholdPartitionStep:
[legend]
Collaboration diagram for SourceXtractor::CoreThresholdPartitionStep:
[legend]

Public Member Functions

virtual ~CoreThresholdPartitionStep ()=default
 Destructor. More...
 
 CoreThresholdPartitionStep (double snr_level, unsigned int min_pixel_count)
 Constructor. More...
 
virtual std::vector< std::shared_ptr< SourceInterface > > partition (std::shared_ptr< SourceInterface > source) const override
 
- Public Member Functions inherited from SourceXtractor::PartitionStep
virtual ~PartitionStep ()=default
 Destructor. More...
 

Private Attributes

double m_snr_level
 
unsigned int m_min_pixel_count
 

Detailed Description

A PartitionStep that rejects Sources if they do not have at least a given number of pixels.

Definition at line 35 of file CoreThresholdPartitionStep.h.

Constructor & Destructor Documentation

◆ ~CoreThresholdPartitionStep()

virtual SourceXtractor::CoreThresholdPartitionStep::~CoreThresholdPartitionStep ( )
virtualdefault

Destructor.

◆ CoreThresholdPartitionStep()

SourceXtractor::CoreThresholdPartitionStep::CoreThresholdPartitionStep ( double  snr_level,
unsigned int  min_pixel_count 
)

Constructor.

Definition at line 30 of file CoreThresholdPartitionStep.cpp.

Member Function Documentation

◆ partition()

std::vector< std::shared_ptr< SourceInterface > > SourceXtractor::CoreThresholdPartitionStep::partition ( std::shared_ptr< SourceInterface source) const
overridevirtual

Implements SourceXtractor::PartitionStep.

Definition at line 34 of file CoreThresholdPartitionStep.cpp.

References SourceXtractor::PixelCoordinateList::getCoordinateList(), m_min_pixel_count, and m_snr_level.

Here is the call graph for this function:

Member Data Documentation

◆ m_min_pixel_count

unsigned int SourceXtractor::CoreThresholdPartitionStep::m_min_pixel_count
private

Definition at line 50 of file CoreThresholdPartitionStep.h.

Referenced by partition().

◆ m_snr_level

double SourceXtractor::CoreThresholdPartitionStep::m_snr_level
private

Definition at line 49 of file CoreThresholdPartitionStep.h.

Referenced by partition().


The documentation for this class was generated from the following files: