newwave is hosted by Hepforge, IPPP Durham

New Wave - Noise Elimination With Wavelets At Vast Energies  0.1.0
NewWave::PixelRow Class Reference

#include <PixelArray.hh>

List of all members.

Public Member Functions

 PixelRow ()
 PixelRow (size_t length)
void push_back (double pixel)
const double & at (size_t index) const
double & at (size_t index)
void clear ()
size_t size () const
vector< double >::const_iterator begin () const
vector< double >::const_iterator end () const

Friends

PixelRow operator/ (PixelRow left, const PixelRow &right)
 Divide each pixel in a row by another row.

Detailed Description

Definition at line 11 of file PixelArray.hh.


Constructor & Destructor Documentation

Definition at line 15 of file PixelArray.hh.

NewWave::PixelRow::PixelRow ( size_t  length) [inline]

Definition at line 19 of file PixelArray.hh.


Member Function Documentation

const double& NewWave::PixelRow::at ( size_t  index) const [inline]

Definition at line 29 of file PixelArray.hh.

double& NewWave::PixelRow::at ( size_t  index) [inline]

Definition at line 30 of file PixelArray.hh.

vector<double>::const_iterator NewWave::PixelRow::begin ( ) const [inline]

Definition at line 40 of file PixelArray.hh.

void NewWave::PixelRow::clear ( ) [inline]

Definition at line 32 of file PixelArray.hh.

vector<double>::const_iterator NewWave::PixelRow::end ( ) const [inline]

Definition at line 41 of file PixelArray.hh.

void NewWave::PixelRow::push_back ( double  pixel) [inline]

Definition at line 23 of file PixelArray.hh.

size_t NewWave::PixelRow::size ( ) const [inline]

Definition at line 38 of file PixelArray.hh.


Friends And Related Function Documentation

PixelRow operator/ ( PixelRow  left,
const PixelRow right 
) [friend]

Divide each pixel in a row by another row.

The PixelRow contains a vector<double> of pixel values, plus an additional vector<bool> recording whether each pixel has been filled. This allows the divide by zero error to be avoided because those pixels that have not been filled can be ignored

Definition at line 59 of file PixelArray.hh.


The documentation for this class was generated from the following file: