SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor.cpp File Reference
#include <dlfcn.h>
#include <iomanip>
#include <map>
#include <string>
#include <typeinfo>
#include <boost/program_options.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <SEMain/SourceXtractorConfig.h>
#include "ElementsKernel/Main.h"
#include "ElementsKernel/System.h"
#include "ElementsKernel/Temporary.h"
#include "Configuration/ConfigManager.h"
#include "Configuration/Utils.h"
#include "SEFramework/Plugin/PluginManager.h"
#include "SEFramework/Task/TaskProvider.h"
#include "SEFramework/Image/ProcessedImage.h"
#include "SEFramework/Image/BufferedImage.h"
#include "SEFramework/Pipeline/SourceGrouping.h"
#include "SEFramework/Pipeline/Deblending.h"
#include "SEFramework/Pipeline/Partition.h"
#include "SEFramework/Output/OutputRegistry.h"
#include "SEFramework/Task/TaskFactoryRegistry.h"
#include "SEFramework/Source/SourceWithOnDemandPropertiesFactory.h"
#include "SEFramework/Source/SourceGroupWithOnDemandPropertiesFactory.h"
#include "SEImplementation/CheckImages/SourceIdCheckImage.h"
#include "SEImplementation/CheckImages/DetectionIdCheckImage.h"
#include "SEImplementation/CheckImages/GroupIdCheckImage.h"
#include "SEImplementation/CheckImages/MoffatCheckImage.h"
#include "SEImplementation/Background/BackgroundAnalyzerFactory.h"
#include "SEImplementation/Configuration/MultiThreadingConfig.h"
#include "SEImplementation/Segmentation/SegmentationFactory.h"
#include "SEImplementation/Output/OutputFactory.h"
#include "SEImplementation/Grouping/GroupingFactory.h"
#include "SEImplementation/Plugin/PixelCentroid/PixelCentroid.h"
#include "SEImplementation/Partition/PartitionFactory.h"
#include "SEImplementation/Deblending/DeblendingFactory.h"
#include "SEImplementation/Measurement/MeasurementFactory.h"
#include "SEImplementation/Configuration/DetectionImageConfig.h"
#include "SEImplementation/Configuration/DetectionFrameConfig.h"
#include "SEImplementation/Configuration/BackgroundConfig.h"
#include "SEImplementation/Configuration/SE2BackgroundConfig.h"
#include "SEImplementation/Configuration/WeightImageConfig.h"
#include "SEImplementation/Configuration/MemoryConfig.h"
#include "SEImplementation/Configuration/OutputConfig.h"
#include "SEImplementation/Configuration/SamplingConfig.h"
#include "SEImplementation/CheckImages/CheckImages.h"
#include "SEImplementation/Prefetcher/Prefetcher.h"
#include "SEMain/ProgressReporterFactory.h"
#include "SEMain/PluginConfig.h"
#include "SEMain/Sorter.h"

Go to the source code of this file.

Classes

class  GroupObserver
class  SourceObserver
class  SEMain
class  PluginOptionsMain

Functions

static void setupEnvironment (void)
static void disableBlasMultithreading ()
static void forwardOptions (int argc, char *const *argv, std::vector< std::string > &plugin_options_input)
ELEMENTS_API int main (int argc, char *argv[])

Variables

static long config_manager_id = getUniqueManagerId()
static const std::string LIST_OUTPUT_PROPERTIES {"list-output-properties"}
static const std::string PROPERTY_COLUMN_MAPPING_ALL {"property-column-mapping-all"}
static const std::string PROPERTY_COLUMN_MAPPING {"property-column-mapping"}
static const std::string DUMP_CONFIG {"dump-default-config"}
static Elements::Logging logger = Elements::Logging::getLogger("SourceXtractor")

Detailed Description

Date
05/31/16
Author
mschefer

Definition in file SourceXtractor.cpp.

Function Documentation

◆ disableBlasMultithreading()

void disableBlasMultithreading ( )
static

MKL Blas and OpenBlas implementation use multithreading by default, which tends to play badly with sourcextractor++ own multithreading. We disable multithreading here always as enabling multithreading causes bugs

Definition at line 135 of file SourceXtractor.cpp.

Referenced by SEMain::mainMethod().

◆ forwardOptions()

void forwardOptions ( int argc,
char *const * argv,
std::vector< std::string > & plugin_options_input )
static

Definition at line 552 of file SourceXtractor.cpp.

References std::vector< T >::emplace_back().

Referenced by main().

Here is the call graph for this function:

◆ main()

◆ setupEnvironment()

void setupEnvironment ( void )
static

Definition at line 117 of file SourceXtractor.cpp.

Referenced by main().

Variable Documentation

◆ config_manager_id

long config_manager_id = getUniqueManagerId()
static

Definition at line 90 of file SourceXtractor.cpp.

Referenced by SEMain::getConfigParameters(), and SEMain::mainMethod().

◆ DUMP_CONFIG

const std::string DUMP_CONFIG {"dump-default-config"}
static

Definition at line 95 of file SourceXtractor.cpp.

Referenced by SEMain::defineProgramArguments(), and SEMain::mainMethod().

◆ LIST_OUTPUT_PROPERTIES

const std::string LIST_OUTPUT_PROPERTIES {"list-output-properties"}
static

Definition at line 92 of file SourceXtractor.cpp.

Referenced by SEMain::defineProgramArguments(), and SEMain::mainMethod().

◆ logger

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

Definition at line 115 of file SourceXtractor.cpp.

◆ PROPERTY_COLUMN_MAPPING

const std::string PROPERTY_COLUMN_MAPPING {"property-column-mapping"}
static

Definition at line 94 of file SourceXtractor.cpp.

Referenced by SEMain::defineProgramArguments(), and SEMain::mainMethod().

◆ PROPERTY_COLUMN_MAPPING_ALL

const std::string PROPERTY_COLUMN_MAPPING_ALL {"property-column-mapping-all"}
static

Definition at line 93 of file SourceXtractor.cpp.

Referenced by SEMain::defineProgramArguments(), and SEMain::mainMethod().