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

Arroyo::power_spectrum Class Reference

#include <power_spectrum.h>

Inheritance diagram for Arroyo::power_spectrum:

Arroyo::AO_sim_base Arroyo::isotropic_power_law_spectrum< power_law_type, inner_scale_type > List of all members.

Public Member Functions

 power_spectrum ()
virtual ~power_spectrum ()
virtual void read (const char *filename)=0
virtual void read (const iofits &iof)=0
virtual void write (const char *filename) const =0
virtual void write (iofits &iof) const =0
virtual void print (ostream &os, const char *prefix="") const =0
virtual double value (double spatial_frequency) const =0
virtual double get_coefficient () const =0
virtual bool pole_at_zero_spatial_frequency () const =0

Static Public Member Functions

power_spectrumpower_spectrum_factory (const char *filename)
power_spectrumpower_spectrum_factory (const iofits &iof)
power_spectrumpower_spectrum_factory (const power_spectrum *pspec)

Static Public Attributes

int verbose_level
 verbose level for messages

Detailed Description

A base class to represent power spectra.


Constructor & Destructor Documentation

Arroyo::power_spectrum::power_spectrum  )  [inline]
 

Null constructor

virtual Arroyo::power_spectrum::~power_spectrum  )  [inline, virtual]
 

Virtual destructor


Member Function Documentation

virtual double Arroyo::power_spectrum::get_coefficient  )  const [pure virtual]
 

Return the power law coefficient

Implemented in Arroyo::isotropic_power_law_spectrum< power_law_type, inner_scale_type >.

virtual bool Arroyo::power_spectrum::pole_at_zero_spatial_frequency  )  const [pure virtual]
 

Indicates whether there's a pole at zero spatial frequency

Implemented in Arroyo::isotropic_power_law_spectrum< power_law_type, inner_scale_type >.

power_spectrum* Arroyo::power_spectrum::power_spectrum_factory const power_spectrum pspec  )  [inline, static]
 

Factory to construct a power spectrum from an iofits object

power_spectrum* Arroyo::power_spectrum::power_spectrum_factory const iofits iof  )  [static]
 

Factory to construct a power spectrum from an iofits object

power_spectrum* Arroyo::power_spectrum::power_spectrum_factory const char *  filename  )  [static]
 

Factory to construct a power spectrum from file

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

Print

Implements Arroyo::AO_sim_base.

Implemented in Arroyo::isotropic_power_law_spectrum< power_law_type, inner_scale_type >.

virtual void Arroyo::power_spectrum::read const iofits iof  )  [pure virtual]
 

Virtual read from iofits

Implemented in Arroyo::isotropic_power_law_spectrum< power_law_type, inner_scale_type >.

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

Virtual read from file

Implemented in Arroyo::isotropic_power_law_spectrum< power_law_type, inner_scale_type >.

virtual double Arroyo::power_spectrum::value double  spatial_frequency  )  const [pure virtual]
 

Return the value at a given spatial frequency

Implemented in Arroyo::isotropic_power_law_spectrum< power_law_type, inner_scale_type >.

virtual void Arroyo::power_spectrum::write iofits iof  )  const [pure virtual]
 

Virtual write to iofits

Implemented in Arroyo::isotropic_power_law_spectrum< power_law_type, inner_scale_type >.

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

Virtual write to file

Implemented in Arroyo::isotropic_power_law_spectrum< power_law_type, inner_scale_type >.


Member Data Documentation

int Arroyo::power_spectrum::verbose_level [static]
 

verbose level for messages


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