SourceXtractorPlusPlus  0.10
Please provide a description of the project.
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
SourceXtractor Namespace Reference

Namespaces

 ExternalFlagCombineTypes
 

Classes

class  Aperture
 
class  ApertureFlag
 Aperture photometry flag. More...
 
class  ApertureFlagTask
 
class  AperturePhotometry
 Aperture photometry fluxes and magnitudes. More...
 
class  AperturePhotometryArray
 Merges all AperturePhotometries into a multidimensional property. More...
 
class  AperturePhotometryArrayTask
 
class  AperturePhotometryConfig
 
class  AperturePhotometryPlugin
 
class  AperturePhotometryTask
 
class  AperturePhotometryTaskFactory
 
class  AttractorsPartitionConfig
 
class  AttractorsPartitionStep
 Splits sources by identifying an attractor pixel by climbing the values gradient from every pixel. More...
 
class  AutoPhotometry
 Auto photometry flux and magnitude. More...
 
class  AutoPhotometryArray
 
class  AutoPhotometryArrayTask
 
class  AutoPhotometryConfig
 
class  AutoPhotometryFlag
 
class  AutoPhotometryFlagTask
 
class  AutoPhotometryPlugin
 
class  AutoPhotometryTask
 
class  AutoPhotometryTaskFactory
 
class  Background
 
class  BackgroundAnalyzer
 
class  BackgroundAnalyzerFactory
 
class  BackgroundCell
 
class  BackgroundConfig
 
class  BackgroundConvolution
 
class  BackgroundHistogram
 
class  BackgroundModel
 
class  BgConvolutionImageSource
 
class  BgDFTConvolutionImageSource
 
class  BlendedFlag
 
class  BlendedFlagPlugin
 
class  BlendedFlagTask
 
class  BlendedFlagTaskFactory
 
class  BoundaryFlag
 
class  BoundaryFlagPlugin
 
class  BoundaryFlagSourceTask
 
class  BoundaryFlagTaskFactory
 
class  BufferedImage
 
class  CheckImages
 
class  CheckImagesConfig
 
class  CircularAperture
 
class  Cleaning
 
class  CleaningConfig
 
class  Configurable
 Interface of objects which can be configured. More...
 
class  ConstantImage
 
class  CoordinateSystem
 
class  CoreThresholdPartitionConfig
 
class  CoreThresholdPartitionPlugin
 
class  CoreThresholdPartitionStep
 A PartitionStep that rejects Sources if they do not have at least a given number of pixels. More...
 
class  CoreThresholdPartitionTask
 
class  CoreThresholdPartitionTaskFactory
 
class  Deblending
 Performs a number of steps on a SourceGroup that can add or remove Sources for deblending the group. More...
 
class  DeblendingFactory
 
class  DeblendStep
 An action to be applied to a SourceGroup for deblending its sources. More...
 
class  DeblendStepConfig
 
class  DefaultMeasurementFrameTask
 
class  DetectionFrame
 
class  DetectionFrameGroupStamp
 
class  DetectionFrameGroupStampPlugin
 
class  DetectionFrameGroupStampTask
 Task to produce the DetectionFrameGroupStamp Property. More...
 
class  DetectionFrameGroupStampTaskFactory
 Produces DetectionFrameGroupStampTask. More...
 
class  DetectionFramePixelValues
 The values of a Source's pixels in the detection image. They are returned as a vector in the same order as the Source's pixels. More...
 
class  DetectionFramePixelValuesPlugin
 
class  DetectionFramePixelValuesTask
 Task to produce the DetectionFramePixelValues Property. More...
 
class  DetectionFramePixelValuesTaskFactory
 TaskFactory to produce DetectionFramePixelValuesTask. More...
 
class  DetectionFrameSourceStamp
 A copy of the rectangular region of the detection image just large enough to include the whole Source. More...
 
class  DetectionFrameSourceStampPlugin
 
class  DetectionFrameSourceStampTask
 Task to produce the DetectionFrameSourceStamp Property. More...
 
class  DetectionFrameSourceStampTaskFactory
 Produces DetectionFrameSourceStampTask. More...
 
class  DetectionIdCheckImage
 
class  DetectionImageConfig
 Provides the detection image. More...
 
class  DFTConvolution
 
class  DirectConvolution
 
class  DummyMeasurement
 
class  EllipticalAperture
 
class  ExternalFlag
 
class  ExternalFlagConfig
 
class  ExternalFlagPlugin
 
class  ExternalFlagTask
 Task to produce the ExternalFlag Property. More...
 
class  ExternalFlagTaskFactory
 
class  FFT
 Wraps the FFTW API with a more C++ like one. More...
 
struct  FFTTraits
 Wrap FFTW types and functions depending on the primitive type (float or double) More...
 
struct  FFTTraits< double >
 Traits for double. More...
 
struct  FFTTraits< float >
 Traits for float. More...
 
class  FitsFileManager
 
class  FitsImageSource
 
class  FitsReader
 
class  FitsWriter
 
class  FlexibleModelFitting
 
class  FlexibleModelFittingConstantModel
 
class  FlexibleModelFittingConstantParameter
 
class  FlexibleModelFittingConverterFactory
 
class  FlexibleModelFittingDependentParameter
 
class  FlexibleModelFittingDevaucouleursModel
 
class  FlexibleModelFittingExponentialModel
 
class  FlexibleModelFittingExponentialRangeConverterFactory
 
class  FlexibleModelFittingFrame
 
class  FlexibleModelFittingFreeParameter
 
class  FlexibleModelFittingLinearRangeConverterFactory
 
class  FlexibleModelFittingModel
 
class  FlexibleModelFittingParameter
 
class  FlexibleModelFittingParameterManager
 
class  FlexibleModelFittingPlugin
 
class  FlexibleModelFittingPointModel
 
class  FlexibleModelFittingPrior
 
class  FlexibleModelFittingSersicModel
 
class  FlexibleModelFittingTask
 
class  FlexibleModelFittingTaskFactory
 
class  FlexibleModelFittingUnboundedConverterFactory
 
struct  FluxMeasurement
 
class  Frame
 
class  FunctionalImage
 
struct  GILStateEnsure
 
class  GroupIdCheckImage
 
class  GroupInfo
 
class  GroupInfoPlugin
 
class  GroupInfoTask
 Task to produce the GroupInfo Property. More...
 
class  GroupInfoTaskFactory
 Produces GroupInfoTask. More...
 
class  GroupingConfig
 Used to select a Grouping algorithm. More...
 
class  GroupingCriteria
 Criteria used by SourceGrouping to determine if two sources should be grouped together. More...
 
class  GroupingFactory
 
class  GroupTask
 A Task that acts on a SourceGroup to compute one or more properties. More...
 
class  Image
 Interface representing an image. More...
 
class  ImageBase
 
class  ImageChunk
 
struct  ImageCoordinate
 
class  ImageProcessing
 
class  ImageProcessingList
 
class  ImagePsf
 
class  ImageSource
 
class  ImageSourceBase
 
class  ImageTile
 
class  ImageTileBase
 
class  InterpolatedImage
 
class  InterpolatedImageSource
 
class  IsophotalFlux
 Computes the isophotal flux and magnitude. More...
 
class  IsophotalFluxPlugin
 
class  IsophotalFluxTask
 Task to produce the IsophotalFlux Property. More...
 
class  IsophotalFluxTaskFactory
 Produces IsophotalFluxTask. More...
 
class  Jacobian
 
class  JacobianGroup
 
class  JacobianGroupTask
 
class  JacobianPlugin
 
class  JacobianSource
 
class  JacobianSourceTask
 
class  JacobianTaskFactory
 
class  KronRadius
 Kron radius. More...
 
class  KronRadiusPlugin
 
class  KronRadiusTask
 
class  KronRadiusTaskFactory
 
class  LegacyModelFittingConfig
 
class  LineSelectionCriteria
 
class  LogWidget
 
class  Lutz
 Implements a Segmentation based on the Lutz algorithm. More...
 
class  LutzLabellingListener
 
class  LutzList
 
class  LutzSegmentation
 
class  MagnitudeConfig
 
class  Measurement
 
class  MeasurementFactory
 
class  MeasurementFrame
 
class  MeasurementFrameGroupRectangle
 
class  MeasurementFrameGroupRectanglePlugin
 
class  MeasurementFrameGroupRectangleTask
 
class  MeasurementFrameGroupRectangleTaskFactory
 
class  MeasurementFramePixelCentroid
 
class  MeasurementFramePixelCentroidPlugin
 
class  MeasurementFramePixelCentroidTask
 Task to produce the PixelCentroid Property. More...
 
class  MeasurementFramePixelCentroidTaskFactory
 Produces MeasurementFramePixelCentroidTask. More...
 
class  MeasurementFramePlugin
 
class  MeasurementFrameRectangle
 
class  MeasurementFrameRectanglePlugin
 
class  MeasurementFrameRectangleTask
 
class  MeasurementFrameRectangleTaskFactory
 
class  MeasurementFrameTask
 
class  MeasurementFrameTaskFactory
 
class  MeasurementImageConfig
 
class  MemoryConfig
 
class  MinAreaPartitionConfig
 
class  MinAreaPartitionStep
 A PartitionStep that rejects Sources if they do not have at least a given number of pixels. More...
 
class  MirrorImage
 Mirrors an image in both X and Y axes. More...
 
class  ModelFittingConfig
 
class  MoffatCheckImage
 
class  MoffatCriteria
 Groups sources if their Moffat profile overlap. More...
 
class  MoffatModelEvaluator
 
class  MoffatModelEvaluatorTask
 
class  MoffatModelFitting
 
class  MoffatModelFittingPlugin
 
class  MoffatModelFittingTask
 
class  MoffatModelFittingTaskFactory
 
class  MultiframeModelFitting
 
class  MultiframeModelFittingPlugin
 
class  MultiframeModelFittingTask
 
class  MultiframeModelFittingTaskFactory
 
class  MultiframeSourceModel
 
struct  MultiplyOperation
 
class  MultithreadedMeasurement
 
class  MultiThreadingConfig
 
class  MultiThresholdNode
 
class  MultiThresholdPartitionConfig
 
class  MultiThresholdPartitionStep
 
class  NCorePixel
 
struct  ncurses_done
 
class  NDetectedPixels
 
class  NDetectedPixelsPlugin
 
