NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links

PowSpec Class Reference

#include <powspec.h>

Collaboration diagram for PowSpec:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PowSpec (int nspec, int lmax)
int Num_specs () const
int Lmax () const
const arr< double > & tt () const
const arr< double > & gg () const
const arr< double > & cc () const
const arr< double > & tg () const
const arr< double > & tc () const
const arr< double > & gc () const
double & tt (int l)
double & gg (int l)
double & cc (int l)
double & tg (int l)
double & tc (int l)
double & gc (int l)
const double & tt (int l) const
const double & gg (int l) const
const double & cc (int l) const
const double & tg (int l) const
const double & tc (int l) const
const double & gc (int l) const
void Set (arr< double > &tt_new)
void Set (arr< double > &tt_new, arr< double > &gg_new, arr< double > &cc_new, arr< double > &tg_new)

Detailed Description

Class for storing unpolarised and polarised power spectra.

Definition at line 38 of file powspec.h.


Constructor & Destructor Documentation

PowSpec::PowSpec int  nspec,
int  lmax
[inline]
 

Constructs a PowSpec with nspec components and a maximum multipole of lmax. nspec can be 1 (TT), 4 (TT,GG,CC,TG) or 6 (TT,GG,CC,TG,TC,GC).

Definition at line 52 of file powspec.h.


Member Function Documentation

int PowSpec::Num_specs  )  const [inline]
 

Returns the number of spectral components.

Definition at line 72 of file powspec.h.

int PowSpec::Lmax  )  const [inline]
 

Returns the maximum l.

Definition at line 74 of file powspec.h.

const arr<double>& PowSpec::tt  )  const [inline]
 

Returns the TT array (read-only).

Definition at line 76 of file powspec.h.

const arr<double>& PowSpec::gg  )  const [inline]
 

Returns the GG array (read-only).

Definition at line 78 of file powspec.h.

const arr<double>& PowSpec::cc  )  const [inline]
 

Returns the CC array (read-only).

Definition at line 80 of file powspec.h.

const arr<double>& PowSpec::tg  )  const [inline]
 

Returns the TG array (read-only).

Definition at line 82 of file powspec.h.

const arr<double>& PowSpec::tc  )  const [inline]
 

Returns the TC array (read-only).

Definition at line 84 of file powspec.h.

const arr<double>& PowSpec::gc  )  const [inline]
 

Returns the GC array (read-only).

Definition at line 86 of file powspec.h.

double& PowSpec::tt int  l  )  [inline]
 

Returns TT(l) (read-write).

Definition at line 88 of file powspec.h.

double& PowSpec::gg int  l  )  [inline]
 

Returns GG(l) (read-write).

Definition at line 90 of file powspec.h.

double& PowSpec::cc int  l  )  [inline]
 

Returns CC(l) (read-write).

Definition at line 92 of file powspec.h.

double& PowSpec::tg int  l  )  [inline]
 

Returns TG(l) (read-write).

Definition at line 94 of file powspec.h.

double& PowSpec::tc int  l  )  [inline]
 

Returns TC(l) (read-write).

Definition at line 96 of file powspec.h.

double& PowSpec::gc int  l  )  [inline]
 

Returns GC(l) (read-write).

Definition at line 98 of file powspec.h.

const double& PowSpec::tt int  l  )  const [inline]
 

Returns TT(l) (read-only).

Definition at line 100 of file powspec.h.

const double& PowSpec::gg int  l  )  const [inline]
 

Returns GG(l) (read-only).

Definition at line 102 of file powspec.h.

const double& PowSpec::cc int  l  )  const [inline]
 

Returns CC(l) (read-only).

Definition at line 104 of file powspec.h.

const double& PowSpec::tg int  l  )  const [inline]
 

Returns TG(l) (read-only).

Definition at line 106 of file powspec.h.

const double& PowSpec::tc int  l  )  const [inline]
 

Returns TC(l) (read-only).

Definition at line 108 of file powspec.h.

const double& PowSpec::gc int  l  )  const [inline]
 

Returns GC(l) (read-only).

Definition at line 110 of file powspec.h.

void PowSpec::Set arr< double > &  tt_new  ) 
 

Sets the whole TT array.

Definition at line 46 of file powspec.cc.

void PowSpec::Set arr< double > &  tt_new,
arr< double > &  gg_new,
arr< double > &  cc_new,
arr< double > &  tg_new
 

Sets all components.

Definition at line 60 of file powspec.cc.


The documentation for this class was generated from the following files:
Generated on Tue Jul 15 16:30:54 2008 for Healpix C++
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650