SourceXtractorPlusPlus
0.10
Please provide a description of the project.
SEImplementation
SEImplementation
CoordinateSystem
WCS.h
Go to the documentation of this file.
1
17
/*
18
* WCS.h
19
*
20
* Created on: Nov 17, 2016
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_
25
#define _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_
26
27
#include "
SEFramework/CoordinateSystem/CoordinateSystem.h
"
28
29
struct
wcsprm;
30
31
namespace
SourceXtractor
{
32
33
class
WCS
:
public
CoordinateSystem
{
34
public
:
35
WCS
(
const
std::string
& fits_file_path,
int
hdu_number = 1);
36
virtual
~WCS
();
37
38
WorldCoordinate
imageToWorld
(
ImageCoordinate
image_coordinate)
const override
;
39
ImageCoordinate
worldToImage
(
WorldCoordinate
world_coordinate)
const override
;
40
41
std::map<std::string, std::string>
getFitsHeaders
()
const override
;
42
43
private
:
44
std::unique_ptr
<wcsprm,
std::function
<void(wcsprm*)>>
m_wcs
;
45
};
46
47
}
48
49
#endif
/* _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_ */
SourceXtractor::WCS::getFitsHeaders
std::map< std::string, std::string > getFitsHeaders() const override
Definition:
WCS.cpp:141
std::string
STL class.
std::function
CoordinateSystem.h
SourceXtractor::WorldCoordinate
Definition:
CoordinateSystem.h:33
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::WCS::m_wcs
std::unique_ptr< wcsprm, std::function< void(wcsprm *)> > m_wcs
Definition:
WCS.h:44
std::map< std::string, std::string >
SourceXtractor::ImageCoordinate
Definition:
CoordinateSystem.h:42
SourceXtractor::WCS::WCS
WCS(const std::string &fits_file_path, int hdu_number=1)
Definition:
WCS.cpp:57
SourceXtractor::WCS::imageToWorld
WorldCoordinate imageToWorld(ImageCoordinate image_coordinate) const override
Definition:
WCS.cpp:101
SourceXtractor::CoordinateSystem
Definition:
CoordinateSystem.h:50
SourceXtractor::WCS
Definition:
WCS.h:33
SourceXtractor::WCS::~WCS
virtual ~WCS()
Definition:
WCS.cpp:98
SourceXtractor::WCS::worldToImage
ImageCoordinate worldToImage(WorldCoordinate world_coordinate) const override
Definition:
WCS.cpp:122
std::unique_ptr
STL class.
Generated by
1.8.17