SourceXtractorPlusPlus  0.12
Please provide a description of the project.
Public Member Functions | Static Public Member Functions | List of all members
SourceXtractor::FitsWriter Class Reference

#include <FitsWriter.h>

Public Member Functions

virtual ~FitsWriter ()=default
 Destructor. More...
 

Static Public Member Functions

template<typename T >
static void writeFile (const Image< T > &image, const std::string &filename, const std::shared_ptr< CoordinateSystem > coord_system=nullptr)
 
template<typename T >
static std::shared_ptr< WriteableImage< T > > newImage (const std::string &filename, int width, int height, const std::shared_ptr< CoordinateSystem > coord_system=nullptr)
 
template<typename T >
static std::shared_ptr< WriteableImage< T > > newTemporaryImage (const std::string &pattern, int width, int height)
 

Detailed Description

Definition at line 43 of file FitsWriter.h.

Constructor & Destructor Documentation

◆ ~FitsWriter()

virtual SourceXtractor::FitsWriter::~FitsWriter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ newImage()

template<typename T >
static std::shared_ptr<WriteableImage<T> > SourceXtractor::FitsWriter::newImage ( const std::string filename,
int  width,
int  height,
const std::shared_ptr< CoordinateSystem coord_system = nullptr 
)
inlinestatic

Definition at line 66 of file FitsWriter.h.

References SourceXtractor::WriteableBufferedImage< T >::create(), Elements::Logging::debug(), conf::filename, and SourceXtractor::fitsWriterLogger.

Here is the call graph for this function:

◆ newTemporaryImage()

template<typename T >
static std::shared_ptr<WriteableImage<T> > SourceXtractor::FitsWriter::newTemporaryImage ( const std::string pattern,
int  width,
int  height 
)
inlinestatic

Definition at line 74 of file FitsWriter.h.

References SourceXtractor::WriteableBufferedImage< T >::create(), Elements::Logging::debug(), and SourceXtractor::fitsWriterLogger.

Here is the call graph for this function:

◆ writeFile()

template<typename T >
static void SourceXtractor::FitsWriter::writeFile ( const Image< T > &  image,
const std::string filename,
const std::shared_ptr< CoordinateSystem coord_system = nullptr 
)
inlinestatic

Definition at line 53 of file FitsWriter.h.

References conf::filename, SourceXtractor::Image< T >::getHeight(), SourceXtractor::Image< T >::getValue(), SourceXtractor::Image< T >::getWidth(), x, and y.

Here is the call graph for this function:

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