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

Arroyo::PALAO_reconstructor Class Reference

#include <PALAO_reconstructor.h>

Inheritance diagram for Arroyo::PALAO_reconstructor:

Arroyo::zernike_projected_zonal_reconstructor Arroyo::pixel_array< double > Arroyo::AO_sim_base List of all members.

Public Member Functions

 PALAO_reconstructor (const PALAO_reconstructor &palao_recon)
template<typename T>
 PALAO_reconstructor (const arroyo_least_squares_reconstructor< T > &arroyo_recon)
 PALAO_reconstructor (const char *filename)
 PALAO_reconstructor (const Arroyo::iofits &iof)
 ~PALAO_reconstructor ()
PALAO_reconstructoroperator= (const PALAO_reconstructor &palao_recon)
void read (const char *filename)
 Read from file.
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
vector< long > get_centroid_axes () const
vector< long > get_actuator_axes () const
Arroyo::zernike get_zernike_modes () const
void reconstruct_zernike_residuals (const Arroyo::Shack_Hartmann_centroids &shcentroids, Arroyo::zernike &znke) const
void reconstruct_zonal_residuals (const Arroyo::Shack_Hartmann_centroids &shcentroids, Arroyo::pixel_array< double > &pixarr) const
void reconstruct_residuals (const Arroyo::Shack_Hartmann_centroids &shcentroids, Arroyo::zernike &znke, Arroyo::pixel_array< double > &pixarr) const

Protected Member Functions

 PALAO_reconstructor ()

Protected Attributes

std::vector< long > dm_actuator_lookup_table
std::vector< double > centroid_weighting_lookup_table

Detailed Description

A class to hold the PALAO SCAO reconstructor.

There are a couple special features of this class. First, there's a built in mapping of the actuator numbering scheme used in the reconstructor. This information is contained in the dm actuator lookup table. Second, there is an explicit subaperture weighting scheme encoded in the centroid weighting lookup table. This compensates for the fact that the reconstructors used by PALAO do not necessarily give zero weight to unilluminated subapertures. For the reconstructors generated by A++ and converted to this format, the elements of the reconstructor used to compute tip and tilt are nonzero even for unilluminated subaps. For Doug MacMartin's reconstructors, all elements of the reconstructor have nonzero values - the ones corresponding to unilluminated subaps have values corresponding to numerical roundoff errors of order 1e-15. The centroid weighting lookup table specifically zeroes contributions from unilluminated subaps.


Constructor & Destructor Documentation

Arroyo::PALAO_reconstructor::PALAO_reconstructor  )  [inline, protected]
 

Null constructor

Arroyo::PALAO_reconstructor::PALAO_reconstructor const PALAO_reconstructor palao_recon  ) 
 

Copy constructor

template<typename T>
Arroyo::PALAO_reconstructor::PALAO_reconstructor const arroyo_least_squares_reconstructor< T > &  arroyo_recon  ) 
 

Construct from an arroyo least squares reconstructor

Arroyo::PALAO_reconstructor::PALAO_reconstructor const char *  filename  ) 
 

Construct from file

Arroyo::PALAO_reconstructor::PALAO_reconstructor const Arroyo::iofits iof  ) 
 

Construct from iofits object

Arroyo::PALAO_reconstructor::~PALAO_reconstructor  )  [inline]
 

Destructor


Member Function Documentation

vector<long> Arroyo::PALAO_reconstructor::get_actuator_axes  )  const [virtual]
 

Get dimensions of pixel array returned by the reconstructor

Implements Arroyo::zernike_projected_zonal_reconstructor.

vector<long> Arroyo::PALAO_reconstructor::get_centroid_axes  )  const [virtual]
 

Get dimensions of centroid measurements passed to the reconstructor

Implements Arroyo::zernike_projected_zonal_reconstructor.

Arroyo::zernike Arroyo::PALAO_reconstructor::get_zernike_modes  )  const [virtual]
 

Get a zernike instance that contains information about which modes are returned by the reconstructor.

This instance is minimally sized so as to hold the largest mode returned by the reconstructor. Each element of this instance is initialized to unity if the corresponding mode is returned by the reconstructor, and to zero if it is not

Implements Arroyo::zernike_projected_zonal_reconstructor.

PALAO_reconstructor& Arroyo::PALAO_reconstructor::operator= const PALAO_reconstructor palao_recon  ) 
 

Operator =

void Arroyo::PALAO_reconstructor::print std::ostream &  os,
const char *  prefix = ""
const [virtual]
 

Print

Implements Arroyo::zernike_projected_zonal_reconstructor.

void Arroyo::PALAO_reconstructor::read const Arroyo::iofits iof  )  [virtual]
 

Read from iofits

Implements Arroyo::zernike_projected_zonal_reconstructor.

void Arroyo::PALAO_reconstructor::read const char *  filename  )  [virtual]
 

Read from file.

Implements Arroyo::zernike_projected_zonal_reconstructor.

void Arroyo::PALAO_reconstructor::reconstruct_residuals const Arroyo::Shack_Hartmann_centroids shcentroids,
Arroyo::zernike znke,
Arroyo::pixel_array< double > &  pixarr
const [virtual]
 

Reconstruct the residuals from Shack Hartmann centroid data

This reconstructor reconstructs a zernike instance with tip and tilt modes, and a pixel array containing zonal residuals

Implements Arroyo::zernike_projected_zonal_reconstructor.

void Arroyo::PALAO_reconstructor::reconstruct_zernike_residuals const Arroyo::Shack_Hartmann_centroids shcentroids,
Arroyo::zernike znke
const [virtual]
 

Reconstruct the zernike residuals from Shack Hartmann centroid data

This reconstructor reconstructs a zernike instance with tip and tilt modes

Implements Arroyo::zernike_projected_zonal_reconstructor.

void Arroyo::PALAO_reconstructor::reconstruct_zonal_residuals const Arroyo::Shack_Hartmann_centroids shcentroids,
Arroyo::pixel_array< double > &  pixarr
const [virtual]
 

Reconstruct the zonal residuals from a Shack Hartmann centroid class instance

Implements Arroyo::zernike_projected_zonal_reconstructor.

void Arroyo::PALAO_reconstructor::write Arroyo::iofits iof  )  const [virtual]
 

Write to iofits

Implements Arroyo::zernike_projected_zonal_reconstructor.

void Arroyo::PALAO_reconstructor::write const char *  filename  )  const [virtual]
 

Write to file

Implements Arroyo::zernike_projected_zonal_reconstructor.


Member Data Documentation

std::vector<double> Arroyo::PALAO_reconstructor::centroid_weighting_lookup_table [mutable, protected]
 

std::vector<long> Arroyo::PALAO_reconstructor::dm_actuator_lookup_table [mutable, 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