mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
ADIobservation.cpp
Go to the documentation of this file.
1 /** \file ADIobservation.cpp
2  * \author Jared R. Males
3  * \brief Instantiates the ADI high contrast imaging data type.
4  * \ingroup hc_imaging_files
5  * \ingroup image_processing_files
6  *
7  */
8 
11 
12 
13 namespace mx
14 {
15 namespace improc
16 {
17 
18 namespace HCI
19 {
20  std::string fakeMethodsStr( int method )
21  {
22  if(method == single) return "single";
23  else if(method == list) return "list";
24  else return "unknown";
25  }
26 
27  int fakeMethodFmStr( const std::string & method )
28  {
29  if(method == "single") return single;
30  else if(method == "list") return list;
31  else return -1;
32  }
33 }
34 
35 template class ADIobservation<float, ADIDerotator<float>>;
36 template class ADIobservation<double, ADIDerotator<double>>;
37 
38 } //namespace improc
39 } //namespace mx
40 
41 
42 
Defines a generic ADI derotator class.
Defines the ADI high contrast imaging data type.
@ single
A single PSF is used.
@ list
A list of PSF files, one per input image, is used.
int fakeMethodFmStr(const std::string &method)
Get the fake injection method from its string name.
std::string fakeMethodsStr(int method)
Get the string name of a fake injection method.
The mxlib c++ namespace.
Definition: mxError.hpp:107