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
namespace
wcslib
{
30
struct
wcsprm
;
31
}
32
33
namespace
SourceXtractor
{
34
35
class
WCS
:
public
CoordinateSystem
{
36
public
:
37
WCS
(
const
std::string
& fits_file_path,
int
hdu_number = 1);
38
virtual
~WCS
();
39
40
WorldCoordinate
imageToWorld
(
ImageCoordinate
image_coordinate)
const override
;
41
ImageCoordinate
worldToImage
(
WorldCoordinate
world_coordinate)
const override
;
42
43
std::map<std::string, std::string>
getFitsHeaders
()
const override
;
44
45
private
:
46
std::unique_ptr
<
wcslib::wcsprm
,
std::function
<void(
wcslib::wcsprm
*)>>
m_wcs
;
47
};
48
49
}
50
51
#endif
/* _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_ */
SourceXtractor::ImageCoordinate
Definition:
CoordinateSystem.h:42
std::function
wcslib
Definition:
WCS.h:29
SourceXtractor::WCS::WCS
WCS(const std::string &fits_file_path, int hdu_number=1)
Definition:
WCS.cpp:63
std::map< std::string, std::string >
SourceXtractor::CoordinateSystem
Definition:
CoordinateSystem.h:50
std::string
STL class.
SourceXtractor::WCS::imageToWorld
WorldCoordinate imageToWorld(ImageCoordinate image_coordinate) const override
Definition:
WCS.cpp:107
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::WCS::getFitsHeaders
std::map< std::string, std::string > getFitsHeaders() const override
Definition:
WCS.cpp:147
SourceXtractor::WCS::~WCS
virtual ~WCS()
Definition:
WCS.cpp:104
CoordinateSystem.h
std::unique_ptr
STL class.
wcslib::wcsprm
Definition:
WCS.cpp:1613
SourceXtractor::WCS
Definition:
WCS.h:35
SourceXtractor::WCS::worldToImage
ImageCoordinate worldToImage(WorldCoordinate world_coordinate) const override
Definition:
WCS.cpp:128
SourceXtractor::WCS::m_wcs
std::unique_ptr< wcslib::wcsprm, std::function< void(wcslib::wcsprm *)> > m_wcs
Definition:
WCS.h:46
SourceXtractor::WorldCoordinate
Definition:
CoordinateSystem.h:33
Generated by
1.8.15