class  NDetectedPixelsSourceTask
 
class  NDetectedPixelsTaskFactory
 
class  NeighbourInfo
 
class  NoGroupingCriteria
 
class  NumericalDerivative
 
class  ObjectInfo
 
class  Observable
 Implements the Observer pattern. Notifications will be made using a message of type T. More...
 
class  Observer
 Observer interface to be used with Observable to implement the Observer pattern. More...
 
class  OpenCVConvolution
 
class  Output
 
class  OutputConfig
 
class  OutputFactory
 
class  OutputRegistry
 
class  OverlappingBoundariesCriteria
 Groups sources if their bounding boxes overlap. More...
 
class  PaddedImage
 
class  PaddedImage< T, nullptr >
 
class  Partition
 For each Source it receives, applies PartitionSteps and outputs one or more Sources. More...
 
class  PartitionFactory
 
class  PartitionStep
 A PartitionStep gets applied on a single Source and can result any number of Sources being outputed. (including the same one, none, or any number of new Sources) More...
 
class  PartitionStepConfig
 
class  PeakValue
 
class  PeakValuePlugin
 
class  PeakValueTask
 
class  PeakValueTaskFactory
 
class  PixelBoundaries
 The bounding box of all the pixels in the source. Both min and max coordinate are inclusive. More...
 
class  PixelBoundariesHalfMaximum
 
class  PixelBoundariesPlugin
 
class  PixelBoundariesTask
 Task to produce the PixelBoundaries Property. More...
 
class  PixelBoundariesTaskFactory
 Produces a PixelBoundariesTask. More...
 
class  PixelBoundariesTaskHalfMaximum
 Task to produce the PixelBoundariesHalfMaximum Property. More...
 
class  PixelCentroid
 The centroid of all the pixels in the source, weighted by their DetectionImage pixel values. More...
 
class  PixelCentroidPlugin
 
class  PixelCentroidTask
 Task to produce the PixelCentroid Property. More...
 
class  PixelCentroidTaskFactory
 Produces PixelCentroidTask. More...
 
class  PixelCoordinate
 A pixel coordinate made of two integers m_x and m_y. More...
 
class  PixelCoordinateList
 
class  Plugin
 Plugins must implement this interface. More...
 
class  PluginAPI
 This interface is given to the plugin to let it access object instances from the framework. More...
 
class  PluginConfig
 
class  PluginManager
 PluginManager handles the loading of plugins and calls their registration function, providing them with with a PluginAPI implementation. More...
 
class  ProcessedImage
 Processes two images to create a third combining them by using any function. More...
 
class  ProcessingImageSource
 
class  ProcessSourcesEvent
 Event received by SourceGrouping to request the processing of some of the Sources stored. More...
 
struct  ProgressInfo
 
class  ProgressLogger
 
class  ProgressMediator
 
class  ProgressNCurses
 
class  ProgressReporter
 
class  ProgressReporterFactory
 
class  ProgressWidget
 Set of progress bars/information entries. More...
 
class  Property
 Base class for all Properties. (has no actual content) More...
 
class  PropertyHolder
 A class providing a simple implementation of a container of properties. More...
 
class  PropertyId
 Identifier used to set and retrieve properties. More...
 
class  PropertyNotFoundException
 An exception indicating that a Property was not available and could not be computed on demand. More...
 
class  PsfPlugin
 
class  PsfPluginConfig
 
class  PsfProperty
 
class  PsfTask
 
class  PsfTaskFactory
 
class  PyAperture
 
class  PyId
 
class  PyMeasurementImage
 
class  PyObjectHolder
 Hold a reference to a Python object. More...
 
class  PyOutputWrapper
 
class  PythonConfig
 
class  PythonInterpreter
 
class  RecenterImage
 Changes the center of an image, wrapping it around the edges. More...
 
class  SaturateFlag
 
class  SaturateFlagPlugin
 
class  SaturateFlagSourceTask
 
class  SaturateFlagTaskFactory
 
class  Screen
 Wrap the terminal into a singleton. More...
 
class  SE2BackgroundConfig
 
class  SE2BackgroundLevelAnalyzer
 
class  SE2BackgroundModeller
 
class  SE2BackgroundUtils
 
class  Segmentation
 Segmentation takes an image and splits it into individual Sources for further refinement. Each Source results in a notification of the Segmentation's Observers. More...
 
class  SegmentationConfig
 Used to select a Segmentation algorithm. More...
 
class  SegmentationFactory
 The SegmentationFactory will provide a Segmentation implementation based on the current configuration. More...
 
struct  SegmentationProgress
 Used to notify observers of the progress of the processing of the image. More...
 
class  SelectAllCriteria
 An implementation of SelectionCriteria that just marks all Sources as selected. More...
 
class  SelectionCriteria
 Used to determine if a Source is selected for processing. More...
 
class  ShapeParameters
 
class  ShapeParametersPlugin
 
class  ShapeParametersTask
 
class  ShapeParametersTaskFactory
 
class  SimpleBackgroundAnalyzer
 
class  SimpleSource
 A trivial implementation of SourceInterface meant to be used in unit tests. More...
 
class  SimpleSourceFactory
 A SourceFactory implementation that produces a SimpleSource. More...
 
class  SimpleSourceGroup
 A bare bones implementation of SourceGroupInterface meant to be used to implement unit tests. More...
 
class  SimpleSourceGroupFactory
 A SourceGroupFactory implementation that produces a SimpleSourceGroupFactory. More...
 
struct  SnrOperation
 
class  Sorter
 
class  SourceFactory
 A factory interface to create SourceInterface instances. More...
 
class  SourceFlags
 
class  SourceFlagsPlugin
 
class  SourceFlagsSourceTask
 
class  SourceFlagsTaskFactory
 
class  SourceGroupFactory
 A factory interface to create SourceGroupInterface instances. More...
 
class  SourceGrouping
 SourceGrouping takes Source, groups them together according to its GroupingCriteria and stores them. When a ProcessSourcesEvent is received the sources that need to be processed are output together with the sources they are grouped with as a SourceGroup. More...
 
class  SourceGroupInterface
 Defines the interface used to group sources. More...
 
class  SourceGroupWithOnDemandProperties
 A SourceGroupInterface implementation which used a TaskProvider to compute missing properties. More...
 
class  SourceGroupWithOnDemandPropertiesFactory
 A SourceGroupFactory implementation that produces a SourceGroupWithOnDemandProperties. More...
 
class  SourceID
 
class  SourceId
 
class  SourceIdCheckImage
 
class  SourceIDsPlugin
 
class  SourceIDTask
 
class  SourceIDTaskFactory
 
class  SourceInterface
 The SourceInterface is an abstract "source" that has properties attached to it. More...
 
class  SourceTask
 A Task that acts on a Source to compute one or more properties. More...
 
class  SourceWithOnDemandProperties
 
class  SourceWithOnDemandPropertiesFactory
 A SourceFactory implementation that produces a SourceWithOnDemandProperties. More...
 
class  SourceXtractorConfig
 
class  SplineModel
 
class  SplitSourcesCriteria
 Groups sources if they were originally one source before being split. More...
 
class  StaticPlugin
 Used to register compile-time (static) plugins with the PluginManager. More...
 
struct  SubtractOperation
 
class  TableOutput
 
class  Task
 Basic interface for a Task that is used to compute properties. More...
 
class  TaskFactory
 Creates a Task for computing a given property. More...
 
class  TaskFactoryRegistry
 
class  TaskProvider
 
class  TemporaryFitsImageSource
 FitsTemporaryImageSource wraps FitsImageSource, generating the filename and acquiring its ownership. More...
 
class  ThresholdedImage
 Used to subtract a constant value from an Image. More...
 
struct  TileKey
 
class  TileManager
 
class  TransformedAperture
 
class  TypedSplineModelWrapper
 
class  UniversalImageChunk
 
class  VariablePsf
 Implements a variable PSF using an arbitrary number of components (i.e. X, Y), and degrees. More...
 
class  VectorImage
 Image implementation which keeps the pixel values in memory. More...
 
class  WCS
 
class  WeightImageConfig
 
class  WeightMapImageSource
 
class  WorldCentroid
 
class  WorldCentroidPlugin
 
class  WorldCentroidTask
 
class  WorldCentroidTaskFactory
 
struct  WorldCoordinate
 
class  WriteableBufferedImage
 
class  WriteableImage
 

Typedefs

typedef DFTConvolution< SeFloat, PaddedImage< SeFloat, Reflect101Coordinates > > DefaultConvolutionStrategy
 
using DetectionImageFrame = Frame< DetectionImage::PixelType >
 
using MeasurementImageFrame = Frame< MeasurementImage::PixelType >
 
using DetectionImage = Image< SeFloat >
 Alias for the detection image, to make easier its type modification. More...
 
using MeasurementImage = Image< SeFloat >
 Alias for the measurement image, to make easier its type modification. More...
 
using WeightImage = Image< SeFloat >
 Alias for the weight image, to make easier its type modification. More...
 
using FlagImage = Image< std::int64_t >
 Alias for the flag image, to make easier its type modification. More...
 
using DetectionImageProcessing = ImageProcessing< DetectionImage::PixelType >
 
using DetectionImageProcessingList = ImageProcessingList< DetectionImage::PixelType >
 
template<typename T >
using SubtractImage = ProcessedImage< T, SubtractOperation< T > >
 
template<typename T >
using MultiplyImage = ProcessedImage< T, MultiplyOperation< T > >
 
template<typename T >
using SnrImage = ProcessedImage< T, SnrOperation< T > >
 
typedef float PIXTYPE
 
using ExternalFlagTaskOr = ExternalFlagTask< ExternalFlagCombineTypes::Or >
 
using ExternalFlagTaskAnd = ExternalFlagTask< ExternalFlagCombineTypes::And >
 
using ExternalFlagTaskMin = ExternalFlagTask< ExternalFlagCombineTypes::Min >
 
using ExternalFlagTaskMax = ExternalFlagTask< ExternalFlagCombineTypes::Max >
 
using ExternalFlagTaskMost = ExternalFlagTask< ExternalFlagCombineTypes::Most >
 
typedef std::function< double(SourceXtractor::SourceGroupInterface &group, unsigned instance)> ValueGetter
 
using Traits = ModelFitting::ImageTraits< ImageInterfaceTypePtr >
 
template<typename T >
using NdArray = Euclid::NdArray::NdArray< T >
 
