Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Arroyo::basic_otf< precision > Class Template Reference

#include <observation.h>

Inheritance diagram for Arroyo::basic_otf< precision >:

Arroyo::AO_sim_base List of all members.

Public Member Functions

 basic_otf ()
 ~basic_otf ()
 basic_otf (const basic_otf &otf)
 basic_otf (const char *filename)
 basic_otf (const iofits &iof)
 basic_otf (double ra_radians, double dec_radians, double pupil_plane_pixel_scale_meters, double wavelength_meters, const pixel_amp_array< precision > &otf_amps, const pixel_phase_array< precision > &otf_phases)
 basic_otf (double aperture_diameter_meters, double pupil_plane_pixel_scale_meters, const basic_observation< precision > &basic_obs)
basic_otfoperator= (const basic_otf &otf)
void read (const char *filename)
void read (const Arroyo::iofits &iof)
void write (const char *filename) const
void write (Arroyo::iofits &iof) const
void print (std::ostream &os, const char *prefix="") const
double get_ra () const
double get_dec () const
double get_pixel_scale () const
double get_wavelength () const
vector< long > get_axes () const
complex< precision > data (int index) const
pixel_amp_array< precision > get_amps () const
pixel_phase_array< precision > get_phases () const
void set_data (int index, complex< precision > cmplx) const
void pad (int padlength)
void clip (int cliplength)
basic_otf< precision > & operator *= (const basic_otf< precision > &rhs)
basic_otf< precision > & operator/= (const basic_otf< precision > &rhs)
basic_otf< precision > & operator *= (double fac)
basic_otf< precision > & operator+= (const basic_otf< precision > &rhs)
basic_otf< precision > & operator-= (const basic_otf< precision > &rhs)

Protected Attributes

double right_ascension_radians
double declination_radians
double pupil_plane_pixel_scale_meters
double wavelength_meters
pixel_amp_array< precision > OTF_amps
pixel_phase_array< precision > OTF_phases

template<class precision>
class Arroyo::basic_otf< precision >


Constructor & Destructor Documentation

template<class precision>
Arroyo::basic_otf< precision >::basic_otf  ) 
 

Null constructor

template<class precision>
Arroyo::basic_otf< precision >::~basic_otf  )  [inline]
 

Destructor

template<class precision>
Arroyo::basic_otf< precision >::basic_otf const basic_otf< precision > &  otf  )  [inline]
 

Copy constructor

template<class precision>
Arroyo::basic_otf< precision >::basic_otf const char *  filename  )  [inline]
 

Construct from file

template<class precision>
Arroyo::basic_otf< precision >::basic_otf const iofits iof  )  [inline]
 

Construct from an iofits object

template<class precision>
Arroyo::basic_otf< precision >::basic_otf double  ra_radians,
double  dec_radians,
double  pupil_plane_pixel_scale_meters,
double  wavelength_meters,
const pixel_amp_array< precision > &  otf_amps,
const pixel_phase_array< precision > &  otf_phases
 

Construct from the bits

template<typename precision>
Arroyo::basic_otf< precision >::basic_otf double  aperture_diameter_meters,
double  pupil_plane_pixel_scale_meters,
const basic_observation< precision > &  basic_obs
 

Construct from a basic observation


Member Function Documentation

template<class precision>
void Arroyo::basic_otf< precision >::clip int  cliplength  )  [inline]
 

clip the arrays

template<class precision>
complex<precision> Arroyo::basic_otf< precision >::data int  index  )  const [inline]
 

Get data

template<class precision>
pixel_amp_array<precision> Arroyo::basic_otf< precision >::get_amps  )  const [inline]
 

Get OTF amps

template<class precision>
vector<long> Arroyo::basic_otf< precision >::get_axes void   )  const [inline]
 

Get axes

template<class precision>
double Arroyo::basic_otf< precision >::get_dec  )  const [inline]
 

Get declination in radians

template<class precision>
pixel_phase_array<precision> Arroyo::basic_otf< precision >::get_phases  )  const [inline]
 

Get OTF phases

template<class precision>
double Arroyo::basic_otf< precision >::get_pixel_scale  )  const [inline]
 

Get pixel scale in radians per pixel

template<class precision>
double Arroyo::basic_otf< precision >::get_ra  )  const [inline]
 

Get right ascension in radians

template<class precision>
double Arroyo::basic_otf< precision >::get_wavelength  )  const [inline]
 

Get wavelength in meters

template<class precision>
basic_otf< precision > & Arroyo::basic_otf< precision >::operator *= double  fac  ) 
 

Operator *= for otfs and doubles

template<class precision>
basic_otf< precision > & Arroyo::basic_otf< precision >::operator *= const basic_otf< precision > &  rhs  ) 
 

Operator *= for otfs

template<class precision>
basic_otf< precision > & Arroyo::basic_otf< precision >::operator+= const basic_otf< precision > &  rhs  ) 
 

Operator += for otfs

template<class precision>
basic_otf< precision > & Arroyo::basic_otf< precision >::operator-= const basic_otf< precision > &  rhs  ) 
 

Operator -= for otfs

template<class precision>
basic_otf< precision > & Arroyo::basic_otf< precision >::operator/= const basic_otf< precision > &  rhs  ) 
 

Operator /= for otfs

template<class precision>
basic_otf< precision > & Arroyo::basic_otf< precision >::operator= const basic_otf< precision > &  otf  ) 
 

Operator =

template<class precision>
void Arroyo::basic_otf< precision >::pad int  padlength  )  [inline]
 

pad the arrays

template<class precision>
void Arroyo::basic_otf< precision >::print std::ostream &  os,
const char *  prefix = ""
const
 

Function to print the otf

template<class precision>
void Arroyo::basic_otf< precision >::read const Arroyo::iofits iof  ) 
 

read from an iofits object

template<class precision>
void Arroyo::basic_otf< precision >::read const char *  filename  ) 
 

read from a file

template<class precision>
void Arroyo::basic_otf< precision >::set_data int  index,
complex< precision >  cmplx
const [inline]
 

Set data

template<class precision>
void Arroyo::basic_otf< precision >::write Arroyo::iofits iof  )  const
 

write to an iofits object

template<class precision>
void Arroyo::basic_otf< precision >::write const char *  filename  )  const
 

write to a file


Member Data Documentation

template<class precision>
double Arroyo::basic_otf< precision >::declination_radians [protected]
 

template<class precision>
pixel_amp_array<precision> Arroyo::basic_otf< precision >::OTF_amps [protected]
 

template<class precision>
pixel_phase_array<precision> Arroyo::basic_otf< precision >::OTF_phases [protected]
 

template<class precision>
double Arroyo::basic_otf< precision >::pupil_plane_pixel_scale_meters [protected]
 

template<class precision>
double Arroyo::basic_otf< precision >::right_ascension_radians [protected]
 

template<class precision>
double Arroyo::basic_otf< precision >::wavelength_meters [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 17:16:35 2007 for arroyo by  doxygen 1.3.9.1