crosscorrelation.C File Reference

#include <complex>
#include <gtk/gtk.h>
#include "config.h"
#include "gxsm/plugin.h"
#include "gxsm/xsmmath.h"

Go to the source code of this file.


#define ComplexP   (__complex__ double*)
#define ComplexProd(A, B, C)   *(ComplexP(C)) = *(ComplexP(A)) * *(ComplexP(B))


static void crosscorrelation_init (void)
static void crosscorrelation_about (void)
static void crosscorrelation_configure (void)
static void crosscorrelation_cleanup (void)
static gboolean crosscorrelation_run (Scan *Src1, Scan *Src2, Scan *Dest)
GxsmPluginget_gxsm_plugin_info (void)
GxsmMathTwoSrcPluginget_gxsm_math_two_src_plugin_info (void)


GxsmPlugin crosscorrelation_pi
GxsmMathTwoSrcPlugin crosscorrelation_m2s_pi
static const char * about_text
double WindowDefault = 0
double WindowLast = 0

Define Documentation

#define ComplexP   (__complex__ double*)

Definition at line 79 of file crosscorrelation.C.

#define ComplexProd A,
 )     *(ComplexP(C)) = *(ComplexP(A)) * *(ComplexP(B))

Definition at line 80 of file crosscorrelation.C.


Definition at line 92 of file crosscorrelation.C.

Function Documentation

static void crosscorrelation_about void   )  [static]

Definition at line 208 of file crosscorrelation.C.

References about_text, GxsmPlugin::authors, crosscorrelation_pi, N_, GxsmPlugin::name, and VERSION.

static void crosscorrelation_cleanup void   )  [static]

Definition at line 244 of file crosscorrelation.C.

References DBG_L2, and PI_DEBUG.

static void crosscorrelation_configure void   )  [static]

Definition at line 224 of file crosscorrelation.C.

References GxsmPlugin::app, crosscorrelation_pi, Xsm::Unity, GnomeAppService::ValueRequest(), WindowDefault, and App::xsm.

static void crosscorrelation_init void   )  [static]

Definition at line 202 of file crosscorrelation.C.

References DBG_L2, and PI_DEBUG.

static gboolean crosscorrelation_run Scan Src1,
Scan Src2,
Scan Dest

Definition at line 252 of file crosscorrelation.C.

References GxsmPlugin::app, crosscorrelation_pi, Scan::data, Mem2d::GetNx(), Mem2d::GetNy(), Scan::mem2d, Scan_Param::nx, Scan_Param::ny, Mem2d::Resize(), SCAN_DATA::s, Xsm::Unity, GnomeAppService::ValueRequest(), WindowDefault, WindowLast, App::xsm, and ZD_FLOAT.

GxsmMathTwoSrcPlugin* get_gxsm_math_two_src_plugin_info void   ) 

Definition at line 195 of file crosscorrelation.C.

References crosscorrelation_m2s_pi.

GxsmPlugin* get_gxsm_plugin_info void   ) 

Definition at line 182 of file crosscorrelation.C.

References crosscorrelation_pi, GxsmPlugin::description, N_, and VERSION.

Variable Documentation

const char* about_text [static]

Initial value:

 N_("Gxsm crosscorrelation Plugin\n\n"
                                   "Computes the Cross-Correlation of a scan:\n"
                                   "The Cross-Correlation of a scan is computed\n"
                                   "by FT the source Scan, setting the phase\n"
                                   "to zero and doing the IFT.")

Definition at line 174 of file crosscorrelation.C.

GxsmMathTwoSrcPlugin crosscorrelation_m2s_pi

Initial value:

Definition at line 168 of file crosscorrelation.C.

Referenced by get_gxsm_math_two_src_plugin_info().

GxsmPlugin crosscorrelation_pi

Definition at line 104 of file crosscorrelation.C.

Referenced by crosscorrelation_about(), crosscorrelation_configure(), crosscorrelation_run(), and get_gxsm_plugin_info().

double WindowDefault = 0

Definition at line 220 of file crosscorrelation.C.

double WindowLast = 0

Definition at line 221 of file crosscorrelation.C.

Generated on Sat Apr 1 09:04:49 2006 for GXSM by  doxygen 1.4.6