typedef Observable< std::list< ProgressInfo > > ProgressObservable
 
typedef Observable< bool > DoneObservable
 
typedef Observer< std::list< ProgressInfo > > ProgressObserver
 
typedef Observer< bool > DoneObserver
 
using SeFloat32 = float
 
using SeFloat64 = double
 
using SeFloat = SeFloat32
 

Enumerations

enum  Flags : int64_t {
  Flags::NONE = 0, Flags::BIASED = 1ll << 0, Flags::BLENDED = 1ll << 1, Flags::SATURATED = 1ll << 2,
  Flags::BOUNDARY = 1ll << 3, Flags::NEIGHBORS = 1ll << 4, Flags::OUTSIDE = 1ll << 5, Flags::PARTIAL_FIT = 1ll << 6,
  Flags::INSUFFICIENT_DATA = 1ll << 7, Flags::ERROR = 1ll << 10
}
 Flagging of bad sources. More...
 
enum  interpenum {
  INTERP_NEARESTNEIGHBOUR, INTERP_BILINEAR, INTERP_LANCZOS2, INTERP_LANCZOS3,
  INTERP_LANCZOS4
}
 
enum  LutzStatus { LutzStatus::COMPLETE = 0, LutzStatus::INCOMPLETE, LutzStatus::NONOBJECT, LutzStatus::OBJECT }
 
enum  LutzMarker {
  LutzMarker::ZERO = 0, LutzMarker::S, LutzMarker::S0, LutzMarker::F,
  LutzMarker::F0
}
 

Functions

FluxMeasurement measureFlux (const std::shared_ptr< Aperture > &aperture, SeFloat centroid_x, SeFloat centroid_y, const std::shared_ptr< Image< SeFloat >> &img, const std::shared_ptr< Image< SeFloat >> &variance_map, SeFloat variance_threshold, bool use_symmetry)
 
template<typename T >
void fillAperture (const std::shared_ptr< Aperture > &aperture, SeFloat centroid_x, SeFloat centroid_y, const std::shared_ptr< WriteableImage< T >> &img, T value)
 
int fftRoundDimension (int size)
 
int ReplicateCoordinates (int N, int v)
 
int ReflectCoordinates (int N, int v)
 
int Reflect101Coordinates (int N, int v)
 
int WrapCoordinates (int N, int v)
 
std::ostreamoperator<< (std::ostream &out, const TileKey &tk)
 
constexpr Flags operator| (const Flags &a, const Flags &b)
 
constexpr Flags operator& (const Flags &a, const Flags &b)
 
constexpr Flags operator* (const Flags &a, const bool b)
 
Flagsoperator|= (Flags &a, const Flags &b)
 
constexpr int64_t flags2long (const Flags &a)
 
std::vector< int64_tflags2long (const std::vector< Flags > &v)
 
std::pair< double, double > transform (int x, int y, const std::array< double, 4 > &t)
 
static std::map< std::string, std::stringloadFitsHeader (fitsfile *fptr)
 
float interpolate_pix (float *pix, float x, float y, int xsize, int ysize, interpenum interptype)
 
bool operator< (std::reference_wrapper< const SourceInterface > a, std::reference_wrapper< const SourceInterface > b)
 
template<typename R , typename ... T>
py_call_wrapper (const py::object &func, T... args)
 
static int wrapped_lincpy (int alloc, const struct linprm *linsrc, struct linprm *lindst)
 
bool operator< (SourceGroupInterface::iterator a, SourceGroupInterface::iterator b)
 
void make_kernel (float pos, float *kernel, interpenum interptype)
 
double getClamped (const ImageInterfaceTypePtr &image, int x, int y)
 
void shiftResize (const ImageInterfaceTypePtr &source, ImageInterfaceTypePtr &window, double scale_factor, double x_shift, double y_shift)
 
void shiftResizeLancszos (const ImageInterfaceTypePtr &source, ImageInterfaceTypePtr &window, double scale_factor, double x_shift, double y_shift)
 
void shiftResizeLancszosFast (const ImageInterfaceTypePtr &source, ImageInterfaceTypePtr &window, double scale_factor, double x_shift, double y_shift)
 
static double computeBn (double n)
 
static std::shared_ptr< VariablePsfreadPsfEx (std::unique_ptr< CCfits::FITS > &pFits, int hdu_number=1)
 
template<typename T >
static std::shared_ptr< VariablePsfreadImage (T &image_hdu)
 
 BOOST_PYTHON_MODULE (_SourceXtractorPy)
 
static void handleTerminatingSignal (int s)
 
static void handleStopSignal (int s)
 
static void handleContinuationSignal (int s)
 
static void handleResizeSignal (int)
 
static int interceptFileDescriptor (int old_fd, int *backup_fd)
 
static void override_rl_display (void)
 
static unsigned int extractSourceId (const SourceInterface &i)
 
bool isClose (double a, double b, double atol=1e-8, double rtol=1e-5)
 
Elements::Exception pyToElementsException (Elements::Logging &logger)
 
template<typename T , typename U >
boost::test_tools::predicate_result compareImages (const T &ref, const U &val, double atol=1e-8, double rtol=1e-5)
 
template<typename T , typename U >
boost::test_tools::predicate_result compareCollections (const T &ref, const U &val, double atol=1e-8, double rtol=1e-5)
 
boost::test_tools::predicate_result checkIsClose (double ref, const double val, double atol=1e-8, double rtol=1e-5)
 

Variables

static Elements::Logging fitsWriterLogger = Elements::Logging::getLogger("FitsWriter")
 
const int SUPERSAMPLE_NB = 10
 
const SeFloat BADAREA_THRESHOLD_APER = 0.1
 
boost::mutex fftw_global_plan_mutex {}
 
static Elements::Logging logger = Elements::Logging::getLogger("PluginManager")
 
static Elements::Logging bck_model_logger = Elements::Logging::getLogger("BackgroundModel")
 
Elements::Logging model_fitting_logger = Elements::Logging::getLogger("ModelFitting")
 
std::map< std::string, ValueGettercomponent_value_getters
 
static const std::string USE_ATTRACTORS_PARTITION {"use-attractors-partition"}
 
static const std::string BACKGROUND_VALUE {"background-value" }
 
static const std::string THRESHOLD_VALUE {"detection-threshold" }
 
static const std::string CHECK_MODEL_FITTING { "check-image-model-fitting" }
 
static const std::string CHECK_RESIDUAL { "check-image-residual" }
 
static const std::string CHECK_MODEL_BACKGROUND { "check-image-background" }
 
static const std::string CHECK_MODEL_VARIANCE { "check-image-variance" }
 
static const std::string CHECK_SEGMENTATION { "check-image-segmentation" }
 
static const std::string CHECK_PARTITION { "check-image-partition" }
 
static const std::string CHECK_GROUPING { "check-image-grouping" }
 
static const std::string CHECK_FILTERED { "check-image-filtered" }
 
static const std::string CHECK_THRESHOLDED { "check-image-thresholded" }
 
static const std::string CHECK_SNR { "check-image-snr" }
 
static const std::string CHECK_AUTO_APERTURE { "check-image-auto-aperture" }
 
static const std::string CHECK_APERTURE { "check-image-aperture" }
 
static const std::string CHECK_MOFFAT { "check-image-moffat" }
 
static const std::string CHECK_PSF { "check-image-psf" }
 
static const std::string USE_CLEANING {"use-cleaning"}
 
static const std::string CLEANING_MINAREA {"cleaning-minimum-area"}
 
static const std::string DETECTION_IMAGE { "detection-image" }
 
static const std::string DETECTION_IMAGE_GAIN { "detection-image-gain" }
 
static const std::string DETECTION_IMAGE_FLUX_SCALE {"detection-image-flux-scale"}
 
static const std::string DETECTION_IMAGE_SATURATION { "detection-image-saturation" }
 
static const std::string DETECTION_IMAGE_INTERPOLATION { "detection-image-interpolation" }
 
static const std::string DETECTION_IMAGE_INTERPOLATION_GAP { "detection-image-interpolation-gap" }
 
static const std::string GROUPING_ALGORITHM {"grouping-algorithm" }
 
static const std::string GROUPING_MOFFAT_THRESHOLD {"grouping-moffat-threshold" }
 
static const std::string GROUPING_MOFFAT_MAX_DISTANCE {"grouping-moffat-max-distance" }
 
static const std::string GROUPING_ALGORITHM_NONE {"NONE" }
 
static const std::string GROUPING_ALGORITHM_OVERLAP {"OVERLAP" }
 
static const std::string GROUPING_ALGORITHM_SPLIT {"SPLIT" }
 
static const std::string GROUPING_ALGORITHM_MOFFAT {"MOFFAT" }
 
static const std::string MFIT_MAX_ITERATIONS {"model-fitting-iterations"}
 
static const std::string MFIT_ENGINE {"model-fitting-engine"}
 
static const std::string MAG_ZEROPOINT {"magnitude-zero-point"}
 
static const std::string MAX_TILE_MEMORY {"tile-memory-limit"}
 
static const std::string TILE_SIZE {"tile-size"}
 
static const std::string DETECT_MINAREA {"detection-minimum-area"}
 
static const std::string THREADS_NB {"thread-count"}
 
static const std::string MTHRESH_USE {"partition-multithreshold"}
 
static const std::string MTHRESH_THRESHOLDS_NB {"partition-threshold-count"}
 
static const std::string MTHRESH_MIN_AREA {"partition-minimum-area"}
 
static const std::string MTHRESH_MIN_CONTRAST {"partition-minimum-contrast"}
 
static const std::string OUTPUT_FILE {"output-catalog-filename"}
 
static const std::string OUTPUT_FILE_FORMAT {"output-catalog-format"}
 
static const std::string OUTPUT_PROPERTIES {"output-properties"}
 
static const std::string OUTPUT_FLUSH_SIZE {"output-flush-size"}
 
static std::map< std::string, OutputConfig::OutputFileFormatformat_map
 
static const std::string CELLSIZE_VALUE {"background-cell-size" }
 
static const std::string SMOOTHINGBOX_VALUE {"smoothing-box-size" }
 
static Elements::Logging segConfigLogger = Elements::Logging::getLogger("Config")
 
static const std::string SEGMENTATION_ALGORITHM {"segmentation-algorithm" }
 
static const std::string SEGMENTATION_DISABLE_FILTERING {"segmentation-disable-filtering" }
 
static const std::string SEGMENTATION_FILTER {"segmentation-filter" }
 
static const std::string SEGMENTATION_LUTZ_WINDOW_SIZE {"segmentation-lutz-window-size" }
 
static const std::string WEIGHT_IMAGE {"weight-image" }
 
static const std::string WEIGHT_TYPE {"weight-type" }
 
static const std::string WEIGHT_ABSOLUTE {"weight-absolute" }
 
static const std::string WEIGHT_SCALING {"weight-scaling" }
 
static const std::string WEIGHT_THRESHOLD {"weight-threshold" }
 
static const std::string WEIGHT_SYMMETRYUSAGE {"weight-use-symmetry" }
 
static auto logger = Elements::Logging::getLogger("WCS")
 
decltype(&lincpy) safe_lincpy = &lincpy
 
static StaticPlugin< AperturePhotometryPluginaperture_photometry_plugin
 
static StaticPlugin< AutoPhotometryPluginaperture_photometry_plugin
 
static StaticPlugin< BlendedFlagPluginblended_plugin
 
static StaticPlugin< BoundaryFlagPluginboundary_flag
 
static const std::string CORE_THRESHOLD {"core-threshold-value" }
 
static const std::string CORE_MINAREA {"core-minimum-area" }
 
static const std::string CORE_THRESH_USE {"partition-corethreshold" }
 
static StaticPlugin< CoreThresholdPartitionPluginn_core_pixels
 
static StaticPlugin< DetectionFrameGroupStampPlugindetection_frame_group_stamp_plugin
 
static StaticPlugin< DetectionFramePixelValuesPlugindetection_frame_pixel_values_plugin
 
static StaticPlugin< DetectionFrameSourceStampPlugindetection_frame_source_stamp_plugin
 
static StaticPlugin< ExternalFlagPluginpixel_boundaries_plugin
 
static const double MODEL_MIN_SIZE = 4.0
 
static const double MODEL_SIZE_FACTOR = 1.2
 
static StaticPlugin< FlexibleModelFittingPluginflexible_modelfitting_plugin
 
static auto logger = Elements::Logging::getLogger("FlexibleModelFitting")
 
static StaticPlugin< GroupInfoPlugingroup_info_plugin
 
static StaticPlugin< IsophotalFluxPluginisophotal_flux_plugin
 
static StaticPlugin< JacobianPluginjacobian_plugin
 
static StaticPlugin< KronRadiusPluginkron_radius_plugin
 
static StaticPlugin< MeasurementFramePluginmeasurement_frame_pixel_centroid_plugin
 
static StaticPlugin< MeasurementFrameGroupRectanglePluginmeasurement_frame_group_rectangle_plugin
 
static StaticPlugin< MeasurementFramePixelCentroidPluginmeasurement_frame_pixel_centroid_plugin
 
static StaticPlugin< MeasurementFrameRectanglePluginmeasurement_frame_rectangle_plugin
 
static StaticPlugin< MoffatModelFittingPluginsimple_modelfitting_plugin
 
static StaticPlugin< NDetectedPixelsPluginn_detected_pixels
 
static StaticPlugin< PeakValuePluginpeak_value_plugin
 
static StaticPlugin< PixelBoundariesPluginpixel_boundaries_plugin
 
static StaticPlugin< PixelCentroidPluginpixel_centroid_plugin
 
static StaticPlugin< PsfPluginpsf_plugin
 
static const std::string PSF_FILE {"psf-filename"}
 
static const std::string PSF_FWHM {"psf-fwhm" }
 
static const std::string PSF_PIXEL_SAMPLING {"psf-pixel-sampling" }
 
static StaticPlugin< SaturateFlagPluginsaturate_flag
 
static StaticPlugin< ShapeParametersPluginshape_parameters_plugin
 
static StaticPlugin< SourceFlagsPluginsource_flags
 
static StaticPlugin< SourceIDsPluginsource_IDs_plugin
 
static StaticPlugin< WorldCentroidPluginpixel_centroid_plugin
 
static const std::string PLUGIN_DIRECTORY { "plugin-directory" }
 
static const std::string PLUGIN { "plugin" }
 
static struct sigaction sigterm_action sigstop_action sigcont_action sigwich_action
 
static std::map< int, struct sigaction > prev_signal
 
static int signal_fds [2]
 
static struct SourceXtractor::ncurses_done ncurses_done
 
static const std::string PROGRESS_MIN_INTERVAL {"progress-min-interval"}
 
static const std::string PROGRESS_BAR_DISABLED {"progress-bar-disable"}
 

Detailed Description

Copyright © 2019 Université de Genève, LMU Munich - Faculty of Physics, IAP-CNRS/Sorbonne Université

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.

This library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Typedef Documentation

◆ DefaultConvolutionStrategy

For convenience, default convolution strategy.

Definition at line 34 of file Convolution.h.

◆ DetectionImage

Alias for the detection image, to make easier its type modification.

Definition at line 75 of file Image.h.

◆ DetectionImageFrame

Definition at line 170 of file Frame.h.

◆ DetectionImageProcessing

Definition at line 39 of file ImageProcessing.h.

◆ DetectionImageProcessingList

Definition at line 64 of file ImageProcessingList.h.

◆ DoneObservable

Definition at line 43 of file ProgressMediator.h.

◆ DoneObserver

Definition at line 35 of file ProgressReporter.h.

◆ ExternalFlagTaskAnd

Definition at line 68 of file ExternalFlagTask.h.

◆ ExternalFlagTaskMax

Definition at line 74 of file ExternalFlagTask.h.

◆ ExternalFlagTaskMin

Definition at line 71 of file ExternalFlagTask.h.

◆ ExternalFlagTaskMost

Definition at line 77 of file ExternalFlagTask.h.

◆ ExternalFlagTaskOr

Definition at line 65 of file ExternalFlagTask.h.

◆ FlagImage

Alias for the flag image, to make easier its type modification.

Definition at line 84 of file Image.h.

◆ MeasurementImage

Alias for the measurement image, to make easier its type modification.

Definition at line 78 of file Image.h.

◆ MeasurementImageFrame

Definition at line 171 of file Frame.h.

◆ MultiplyImage

template<typename T >
using SourceXtractor::MultiplyImage = typedef ProcessedImage<T, MultiplyOperation<T> >

Definition at line 116 of file ProcessedImage.h.

◆ NdArray

template<typename T >
using SourceXtractor::NdArray = typedef Euclid::NdArray::NdArray<T>

Definition at line 37 of file AperturePhotometryPlugin.cpp.

◆ PIXTYPE

typedef float SourceXtractor::PIXTYPE

Definition at line 30 of file BackgroundDefine.h.

◆ ProgressObservable

Definition at line 42 of file ProgressMediator.h.

◆ ProgressObserver

Definition at line 34 of file ProgressReporter.h.

◆ SeFloat

Definition at line 32 of file Types.h.

◆ SeFloat32

using SourceXtractor::SeFloat32 = typedef float

Definition at line 29 of file Types.h.

◆ SeFloat64

using SourceXtractor::SeFloat64 = typedef double

Definition at line 30 of file Types.h.

◆ SnrImage

template<typename T >
using SourceXtractor::SnrImage = typedef ProcessedImage<T, SnrOperation<T> >

Definition at line 125 of file ProcessedImage.h.

◆ SubtractImage

template<typename T >
using SourceXtractor::SubtractImage = typedef ProcessedImage<T, SubtractOperation<T> >

Definition at line 107 of file ProcessedImage.h.

◆ Traits

Definition at line 14 of file ImageInterfaceTraits.cpp.

◆ ValueGetter

Definition at line 32 of file PsfTask.h.

◆ WeightImage

Alias for the weight image, to make easier its type modification.

Definition at line 81 of file Image.h.

Enumeration Type Documentation

◆ Flags

Flagging of bad sources.

Enumerator
NONE 

No flag is set.

BIASED 

The object has bad pixels.

BLENDED 

The object was originally blended with another one.

SATURATED 

At least one pixel of the object is saturated.

BOUNDARY 

The object is truncated (too close to an image boundary)

NEIGHBORS 

The object has neighbors, bright and close enough.

OUTSIDE 

The object is completely outside of the measurement frame.

PARTIAL_FIT 

Some/all of the model parameters could not be fitted.

INSUFFICIENT_DATA 

There are not enough good pixels to fit the parameters.

ERROR 

Error flag: something bad happened during the measurement, model fitting, etc.

Definition at line 34 of file SourceFlags.h.

◆ interpenum

Enumerator
INTERP_NEARESTNEIGHBOUR 
INTERP_BILINEAR 
INTERP_LANCZOS2 
INTERP_LANCZOS3 
INTERP_LANCZOS4 

Definition at line 103 of file ImageInterfaceTraits.h.

◆ LutzMarker

Enumerator
ZERO 
S0 
F0 

Definition at line 50 of file Lutz.cpp.

◆ LutzStatus

Enumerator
COMPLETE 
INCOMPLETE 
NONOBJECT 
OBJECT 

Definition at line 43 of file Lutz.cpp.

Function Documentation

◆ BOOST_PYTHON_MODULE()

SourceXtractor::BOOST_PYTHON_MODULE ( _SourceXtractorPy  )

Definition at line 38 of file PythonModule.cpp.

References SourceXtractor::PyAperture::apertures, BIASED, BOUNDARY, SourceXtractor::PyOutputWrapper::close(), SourceXtractor::PyOutputWrapper::closed, SourceXtractor::PyMeasurementImage::constant_background_value, ERROR, SourceXtractor::PyMeasurementImage::file, SourceXtractor::PyOutputWrapper::fileno(), SourceXtractor::PyOutputWrapper::flush(), SourceXtractor::PyMeasurementImage::flux_scale, SourceXtractor::PyMeasurementImage::gain, SourceXtractor::ObjectInfo::getAngle(), SourceXtractor::ObjectInfo::getAspectRatio(), SourceXtractor::ObjectInfo::getCentroidX(), SourceXtractor::ObjectInfo::getCentroidY(), SourceXtractor::ObjectInfo::getIsoFlux(), SourceXtractor::ObjectInfo::getRadius(), SourceXtractor::PyMeasurementImage::has_weight_threshold, SourceXtractor::PyId::id, SourceXtractor::PyMeasurementImage::image_hdu, SourceXtractor::CoordinateSystem::imageToWorld(), INSUFFICIENT_DATA, SourceXtractor::PyMeasurementImage::is_background_constant, SourceXtractor::PyOutputWrapper::isatty(), SourceXtractor::WorldCoordinate::m_alpha, SourceXtractor::WorldCoordinate::m_delta, SourceXtractor::ImageCoordinate::m_x, SourceXtractor::ImageCoordinate::m_y, NEIGHBORS, NONE, OUTSIDE, PARTIAL_FIT, SourceXtractor::PyMeasurementImage::psf_file, SourceXtractor::PyMeasurementImage::psf_hdu, SourceXtractor::PyOutputWrapper::read(), SourceXtractor::PyOutputWrapper::readable(), SourceXtractor::PyOutputWrapper::readline(), SourceXtractor::PyOutputWrapper::readlines(), SATURATED, SourceXtractor::PyMeasurementImage::saturation, SourceXtractor::PyOutputWrapper::seek(), SourceXtractor::PyOutputWrapper::seekable(), SourceXtractor::PyOutputWrapper::tell(), SourceXtractor::PyAperture::toString(), SourceXtractor::PyOutputWrapper::truncate(), SourceXtractor::PyMeasurementImage::weight_absolute, SourceXtractor::PyMeasurementImage::weight_file, SourceXtractor::PyMeasurementImage::weight_hdu, SourceXtractor::PyMeasurementImage::weight_scaling, SourceXtractor::PyMeasurementImage::weight_threshold, SourceXtractor::PyMeasurementImage::weight_type, SourceXtractor::CoordinateSystem::worldToImage(), SourceXtractor::PyOutputWrapper::writable(), SourceXtractor::PyOutputWrapper::write(), and SourceXtractor::PyOutputWrapper::writelines().

Here is the call graph for this function:

◆ checkIsClose()

boost::test_tools::predicate_result SourceXtractor::checkIsClose ( double  ref,
const double  val,
double  atol = 1e-8,
double  rtol = 1e-5 
)

Definition at line 80 of file TestUtils.h.

References std::atol(), isClose(), and std::ref().

Here is the call graph for this function:

◆ compareCollections()

template<typename T , typename U >
boost::test_tools::predicate_result SourceXtractor::compareCollections ( const T &  ref,
const U &  val,
double  atol = 1e-8,
double  rtol = 1e-5 
)

Definition at line 52 of file TestUtils.h.

References std::atol(), std::begin(), std::end(), isClose(), and std::ref().

Here is the call graph for this function:

◆ compareImages()

template<typename T , typename U >
boost::test_tools::predicate_result SourceXtractor::compareImages ( const T &  ref,
const U &  val,
double  atol = 1e-8,
double  rtol = 1e-5 
)

Definition at line 32 of file TestUtils.h.

References std::atol(), isClose(), std::ref(), x, and y.

Here is the call graph for this function:

◆ computeBn()

static double SourceXtractor::computeBn ( double  n)
static

◆ extractSourceId()

static unsigned int SourceXtractor::extractSourceId ( const SourceInterface i)
static

Definition at line 23 of file Sorter.cpp.

References SourceXtractor::SourceInterface::getProperty().

Referenced by SourceXtractor::Sorter::handleMessage().

Here is the call graph for this function:

◆ fftRoundDimension()

int SourceXtractor::fftRoundDimension ( int  size)

FFTW is best at handling sizes of the form 2^a 3^b 5^c 7^d 11^e 13^f where e+f is either 0 or 1. It can compute any size, but to make things faster, this function will return a new size greater of equal to 'size' that falls into the previously mentioned form. It really improves the performance. Of course, there has to be an equilibrium, if the rounded-up size is too far, then the overhead of computing more data won't pay off. For size >= 1024, if will be rounded up to the next multiple of 512.

Parameters
sizeThe size to round up
Returns
A value greater of equal that should improve the performance of the transform computation.
See also
http://www.fftw.org/fftw3_doc/Real_002ddata-DFTs.html

Definition at line 49 of file FFT.cpp.

Referenced by SourceXtractor::DFTConvolution< DetectionImage::PixelType, PaddedType >::prepare().

◆ fillAperture()

template<typename T >
void SourceXtractor::fillAperture ( const std::shared_ptr< Aperture > &  aperture,
SeFloat  centroid_x,
SeFloat  centroid_y,
const std::shared_ptr< WriteableImage< T >> &  img,
value 
)

Fill the pixels that fall within the aperture with the given value. Useful for debugging.

Template Parameters
T
Parameters
apertureAperture to use
centroid_xCenter of the aperture on the X axis
centroid_yCenter of the aperture on the Y axis
imgImage to modify
valueValue to use for the fill

Definition at line 81 of file FluxMeasurement.h.

References SourceXtractor::Aperture::getArea(), SourceXtractor::Aperture::getMaxPixel(), SourceXtractor::Aperture::getMinPixel(), x, and y.

Referenced by SourceXtractor::AperturePhotometryTask::computeProperties(), and SourceXtractor::AutoPhotometryTask::computeProperties().

Here is the call graph for this function:

◆ flags2long() [1/2]

constexpr int64_t SourceXtractor::flags2long ( const Flags a)
inlineconstexpr

◆ flags2long() [2/2]

std::vector<int64_t> SourceXtractor::flags2long ( const std::vector< Flags > &  v)
inline

Definition at line 71 of file SourceFlags.h.

References std::vector< T >::emplace_back(), and flags2long().

Here is the call graph for this function:

◆ getClamped()

double SourceXtractor::getClamped ( const ImageInterfaceTypePtr image,
int  x,
int  y 
)
inline

◆ handleContinuationSignal()

static void SourceXtractor::handleContinuationSignal ( int  )
static

Intercept SIGCONT (after fg, for instance)

Definition at line 279 of file ProgressNCurses.cpp.

Referenced by SourceXtractor::Screen::Screen().

◆ handleResizeSignal()

static void SourceXtractor::handleResizeSignal ( int  s)
static

Intercept SIGWICH (resize)

Definition at line 288 of file ProgressNCurses.cpp.

References s, and signal_fds.

Referenced by SourceXtractor::Screen::Screen().

◆ handleStopSignal()

static void SourceXtractor::handleStopSignal ( int  s)
static

Intercept SIGTSTP (Ctrl+Z)

Definition at line 265 of file ProgressNCurses.cpp.

References prev_signal, and s.

Referenced by SourceXtractor::Screen::Screen().

◆ handleTerminatingSignal()

static void SourceXtractor::handleTerminatingSignal ( int  s)
static

Intercept several terminating signals so the terminal style can be restored

We can only call signal safe functions here: see man 7 signal-safety. We use a pipe to communicate the signals, as write is safe. It would be nice to use C++ types for the thread synchronization, but they may not be signal safe. From C++14: The common subset of the C and C++ languages consists of all declarations, definitions, and expressions that may appear in a well formed C++ program and also in a conforming C program. A POF (“plain old function”) is a function that uses only features from this common subset, and that does not directly or indirectly use any function that is not a POF. [...] The behavior of any function other than a POF used as a signal handler in a C++ program is implementation-defined. Therefore we resort to semaphores (sem_*), which are signal safe

Definition at line 234 of file ProgressNCurses.cpp.

References SourceXtractor::ncurses_done::m_semaphore, prev_signal, s, and signal_fds.

Referenced by SourceXtractor::Screen::Screen().

◆ interceptFileDescriptor()

static int SourceXtractor::interceptFileDescriptor ( int  old_fd,
int *  backup_fd 
)
static

Intercepts writes to a file descriptor old_fd into a pipe, and returns the reading end

Parameters
old_fdFile descriptor to intercept
backup_fdDuplicate the file descriptor and put it here, so we can restore later
Returns
A new file descriptor, corresponding now to the read end of the intercepting pipe

Definition at line 70 of file ProgressNCurses.cpp.

References std::generic_category().

Referenced by SourceXtractor::ProgressNCurses::Dashboard::Dashboard().

Here is the call graph for this function:

◆ interpolate_pix()

float SourceXtractor::interpolate_pix ( float *  pix,
float  x,
float  y,
int  xsize,
int  ysize,
interpenum  interptype 
)

Definition at line 124 of file ImageInterfaceTraits.cpp.

References dx, dy, INTERP_MAXKERNELWIDTH, INTERP_NEARESTNEIGHBOUR, make_kernel(), x, and y.

Referenced by ModelFitting::ImageTraits< WriteableInterfaceTypePtr >::shiftResizeLancszos(), and shiftResizeLancszos().

Here is the call graph for this function:

◆ isClose()

bool SourceXtractor::isClose ( double  a,
double  b,
double  atol = 1e-8,
double  rtol = 1e-5 
)

Definition at line 28 of file IsClose.h.

References std::atol().

Referenced by checkIsClose(), compareCollections(), compareImages(), BenchBackgroundConvolution::verifyResults(), and BenchConvolution::verifyResults().

Here is the call graph for this function:

◆ loadFitsHeader()

static std::map<std::string, std::string> SourceXtractor::loadFitsHeader ( fitsfile *  fptr)
static

Definition at line 38 of file FitsImageSource.cpp.

References std::map< K, T >::emplace(), and std::strncmp().

Referenced by SourceXtractor::FitsImageSource< T >::FitsImageSource().

Here is the call graph for this function:

◆ make_kernel()

void SourceXtractor::make_kernel ( float  pos,
float *  kernel,
interpenum  interptype 
)
inline

◆ measureFlux()

FluxMeasurement SourceXtractor::measureFlux ( const std::shared_ptr< Aperture > &  aperture,
SeFloat  centroid_x,
SeFloat  centroid_y,
const std::shared_ptr< Image< SeFloat >> &  img,
const std::shared_ptr< Image< SeFloat >> &  variance_map,
SeFloat  variance_threshold,
bool  use_symmetry 
)

Measure the flux on an image

Parameters
apertureAperture to use
centroid_xCenter of the aperture on the X axis
centroid_yCenter of the aperture on the Y axis
imgThe image where to measure
variance_mapVariance map
variance_thresholdIf the pixel value in the variance map is greater than this value, the pixel will be ignored
use_symmetryIf the pixel is ignored, try using the symmetric point value instead
Returns
A measurement with the total flux, variance, and the BOUNDARY flag if the aperture touches on a border

Definition at line 32 of file FluxMeasurement.cpp.

