PTensor1DMTObjective Class Reference

This is a special objective function to fit phase tensor MT data. More...

#include <PTensor1DMTObjective.h>

Inheritance diagram for PTensor1DMTObjective:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void SetErrorLevel (const double e)
 Set the minimum relative error.
virtual void SafeParallel (const ttranscribed &member)
 Calc misfit for a model given by member.
virtual double PostParallel (const ttranscribed &member)
 Some operations cannot be done in parallel, these are done after, returns the misfit value.
virtual void WriteModel (const std::string &filename)
 write the current model to a file
virtual void WritePlot (const std::string &filename)
 write the current model for plotting to a file
virtual void WriteData (const std::string &filename)
 Write current data to a file.
virtual PTensor1DMTObjectiveclone () const
 We need clone and create for building an array of derived objects, see FAQ lite 20.8, the return type depends on the derived class.
 PTensor1DMTObjective (const PTensorMTStation &LocalMTData)
 PTensor1DMTObjective (const PTensor1DMTObjective &Old)
virtual ~PTensor1DMTObjective ()
PTensor1DMTObjectiveoperator= (const PTensor1DMTObjective &source)


Detailed Description

This is a special objective function to fit phase tensor MT data.

We don't have analytical expression for the error of phase tensor elements yet/ Recalculating them all the time with Jacknife or bootstrap methods is too expensive so we calculate them once for the measured data, store it in a special file and use this objective function to read the file and fit this data.

Definition at line 13 of file PTensor1DMTObjective.h.


Constructor & Destructor Documentation

PTensor1DMTObjective::PTensor1DMTObjective ( const PTensorMTStation LocalMTData  ) 

Definition at line 7 of file PTensor1DMTObjective.cpp.

Referenced by clone().

PTensor1DMTObjective::PTensor1DMTObjective ( const PTensor1DMTObjective Old  ) 

Definition at line 17 of file PTensor1DMTObjective.cpp.

PTensor1DMTObjective::~PTensor1DMTObjective (  )  [virtual]

Definition at line 13 of file PTensor1DMTObjective.cpp.


Member Function Documentation

virtual PTensor1DMTObjective* PTensor1DMTObjective::clone (  )  const [inline, virtual]

We need clone and create for building an array of derived objects, see FAQ lite 20.8, the return type depends on the derived class.

Implements GeneralObjective.

Definition at line 31 of file PTensor1DMTObjective.h.

References PTensor1DMTObjective().

PTensor1DMTObjective & PTensor1DMTObjective::operator= ( const PTensor1DMTObjective source  ) 

Definition at line 25 of file PTensor1DMTObjective.cpp.

References AnisoMTSynth, errorlevel, and MeasuredData.

double PTensor1DMTObjective::PostParallel ( const ttranscribed member  )  [virtual]

Some operations cannot be done in parallel, these are done after, returns the misfit value.

Implements GeneralObjective.

Definition at line 66 of file PTensor1DMTObjective.cpp.

References GeneralObjective::GetRMS().

void PTensor1DMTObjective::SafeParallel ( const ttranscribed member  )  [virtual]

void PTensor1DMTObjective::SetErrorLevel ( const double  e  )  [inline]

Set the minimum relative error.

Definition at line 21 of file PTensor1DMTObjective.h.

virtual void PTensor1DMTObjective::WriteData ( const std::string &  filename  )  [inline, virtual]

Write current data to a file.

Reimplemented from PlottableObjective.

Definition at line 30 of file PTensor1DMTObjective.h.

References MTStation::WriteAsMtt().

virtual void PTensor1DMTObjective::WriteModel ( const std::string &  filename  )  [inline, virtual]

write the current model to a file

Reimplemented from PlottableObjective.

Definition at line 26 of file PTensor1DMTObjective.h.

References C1DAnisoMTSynthData::WriteModel().

virtual void PTensor1DMTObjective::WritePlot ( const std::string &  filename  )  [inline, virtual]

write the current model for plotting to a file

Reimplemented from PlottableObjective.

Definition at line 28 of file PTensor1DMTObjective.h.

References C1DAnisoMTSynthData::WritePlot().


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

Generated on Tue Aug 4 16:04:21 2009 for GPLIB++ by  doxygen 1.5.8