SourceXtractorPlusPlus  0.10
Please provide a description of the project.
FitsReader.h
Go to the documentation of this file.
1 
23 #ifndef _SEFRAMEWORK_IMAGE_FITSREADER_H
24 #define _SEFRAMEWORK_IMAGE_FITSREADER_H
25 
28 
29 namespace SourceXtractor {
30 
36 template <typename T>
37 class FitsReader {
38 
39 public:
40 
44  virtual ~FitsReader() = default;
45 
47  auto image_source = std::make_shared<FitsImageSource<T>>(filename);
48  return BufferedImage<T>::create(image_source);
49  }
50 
51 }; /* End of FitsReader class */
52 
53 } /* namespace SourceXtractor */
54 
55 
56 #endif
STL class.
virtual ~FitsReader()=default
Destructor.
STL class.
string filename
Definition: conf.py:63
static std::shared_ptr< BufferedImage< T > > create(std::shared_ptr< const ImageSource< T >> source, std::shared_ptr< TileManager > tile_manager=TileManager::getInstance())
static std::shared_ptr< Image< T > > readFile(const std::string &filename)
Definition: FitsReader.h:46