|
SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
|
#include <LdacOutput.h>


Public Member Functions | |
| LdacOutput (const std::string &filename, SourceToRowConverter source_to_row, size_t flush_size) | |
| void | nextPart () override |
| void | outputSource (const SourceInterface &source) override |
Public Member Functions inherited from SourceXtractor::FlushableOutput | |
| FlushableOutput (SourceToRowConverter source_to_row, size_t flush_size) | |
| virtual | ~FlushableOutput ()=default |
| size_t | flush () override |
| void | outputSource (const SourceInterface &source) override |
Public Member Functions inherited from SourceXtractor::Output | |
| virtual | ~Output ()=default |
| void | receiveSource (std::unique_ptr< SourceGroupInterface > source_group) override |
| void | receiveProcessSignal (const ProcessSourcesEvent &) override |
| virtual void | outputSource (const SourceInterface &source)=0 |
| virtual size_t | flush ()=0 |
| virtual void | nextPart ()=0 |
Public Member Functions inherited from SourceXtractor::PipelineReceiver< SourceGroupInterface > | |
| virtual | ~PipelineReceiver ()=default |
| virtual void | receiveSource (std::unique_ptr< SourceGroupInterface > source)=0 |
| virtual void | receiveProcessSignal (const ProcessSourcesEvent &event)=0 |
Protected Member Functions | |
| void | writeRows (const std::vector< Euclid::Table::Row > &rows) override |
| virtual void | writeRows (const std::vector< Euclid::Table::Row > &rows)=0 |
Private Member Functions | |
| void | writeHeaders () |
Private Attributes | |
| std::string | m_filename |
| int | m_part_nb |
| std::shared_ptr< Euclid::Table::FitsWriter > | m_fits_writer |
| std::map< std::string, MetadataEntry > | m_image_metadata {} |
| DetectionImage::PixelType | m_rms |
| double | m_gain |
Additional Inherited Members | |
Public Types inherited from SourceXtractor::FlushableOutput | |
| using | SourceToRowConverter = std::function< Euclid::Table::Row(const SourceInterface &)> |
Definition at line 17 of file LdacOutput.h.
|
inline |
Definition at line 20 of file LdacOutput.h.
|
overridevirtual |
Implements SourceXtractor::Output.
Definition at line 185 of file LdacOutput.cpp.
References m_fits_writer, and m_part_nb.
|
overridevirtual |
Reimplemented from SourceXtractor::FlushableOutput.
Definition at line 117 of file LdacOutput.cpp.
References SourceXtractor::SourceInterface::getProperty(), m_filename, m_fits_writer, m_gain, m_image_metadata, m_part_nb, m_rms, SourceXtractor::FlushableOutput::outputSource(), Euclid::Table::FitsWriter::setHduName(), std::stringstream::str(), and writeHeaders().

|
private |
Definition at line 142 of file LdacOutput.cpp.
References std::accumulate(), std::string::at(), std::vector< T >::begin(), std::vector< T >::emplace_back(), std::vector< T >::end(), m_filename, m_gain, m_image_metadata, m_part_nb, m_rms, std::move(), and std::stringstream::str().
Referenced by outputSource().

|
inlineoverrideprotectedvirtual |
Implements SourceXtractor::FlushableOutput.
Definition at line 29 of file LdacOutput.h.
References Euclid::Table::TableWriter::addData(), and m_fits_writer.

|
private |
Definition at line 37 of file LdacOutput.h.
Referenced by outputSource(), and writeHeaders().
|
private |
Definition at line 40 of file LdacOutput.h.
Referenced by nextPart(), outputSource(), and writeRows().
|
private |
Definition at line 44 of file LdacOutput.h.
Referenced by outputSource(), and writeHeaders().
|
private |
Definition at line 42 of file LdacOutput.h.
Referenced by outputSource(), and writeHeaders().
|
private |
Definition at line 38 of file LdacOutput.h.
Referenced by nextPart(), outputSource(), and writeHeaders().
|
private |
Definition at line 43 of file LdacOutput.h.
Referenced by outputSource(), and writeHeaders().