SourceXtractorPlusPlus
0.15
Please provide a description of the project.
SEImplementation
SEImplementation
Output
LdacWriter.h
Go to the documentation of this file.
1
18
#ifndef _SEIMPLEMENTATION_LDACWRITER_H
19
#define _SEIMPLEMENTATION_LDACWRITER_H
20
21
#include <
Configuration/ConfigManager.h
>
22
#include <
Table/FitsWriter.h
>
23
#include "
SEFramework/Image/Image.h
"
24
#include "
SEFramework/Source/SourceInterface.h
"
25
26
namespace
SourceXtractor
{
27
28
class
LdacWriter
:
public
Euclid::Table::TableWriter
{
29
public
:
30
~LdacWriter
()
override
=
default
;
31
32
LdacWriter
(
const
std::string
&
filename
,
Euclid::Configuration::ConfigManager
& manager);
33
34
void
addComment
(
const
std::string
& comment)
override
;
35
36
void
notifySource
(
const
SourceInterface
& source);
37
38
protected
:
39
void
writeImHead
();
40
41
void
init
(
const
Euclid::Table::Table
& table)
override
;
42
43
void
append
(
const
Euclid::Table::Table
& table)
override
;
44
45
private
:
46
Euclid::Configuration::ConfigManager
&
m_config_manager
;
47
std::string
m_filename
;
48
std::unique_ptr<Euclid::Table::FitsWriter>
m_objects_writer
;
49
std::vector<std::string>
m_comments
;
50
DetectionImage::PixelType
m_rms
;
51
};
52
53
}
// end of namespace SourceXtractor
54
55
#endif
/* _SEIMPLEMENTATION_LDACWRITER_H */
SourceXtractor::LdacWriter::~LdacWriter
~LdacWriter() override=default
SourceXtractor::LdacWriter::m_objects_writer
std::unique_ptr< Euclid::Table::FitsWriter > m_objects_writer
Definition:
LdacWriter.h:48
SourceXtractor::LdacWriter::addComment
void addComment(const std::string &comment) override
Definition:
LdacWriter.cpp:46
std::string
STL class.
SourceXtractor::LdacWriter
Definition:
LdacWriter.h:28
SourceXtractor::LdacWriter::m_config_manager
Euclid::Configuration::ConfigManager & m_config_manager
Definition:
LdacWriter.h:46
SourceXtractor::LdacWriter::LdacWriter
LdacWriter(const std::string &filename, Euclid::Configuration::ConfigManager &manager)
Definition:
LdacWriter.cpp:42
SourceXtractor::LdacWriter::writeImHead
void writeImHead()
Definition:
LdacWriter.cpp:125
SourceXtractor::Image< SeFloat >::PixelType
SeFloat PixelType
Definition:
Image.h:47
conf.filename
string filename
Definition:
conf.py:63
SourceInterface.h
Euclid::Configuration::ConfigManager
std::vector< std::string >
SourceXtractor::LdacWriter::init
void init(const Euclid::Table::Table &table) override
Definition:
LdacWriter.cpp:166
SourceXtractor::LdacWriter::m_filename
std::string m_filename
Definition:
LdacWriter.h:47
SourceXtractor::LdacWriter::m_comments
std::vector< std::string > m_comments
Definition:
LdacWriter.h:49
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::LdacWriter::append
void append(const Euclid::Table::Table &table) override
Definition:
LdacWriter.cpp:179
Image.h
Euclid::Table::TableWriter
SourceXtractor::LdacWriter::notifySource
void notifySource(const SourceInterface &source)
Definition:
LdacWriter.cpp:55
Euclid::Table::Table
SourceXtractor::LdacWriter::m_rms
DetectionImage::PixelType m_rms
Definition:
LdacWriter.h:50
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition:
SourceInterface.h:46
std::unique_ptr< Euclid::Table::FitsWriter >
ConfigManager.h
FitsWriter.h
Generated by
1.8.20