EMAN::InterpolatedFRC::QualityScores Class Reference

QualityScores class is used by the FourierReconstructor and InterpolatedFRC for storing useful quality information. More...

#include <reconstructor_tools.h>

List of all members.

Public Member Functions

 QualityScores ()
 Default constructor.
 QualityScores (const QualityScores &that)
 Copy constructor.
QualityScoresoperator= (const QualityScores &that)
 Assignment operator.
 ~QualityScores ()
 Deconstructor no memory is alloced by this object, but 4 private variables fall out of scope.
float get_frc_integral () const
 Various setter and getter methods are below.
float get_snr_normed_frc_integral () const
float get_normed_snr_integral () const
float get_norm () const
void set_frc_integral (const float &score)
void set_snr_normed_frc_integral (const float &score)
void set_normed_snr_integral (const float &score)
void set_norm (const float &score)
void debug_print ()

Private Attributes

float frc_integral
float snr_normed_frc_intergral
float normed_snr_integral
float norm


Detailed Description

QualityScores class is used by the FourierReconstructor and InterpolatedFRC for storing useful quality information.

It's basically a data storage object that has a whole heap of getter and setter methods, and nothing more.

Definition at line 708 of file reconstructor_tools.h.


Constructor & Destructor Documentation

EMAN::InterpolatedFRC::QualityScores::QualityScores (  )  [inline]

Default constructor.

Definition at line 713 of file reconstructor_tools.h.

EMAN::InterpolatedFRC::QualityScores::QualityScores ( const QualityScores that  )  [inline]

Copy constructor.

Parameters:
that the quality scores to be constructed from

Definition at line 718 of file reconstructor_tools.h.

00718                                                                            : frc_integral(that.frc_integral), 
00719                                         snr_normed_frc_intergral(that.snr_normed_frc_intergral), normed_snr_integral(that.normed_snr_integral), norm(that.norm) {}

EMAN::InterpolatedFRC::QualityScores::~QualityScores (  )  [inline]

Deconstructor no memory is alloced by this object, but 4 private variables fall out of scope.

Definition at line 728 of file reconstructor_tools.h.

00728 {}


Member Function Documentation

InterpolatedFRC::QualityScores & InterpolatedFRC::QualityScores::operator= ( const QualityScores that  ) 

Assignment operator.

Parameters:
that the quality scores to be constructed from

Definition at line 562 of file reconstructor_tools.cpp.

References frc_integral, norm, and normed_snr_integral.

00563 {
00564         if ( &that != this )
00565         {
00566                 frc_integral = that.frc_integral;
00567         //                                      snr_normed_frc_intergral = that.snr_normed_frc_intergral;
00568                 normed_snr_integral  = that.normed_snr_integral;
00569                 norm = that.norm;
00570         }
00571         return *this;
00572 }

float EMAN::InterpolatedFRC::QualityScores::get_frc_integral (  )  const [inline]

Various setter and getter methods are below.

Definition at line 732 of file reconstructor_tools.h.

References frc_integral.

00732 { return frc_integral; }

float EMAN::InterpolatedFRC::QualityScores::get_snr_normed_frc_integral (  )  const [inline]

Definition at line 733 of file reconstructor_tools.h.

References snr_normed_frc_intergral.

00733 { return snr_normed_frc_intergral; }

float EMAN::InterpolatedFRC::QualityScores::get_normed_snr_integral (  )  const [inline]

Definition at line 734 of file reconstructor_tools.h.

References normed_snr_integral.

00734 { return normed_snr_integral; }

float EMAN::InterpolatedFRC::QualityScores::get_norm (  )  const [inline]

Definition at line 735 of file reconstructor_tools.h.

References norm.

Referenced by EMAN::FourierReconstructor::determine_slice_agreement().

00735 { return norm; }

void EMAN::InterpolatedFRC::QualityScores::set_frc_integral ( const float &  score  )  [inline]

Definition at line 737 of file reconstructor_tools.h.

References frc_integral.

Referenced by EMAN::InterpolatedFRC::finish().

00737 { frc_integral = score; }

void EMAN::InterpolatedFRC::QualityScores::set_snr_normed_frc_integral ( const float &  score  )  [inline]

Definition at line 738 of file reconstructor_tools.h.

References snr_normed_frc_intergral.

Referenced by EMAN::InterpolatedFRC::finish().

00738 { snr_normed_frc_intergral = score; }

void EMAN::InterpolatedFRC::QualityScores::set_normed_snr_integral ( const float &  score  )  [inline]

Definition at line 739 of file reconstructor_tools.h.

References normed_snr_integral.

Referenced by EMAN::InterpolatedFRC::finish().

00739 { normed_snr_integral = score; }

void EMAN::InterpolatedFRC::QualityScores::set_norm ( const float &  score  )  [inline]

Definition at line 740 of file reconstructor_tools.h.

References norm.

Referenced by EMAN::FourierReconstructor::determine_slice_agreement(), and EMAN::InterpolatedFRC::finish().

00740 { norm = score; }

void EMAN::InterpolatedFRC::QualityScores::debug_print (  )  [inline]

Definition at line 742 of file reconstructor_tools.h.

References frc_integral, norm, normed_snr_integral, and snr_normed_frc_intergral.

00743                                 {
00744                                         cout << "frc " << frc_integral << " nfrc " << snr_normed_frc_intergral << " nsnr " << normed_snr_integral << " norm " << norm << endl;
00745                                 }


Member Data Documentation

Definition at line 748 of file reconstructor_tools.h.

Referenced by debug_print(), get_frc_integral(), operator=(), and set_frc_integral().

Definition at line 748 of file reconstructor_tools.h.

Referenced by debug_print(), get_norm(), operator=(), and set_norm().


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

Generated on Wed Nov 25 02:20:38 2009 for EMAN2 by  doxygen 1.5.6