References BADAREA_THRESHOLD_APER, BIASED, BOUNDARY, SourceXtractor::Aperture::getArea(), SourceXtractor::Aperture::getMaxPixel(), SourceXtractor::Aperture::getMinPixel(), SourceXtractor::FluxMeasurement::m_bad_area, SourceXtractor::FluxMeasurement::m_flags, SourceXtractor::FluxMeasurement::m_flux, SourceXtractor::FluxMeasurement::m_total_area, SourceXtractor::FluxMeasurement::m_variance, and OUTSIDE.

Referenced by SourceXtractor::AperturePhotometryTask::computeProperties(), and SourceXtractor::AutoPhotometryTask::computeProperties().

Here is the call graph for this function:

◆ operator&()

constexpr Flags SourceXtractor::operator& ( const Flags a,
const Flags b 
)
inlineconstexpr

Definition at line 53 of file SourceFlags.h.

◆ operator*()

constexpr Flags SourceXtractor::operator* ( const Flags a,
const bool  b 
)
constexpr

Definition at line 58 of file SourceFlags.h.

References NONE.

◆ operator<() [1/2]

bool SourceXtractor::operator< ( SourceGroupInterface::iterator  a,
SourceGroupInterface::iterator  b 
)
inline

Definition at line 41 of file Cleaning.cpp.

◆ operator<() [2/2]

bool SourceXtractor::operator< ( std::reference_wrapper< const SourceInterface a,
std::reference_wrapper< const SourceInterface b 
)
inline

Definition at line 37 of file FlexibleModelFittingParameterManager.h.

References std::reference_wrapper::get().

Here is the call graph for this function:

◆ operator<<()

std::ostream& SourceXtractor::operator<< ( std::ostream out,
const TileKey tk 
)
inline

Definition at line 57 of file TileManager.h.

References SourceXtractor::TileKey::getRepr().

Here is the call graph for this function:

◆ operator|()

constexpr Flags SourceXtractor::operator| ( const Flags a,
const Flags b 
)
inlineconstexpr

Definition at line 48 of file SourceFlags.h.

◆ operator|=()

Flags& SourceXtractor::operator|= ( Flags a,
const Flags b 
)
inline

Definition at line 62 of file SourceFlags.h.

◆ override_rl_display()

static void SourceXtractor::override_rl_display ( void  )
static

But why? You may ask. Because it looks like before Python 3.7, when loading the SourceXtractor++ Python configuration, something would trigger the loading of readline, which in turns tries to get the terminal size, overwriting LINES and COLS and leaving them with the default 80x24 (Maybe because we intercept stderr/stdout?) This leaves our ncurses UI in a bad shape, not being able to properly go back to the former state at exiting. Looking at the readline code, it appears like we can avoid a call into tgetent if we override rl_redisplay_function

Definition at line 103 of file ProgressNCurses.cpp.

Referenced by SourceXtractor::Screen::Screen().

◆ py_call_wrapper()

template<typename R , typename ... T>
R SourceXtractor::py_call_wrapper ( const py::object &  func,
T...  args 
)

Wrap py::extract and the call so Python errors can be properly translated and logged

Template Parameters
RReturn type
TVariadic template for any arbitrary number of arguments
Parameters
funcPython function to be called
argsArguments for the Python function
Returns
Whatever the Python function returns
Exceptions
Elements::Exceptionif either the call or the extract throw a Python exception

Definition at line 59 of file ModelFittingConfig.cpp.

References e, Euclid::Configuration::logger, and pyToElementsException().

Here is the call graph for this function:

◆ pyToElementsException()

Elements::Exception SourceXtractor::pyToElementsException ( Elements::Logging logger)

Dumps into ERR the traceback and returns an Elements exception to be re-thrown

Parameters
loggerDumps the traceback to this logger
Note
It uses PyErr_Fetch to get the exception
Returns
An Elements exception that contains the error message from the last exception thrown within Python

Definition at line 30 of file Python.cpp.

References std::string::empty(), Elements::Logging::error(), conf::filename, and logger.

Referenced by SourceXtractor::PythonInterpreter::getApertureOutputColumns(), SourceXtractor::PythonInterpreter::getApertures(), SourceXtractor::PythonInterpreter::getFrameModelsMap(), SourceXtractor::PythonInterpreter::getMeasurementGroups(), SourceXtractor::PythonInterpreter::getMeasurementImages(), SourceXtractor::PythonInterpreter::getModelFittingOutputColumns(), SourceXtractor::ModelFittingConfig::initialize(), SourceXtractor::ModelFittingConfig::initializeInner(), py_call_wrapper(), SourceXtractor::PythonInterpreter::runCode(), and SourceXtractor::PythonInterpreter::runFile().

Here is the call graph for this function:

◆ readImage()

template<typename T >
static std::shared_ptr<VariablePsf> SourceXtractor::readImage ( T &  image_hdu)
static

Definition at line 126 of file PsfPluginConfig.cpp.

References std::begin(), std::copy(), SourceXtractor::VectorImage< T >::create(), Elements::Logging::debug(), std::end(), and logger.

Referenced by SourceXtractor::PsfPluginConfig::readPsf().

Here is the call graph for this function:

◆ readPsfEx()

static std::shared_ptr<VariablePsf> SourceXtractor::readPsfEx ( std::unique_ptr< CCfits::FITS > &  pFits,
int  hdu_number = 1 
)
static

Definition at line 43 of file PsfPluginConfig.cpp.

References std::begin(), component_value_getters, SourceXtractor::VectorImage< T >::create(), Elements::Logging::debug(), e, logger, and std::to_string().

Referenced by SourceXtractor::PsfPluginConfig::readPsf().

Here is the call graph for this function:

◆ Reflect101Coordinates()

int SourceXtractor::Reflect101Coordinates ( int  N,
int  v 
)
inline

Definition at line 53 of file PaddedImage.h.

References std::max().

Here is the call graph for this function:

◆ ReflectCoordinates()

int SourceXtractor::ReflectCoordinates ( int  N,
int  v 
)
inline

Definition at line 36 of file PaddedImage.h.

◆ ReplicateCoordinates()

int SourceXtractor::ReplicateCoordinates ( int  N,
int  v 
)
inline

Definition at line 30 of file PaddedImage.h.

◆ shiftResize()

void SourceXtractor::shiftResize ( const ImageInterfaceTypePtr source,
ImageInterfaceTypePtr window,
double  scale_factor,
double  x_shift,
double  y_shift 
)

Definition at line 187 of file ImageInterfaceTraits.cpp.

References ModelFitting::ImageTraits< ImageInterfaceTypePtr >::at(), std::floor(), getClamped(), ModelFitting::ImageTraits< ImageInterfaceTypePtr >::height(), ModelFitting::ImageTraits< ImageInterfaceTypePtr >::width(), x, and y.

Referenced by ModelFitting::ImageTraits< cv::Mat >::addImageToImage().

Here is the call graph for this function:

◆ shiftResizeLancszos()

void SourceXtractor::shiftResizeLancszos ( const ImageInterfaceTypePtr source,
ImageInterfaceTypePtr window,
double  scale_factor,
double  x_shift,
double  y_shift 
)

Definition at line 213 of file ImageInterfaceTraits.cpp.

References ModelFitting::ImageTraits< ImageInterfaceTypePtr >::at(), ModelFitting::ImageTraits< ImageInterfaceTypePtr >::height(), INTERP_LANCZOS4, interpolate_pix(), ModelFitting::ImageTraits< ImageInterfaceTypePtr >::width(), x, and y.

Referenced by ModelFitting::ImageTraits< WriteableInterfaceTypePtr >::addImageToImage().

Here is the call graph for this function:

◆ shiftResizeLancszosFast()

void SourceXtractor::shiftResizeLancszosFast ( const ImageInterfaceTypePtr source,
ImageInterfaceTypePtr window,
double  scale_factor,
double  x_shift,
double  y_shift 
)

◆ transform()

std::pair<double, double> SourceXtractor::transform ( int  x,
int  y,
const std::array< double, 4 > &  t 
)
inline

◆ WrapCoordinates()

int SourceXtractor::WrapCoordinates ( int  N,
int  v 
)
inline

Definition at line 69 of file PaddedImage.h.

◆ wrapped_lincpy()

static int SourceXtractor::wrapped_lincpy ( int  alloc,
const struct linprm *  linsrc,
struct linprm *  lindst 
)
static

wcslib < 5.18 is not fully safe thread, as some functions (like discpy, called by lincpy) rely on global variables for determining the allocation sizes. For those versions, this is called instead, wrapping the call with a mutex.

Definition at line 49 of file WCS.cpp.

References std::lock().

Referenced by SourceXtractor::WCS::WCS().

Here is the call graph for this function:

Variable Documentation

◆ aperture_photometry_plugin [1/2]

StaticPlugin<AperturePhotometryPlugin> SourceXtractor::aperture_photometry_plugin
static

Definition at line 34 of file AperturePhotometryPlugin.cpp.

◆ aperture_photometry_plugin [2/2]

StaticPlugin<AutoPhotometryPlugin> SourceXtractor::aperture_photometry_plugin
static

Definition at line 34 of file AutoPhotometryPlugin.cpp.

◆ BACKGROUND_VALUE

const std::string SourceXtractor::BACKGROUND_VALUE {"background-value" }
static

◆ BADAREA_THRESHOLD_APER

const SeFloat SourceXtractor::BADAREA_THRESHOLD_APER = 0.1

◆ bck_model_logger

Elements::Logging SourceXtractor::bck_model_logger = Elements::Logging::getLogger("BackgroundModel")
static

◆ blended_plugin

StaticPlugin<BlendedFlagPlugin> SourceXtractor::blended_plugin
static

Definition at line 29 of file BlendedFlagPlugin.cpp.

◆ boundary_flag

StaticPlugin<BoundaryFlagPlugin> SourceXtractor::boundary_flag
static

◆ CELLSIZE_VALUE

const std::string SourceXtractor::CELLSIZE_VALUE {"background-cell-size" }
static

◆ CHECK_APERTURE

const std::string SourceXtractor::CHECK_APERTURE { "check-image-aperture" }
static

◆ CHECK_AUTO_APERTURE

const std::string SourceXtractor::CHECK_AUTO_APERTURE { "check-image-auto-aperture" }
static

◆ CHECK_FILTERED

