SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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.
 

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, bool append=false)
 
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, bool append=false)
 
template<typename T >
static std::shared_ptr< WriteableImage< T > > newTemporaryImage (const std::string &pattern, int width, int height)
 

Detailed Description

Definition at line 44 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,
bool append = false )
inlinestatic

Definition at line 68 of file FitsWriter.h.

References Euclid::Table::FitsWriter::append(), 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 77 of file FitsWriter.h.

References SourceXtractor::fitsWriterLogger.

◆ 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,
bool append = false )
inlinestatic

Definition at line 54 of file FitsWriter.h.

References Euclid::Table::FitsWriter::append(), x, and y.

Referenced by BenchBackgroundModel::mainMethod(), and SourceXtractor::CheckImages::saveImages().

Here is the call graph for this function:

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