const std::string SourceXtractor::CHECK_FILTERED { "check-image-filtered" }
static

◆ CHECK_GROUPING

const std::string SourceXtractor::CHECK_GROUPING { "check-image-grouping" }
static

◆ CHECK_MODEL_BACKGROUND

const std::string SourceXtractor::CHECK_MODEL_BACKGROUND { "check-image-background" }
static

◆ CHECK_MODEL_FITTING

const std::string SourceXtractor::CHECK_MODEL_FITTING { "check-image-model-fitting" }
static

◆ CHECK_MODEL_VARIANCE

const std::string SourceXtractor::CHECK_MODEL_VARIANCE { "check-image-variance" }
static

◆ CHECK_MOFFAT

const std::string SourceXtractor::CHECK_MOFFAT { "check-image-moffat" }
static

◆ CHECK_PARTITION

const std::string SourceXtractor::CHECK_PARTITION { "check-image-partition" }
static

◆ CHECK_PSF

const std::string SourceXtractor::CHECK_PSF { "check-image-psf" }
static

◆ CHECK_RESIDUAL

const std::string SourceXtractor::CHECK_RESIDUAL { "check-image-residual" }
static

◆ CHECK_SEGMENTATION

const std::string SourceXtractor::CHECK_SEGMENTATION { "check-image-segmentation" }
static

◆ CHECK_SNR

const std::string SourceXtractor::CHECK_SNR { "check-image-snr" }
static

◆ CHECK_THRESHOLDED

const std::string SourceXtractor::CHECK_THRESHOLDED { "check-image-thresholded" }
static

◆ CLEANING_MINAREA

const std::string SourceXtractor::CLEANING_MINAREA {"cleaning-minimum-area"}
static

◆ component_value_getters

std::map< std::string, ValueGetter > SourceXtractor::component_value_getters
Initial value:
{
{"X_IMAGE", [](SourceXtractor::SourceGroupInterface &group, unsigned instance){
auto& measurement_frame_group = group.getProperty<MeasurementFrameGroupRectangle>(instance);
double top_x = measurement_frame_group.getTopLeft().m_x;
return top_x + measurement_frame_group.getWidth() / 2.;
}},
{"Y_IMAGE", [](SourceXtractor::SourceGroupInterface &group, unsigned instance){
auto& measurement_frame_group = group.getProperty<MeasurementFrameGroupRectangle>(instance);
double top_y = measurement_frame_group.getTopLeft().m_y;
return top_y + measurement_frame_group.getHeight() / 2.;
}}
}

Definition at line 36 of file PsfTask.cpp.

Referenced by SourceXtractor::PsfTask::computeProperties(), and readPsfEx().

◆ CORE_MINAREA

const std::string SourceXtractor::CORE_MINAREA {"core-minimum-area" }
static

◆ CORE_THRESH_USE

const std::string SourceXtractor::CORE_THRESH_USE {"partition-corethreshold" }
static

◆ CORE_THRESHOLD

const std::string SourceXtractor::CORE_THRESHOLD {"core-threshold-value" }
static

◆ DETECT_MINAREA

const std::string SourceXtractor::DETECT_MINAREA {"detection-minimum-area"}
static

◆ detection_frame_group_stamp_plugin

StaticPlugin<DetectionFrameGroupStampPlugin> SourceXtractor::detection_frame_group_stamp_plugin
static

Definition at line 33 of file DetectionFrameGroupStampPlugin.cpp.

◆ detection_frame_pixel_values_plugin

StaticPlugin<DetectionFramePixelValuesPlugin> SourceXtractor::detection_frame_pixel_values_plugin
static

Definition at line 33 of file DetectionFramePixelValuesPlugin.cpp.

◆ detection_frame_source_stamp_plugin

StaticPlugin<DetectionFrameSourceStampPlugin> SourceXtractor::detection_frame_source_stamp_plugin
static

Definition at line 33 of file DetectionFrameSourceStampPlugin.cpp.

◆ DETECTION_IMAGE

const std::string SourceXtractor::DETECTION_IMAGE { "detection-image" }
static

◆ DETECTION_IMAGE_FLUX_SCALE

const std::string SourceXtractor::DETECTION_IMAGE_FLUX_SCALE {"detection-image-flux-scale"}
static

◆ DETECTION_IMAGE_GAIN

const std::string SourceXtractor::DETECTION_IMAGE_GAIN { "detection-image-gain" }
static

◆ DETECTION_IMAGE_INTERPOLATION

const std::string SourceXtractor::DETECTION_IMAGE_INTERPOLATION { "detection-image-interpolation" }
static

◆ DETECTION_IMAGE_INTERPOLATION_GAP

const std::string SourceXtractor::DETECTION_IMAGE_INTERPOLATION_GAP { "detection-image-interpolation-gap" }
static

◆ DETECTION_IMAGE_SATURATION

const std::string SourceXtractor::DETECTION_IMAGE_SATURATION { "detection-image-saturation" }
static

◆ fftw_global_plan_mutex

boost::mutex SourceXtractor::fftw_global_plan_mutex {}

FFTW3 requires a global mutex when creating a plan. Plan executions are, on the other hand, thread safe.

Definition at line 34 of file FFT.cpp.

Referenced by SourceXtractor::FFT< T >::createForwardPlan(), and SourceXtractor::FFT< T >::createInversePlan().

◆ fitsWriterLogger

Elements::Logging SourceXtractor::fitsWriterLogger = Elements::Logging::getLogger("FitsWriter")
static

◆ flexible_modelfitting_plugin

StaticPlugin<FlexibleModelFittingPlugin> SourceXtractor::flexible_modelfitting_plugin
static

Definition at line 35 of file FlexibleModelFittingPlugin.cpp.

◆ format_map

std::map<std::string, OutputConfig::OutputFileFormat> SourceXtractor::format_map
static
Initial value:
{
{"ASCII", OutputConfig::OutputFileFormat::ASCII},
{"FITS", OutputConfig::OutputFileFormat::FITS}
}

Definition at line 42 of file OutputConfig.cpp.

Referenced by SourceXtractor::OutputConfig::initialize(), and SourceXtractor::OutputConfig::preInitialize().

◆ group_info_plugin

StaticPlugin<GroupInfoPlugin> SourceXtractor::group_info_plugin
static

Definition at line 34 of file GroupInfoPlugin.cpp.

◆ GROUPING_ALGORITHM

const std::string SourceXtractor::GROUPING_ALGORITHM {"grouping-algorithm" }
static

◆ GROUPING_ALGORITHM_MOFFAT

const std::string SourceXtractor::GROUPING_ALGORITHM_MOFFAT {"MOFFAT" }
static

Definition at line 43 of file GroupingConfig.cpp.

Referenced by SourceXtractor::GroupingConfig::initialize().

◆ GROUPING_ALGORITHM_NONE

const std::string SourceXtractor::GROUPING_ALGORITHM_NONE {"NONE" }
static

◆ GROUPING_ALGORITHM_OVERLAP

const std::string SourceXtractor::GROUPING_ALGORITHM_OVERLAP {"OVERLAP" }
static

Definition at line 41 of file GroupingConfig.cpp.

Referenced by SourceXtractor::GroupingConfig::initialize().

◆ GROUPING_ALGORITHM_SPLIT

const std::string SourceXtractor::GROUPING_ALGORITHM_SPLIT {"SPLIT" }
static

Definition at line 42 of file GroupingConfig.cpp.

Referenced by SourceXtractor::GroupingConfig::initialize().

◆ GROUPING_MOFFAT_MAX_DISTANCE

const std::string SourceXtractor::GROUPING_MOFFAT_MAX_DISTANCE {"grouping-moffat-max-distance" }
static

◆ GROUPING_MOFFAT_THRESHOLD

const std::string SourceXtractor::GROUPING_MOFFAT_THRESHOLD {"grouping-moffat-threshold" }
static

◆ isophotal_flux_plugin

StaticPlugin<IsophotalFluxPlugin> SourceXtractor::isophotal_flux_plugin
static

Definition at line 33 of file IsophotalFluxPlugin.cpp.

◆ jacobian_plugin

StaticPlugin<JacobianPlugin> SourceXtractor::jacobian_plugin
static

Definition at line 31 of file JacobianPlugin.cpp.

◆ kron_radius_plugin

StaticPlugin<KronRadiusPlugin> SourceXtractor::kron_radius_plugin
static

Definition at line 32 of file KronRadiusPlugin.cpp.

◆ logger [1/3]

auto SourceXtractor::logger = Elements::Logging::getLogger("FlexibleModelFitting")
static

Definition at line 32 of file FlexibleModelFittingTaskFactory.cpp.

◆ logger [2/3]

auto SourceXtractor::logger = Elements::Logging::getLogger("WCS")
static

Definition at line 40 of file WCS.cpp.

◆ logger [3/3]

Elements::Logging SourceXtractor::logger = Elements::Logging::getLogger("PluginManager")
static

Definition at line 45 of file PluginManager.cpp.

Referenced by BenchBackgroundConvolution::benchmark(), BenchConvolution::benchmark(), SourceXtractor::FlexibleModelFittingTaskFactory::configure(), SourceXtractor::ProgressReporterFactory::createProgressMediator(), SourceXtractor::PsfPluginConfig::generateGaussianPsf(), SourceXtractor::PythonInterpreter::getApertureOutputColumns(), SourceXtractor::PythonInterpreter::getApertures(), SourceXtractor::PythonInterpreter::getFrameModelsMap(), SourceXtractor::PythonInterpreter::getMeasurementGroups(), SourceXtractor::PythonInterpreter::getMeasurementImages(), SourceXtractor::PythonInterpreter::getModelFittingOutputColumns(), SourceXtractor::ModelFittingConfig::initialize(), SourceXtractor::MeasurementImageConfig::initialize(), SourceXtractor::ModelFittingConfig::initializeInner(), SourceXtractor::PluginManager::loadPlugins(), main(), BenchBackgroundConvolution::mainMethod(), BenchConvolution::mainMethod(), SEMain::mainMethod(), TestImage::mainMethod(), SourceXtractor::MultithreadedMeasurement::outputThreadStatic(), SourceXtractor::BackgroundConvolution::processImage(), pyToElementsException(), readImage(), readPsfEx(), SourceXtractor::PythonInterpreter::runCode(), SourceXtractor::PythonInterpreter::runFile(), BenchBackgroundConvolution::verifyResults(), BenchConvolution::verifyResults(), SourceXtractor::MultithreadedMeasurement::waitForThreads(), SourceXtractor::WCS::WCS(), and SourceXtractor::MultithreadedMeasurement::workerThreadStatic().

◆ MAG_ZEROPOINT

const std::string SourceXtractor::MAG_ZEROPOINT {"magnitude-zero-point"}
static

◆ MAX_TILE_MEMORY

const std::string SourceXtractor::MAX_TILE_MEMORY {"tile-memory-limit"}
static

◆ measurement_frame_group_rectangle_plugin

StaticPlugin<MeasurementFrameGroupRectanglePlugin> SourceXtractor::measurement_frame_group_rectangle_plugin
static

Definition at line 33 of file MeasurementFrameGroupRectanglePlugin.cpp.

◆ measurement_frame_pixel_centroid_plugin [1/2]

StaticPlugin<MeasurementFramePixelCentroidPlugin> SourceXtractor::measurement_frame_pixel_centroid_plugin
static

Definition at line 33 of file MeasurementFramePixelCentroidPlugin.cpp.

◆ measurement_frame_pixel_centroid_plugin [2/2]

StaticPlugin<MeasurementFramePlugin> SourceXtractor::measurement_frame_pixel_centroid_plugin
static

Definition at line 34 of file MeasurementFramePlugin.cpp.

◆ measurement_frame_rectangle_plugin

StaticPlugin<MeasurementFrameRectanglePlugin> SourceXtractor::measurement_frame_rectangle_plugin
static

Definition at line 33 of file MeasurementFrameRectanglePlugin.cpp.

◆ MFIT_ENGINE

const std::string SourceXtractor::MFIT_ENGINE {"model-fitting-engine"}
static

◆ MFIT_MAX_ITERATIONS

const std::string SourceXtractor::MFIT_MAX_ITERATIONS {"model-fitting-iterations"}
static

◆ model_fitting_logger

Elements::Logging SourceXtractor::model_fitting_logger = Elements::Logging::getLogger("ModelFitting")

Definition at line 33 of file FlexibleModelFittingPlugin.cpp.

◆ MODEL_MIN_SIZE

const double SourceXtractor::MODEL_MIN_SIZE = 4.0
static

◆ MODEL_SIZE_FACTOR

const double SourceXtractor::MODEL_SIZE_FACTOR = 1.2
static

◆ MTHRESH_MIN_AREA

const std::string SourceXtractor::MTHRESH_MIN_AREA {"partition-minimum-area"}
static

◆ MTHRESH_MIN_CONTRAST

const std::string SourceXtractor::MTHRESH_MIN_CONTRAST {"partition-minimum-contrast"}
static

◆ MTHRESH_THRESHOLDS_NB

const std::string SourceXtractor::MTHRESH_THRESHOLDS_NB {"partition-threshold-count"}
static

◆ MTHRESH_USE

const std::string SourceXtractor::MTHRESH_USE {"partition-multithreshold"}
static

◆ n_core_pixels

StaticPlugin<CoreThresholdPartitionPlugin> SourceXtractor::n_core_pixels
static

Definition at line 28 of file CoreThresholdPartitionPlugin.cpp.

◆ n_detected_pixels

StaticPlugin<NDetectedPixelsPlugin> SourceXtractor::n_detected_pixels
static

Definition at line 43 of file NDetectedPixelsPlugin.cpp.

◆ ncurses_done

◆ OUTPUT_FILE

const std::string SourceXtractor::OUTPUT_FILE {"output-catalog-filename"}
static

◆ OUTPUT_FILE_FORMAT

const std::string SourceXtractor::OUTPUT_FILE_FORMAT {"output-catalog-format"}
static

◆ OUTPUT_FLUSH_SIZE

const std::string SourceXtractor::OUTPUT_FLUSH_SIZE {"output-flush-size"}
static

◆ OUTPUT_PROPERTIES

const std::string SourceXtractor::OUTPUT_PROPERTIES {"output-properties"}
static

◆ peak_value_plugin

StaticPlugin<PeakValuePlugin> SourceXtractor::peak_value_plugin
static

Definition at line 33 of file PeakValuePlugin.cpp.

◆ pixel_boundaries_plugin [1/2]

StaticPlugin<ExternalFlagPlugin> SourceXtractor::pixel_boundaries_plugin
static

Definition at line 33 of file ExternalFlagPlugin.cpp.

◆ pixel_boundaries_plugin [2/2]

StaticPlugin<PixelBoundariesPlugin> SourceXtractor::pixel_boundaries_plugin
static

Definition at line 34 of file PixelBoundariesPlugin.cpp.

◆ pixel_centroid_plugin [1/2]

StaticPlugin<PixelCentroidPlugin> SourceXtractor::pixel_centroid_plugin
static

Definition at line 33 of file PixelCentroidPlugin.cpp.

◆ pixel_centroid_plugin [2/2]

StaticPlugin<WorldCentroidPlugin> SourceXtractor::pixel_centroid_plugin
static

Definition at line 34 of file WorldCentroidPlugin.cpp.

◆ PLUGIN

const std::string SourceXtractor::PLUGIN { "plugin" }
static

◆ PLUGIN_DIRECTORY

const std::string SourceXtractor::PLUGIN_DIRECTORY { "plugin-directory" }
static

◆ prev_signal

std::map<int, struct sigaction> SourceXtractor::prev_signal
static

◆ PROGRESS_BAR_DISABLED

const std::string SourceXtractor::PROGRESS_BAR_DISABLED {"progress-bar-disable"}
static

◆ PROGRESS_MIN_INTERVAL

const std::string SourceXtractor::PROGRESS_MIN_INTERVAL {"progress-min-interval"}
static

◆ PSF_FILE

const std::string SourceXtractor::PSF_FILE {"psf-filename"}
static

◆ PSF_FWHM

const std::string SourceXtractor::PSF_FWHM {"psf-fwhm" }
static

◆ PSF_PIXEL_SAMPLING

const std::string SourceXtractor::PSF_PIXEL_SAMPLING {"psf-pixel-sampling" }
static

◆ psf_plugin

StaticPlugin<PsfPlugin> SourceXtractor::psf_plugin
static

Definition at line 37 of file PsfPlugin.cpp.

◆ safe_lincpy

decltype(&lincpy) SourceXtractor::safe_lincpy = &lincpy

◆ saturate_flag

StaticPlugin<SaturateFlagPlugin> SourceXtractor::saturate_flag
static

◆ segConfigLogger

Elements::Logging SourceXtractor::segConfigLogger = Elements::Logging::getLogger("Config")
static

◆ SEGMENTATION_ALGORITHM

const std::string SourceXtractor::SEGMENTATION_ALGORITHM {"segmentation-algorithm" }
static

◆ SEGMENTATION_DISABLE_FILTERING

const std::string SourceXtractor::SEGMENTATION_DISABLE_FILTERING {"segmentation-disable-filtering" }
static

◆ SEGMENTATION_FILTER

const std::string SourceXtractor::SEGMENTATION_FILTER {"segmentation-filter" }
static

◆ SEGMENTATION_LUTZ_WINDOW_SIZE

const std::string SourceXtractor::SEGMENTATION_LUTZ_WINDOW_SIZE {"segmentation-lutz-window-size" }
static

◆ shape_parameters_plugin

StaticPlugin<ShapeParametersPlugin> SourceXtractor::shape_parameters_plugin
static

Definition at line 33 of file ShapeParametersPlugin.cpp.

◆ signal_fds

int SourceXtractor::signal_fds[2]
static

◆ sigwich_action

struct sigaction sigterm_action sigstop_action sigcont_action SourceXtractor::sigwich_action
static

Definition at line 40 of file ProgressNCurses.cpp.

Referenced by SourceXtractor::Screen::Screen().

◆ simple_modelfitting_plugin

StaticPlugin<MoffatModelFittingPlugin> SourceXtractor::simple_modelfitting_plugin
static

Definition at line 33 of file MoffatModelFittingPlugin.cpp.

◆ SMOOTHINGBOX_VALUE

const std::string SourceXtractor::SMOOTHINGBOX_VALUE {"smoothing-box-size" }
static

◆ source_flags

StaticPlugin<SourceFlagsPlugin> SourceXtractor::source_flags
static

◆ source_IDs_plugin

StaticPlugin<SourceIDsPlugin> SourceXtractor::source_IDs_plugin
static

Definition at line 46 of file SourceIDsPlugin.cpp.

◆ SUPERSAMPLE_NB

const int SourceXtractor::SUPERSAMPLE_NB = 10

Definition at line 29 of file CIrcularAperture.cpp.

Referenced by SourceXtractor::CircularAperture::getArea().

◆ THREADS_NB

const std::string SourceXtractor::THREADS_NB {"thread-count"}
static

◆ THRESHOLD_VALUE

const std::string SourceXtractor::THRESHOLD_VALUE {"detection-threshold" }
static

◆ TILE_SIZE

const std::string SourceXtractor::TILE_SIZE {"tile-size"}
static

◆ USE_ATTRACTORS_PARTITION

const std::string SourceXtractor::USE_ATTRACTORS_PARTITION {"use-attractors-partition"}
static

◆ USE_CLEANING

const std::string SourceXtractor::USE_CLEANING {"use-cleaning"}
static

◆ WEIGHT_ABSOLUTE

const std::string SourceXtractor::WEIGHT_ABSOLUTE {"weight-absolute" }
static

◆ WEIGHT_IMAGE

const std::string SourceXtractor::WEIGHT_IMAGE {"weight-image" }
static

◆ WEIGHT_SCALING

const std::string SourceXtractor::WEIGHT_SCALING {"weight-scaling" }
static

◆ WEIGHT_SYMMETRYUSAGE

const std::string SourceXtractor::WEIGHT_SYMMETRYUSAGE {"weight-use-symmetry" }
static

◆ WEIGHT_THRESHOLD

const std::string SourceXtractor::WEIGHT_THRESHOLD {"weight-threshold" }
static

◆ WEIGHT_TYPE

const std::string SourceXtractor::WEIGHT_TYPE {"weight-type" }
static
SourceXtractor::SourceGroupInterface::getProperty
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition: SourceInterface.h:57
SourceXtractor::SourceGroupInterface
Defines the interface used to group sources.
Definition: SourceGroupInterface.h:37