spasim.C File Reference

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

Go to the source code of this file.

Functions

static void spasim_init (void)
static void spasim_about (void)
static void spasim_configure (void)
static void spasim_cleanup (void)
static gboolean spasim_run (Scan *Src, Scan *Dest)
GxsmPluginget_gxsm_plugin_info (void)
GxsmMathOneSrcPluginget_gxsm_math_one_src_plugin_info (void)

Variables

GxsmPlugin spasim_pi
GxsmMathOneSrcPlugin spasim_m1s_pi
static const char * about_text
double WaveLengthDefault = 0.0
int EnableInvAng = 0
double WaveLengthLast = 3.141


Function Documentation

GxsmMathOneSrcPlugin* get_gxsm_math_one_src_plugin_info void   ) 
 

Definition at line 149 of file spasim.C.

References spasim_m1s_pi.

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 144 of file spasim.C.

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

static void spasim_about void   )  [static]
 

Definition at line 158 of file spasim.C.

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

static void spasim_cleanup void   )  [static]
 

Definition at line 186 of file spasim.C.

References DBG_L2, and PI_DEBUG.

static void spasim_configure void   )  [static]
 

Definition at line 170 of file spasim.C.

References GxsmPlugin::app, EnableInvAng, spasim_pi, Xsm::Unity, GnomeAppService::ValueRequest(), WaveLengthDefault, App::xsm, and Xsm::Z_Unit.

static void spasim_init void   )  [static]
 

Definition at line 153 of file spasim.C.

References DBG_L2, and PI_DEBUG.

static gboolean spasim_run Scan Src,
Scan Dest
[static]
 

Definition at line 191 of file spasim.C.

References GxsmPlugin::app, c_im, c_re, cos(), Mem2d::data, Scan::data, DBG_L2, Scan_Param::dz, EnableInvAng, Mem2d::GetDataPkt(), Mem2d::GetNx(), Mem2d::GetNy(), Scan::mem2d, ZData::MkXLookup(), ZData::MkYLookup(), Scan_Param::nx, Scan_Param::ny, PI_DEBUG, Mem2d::Resize(), Scan_Param::rx, Scan_Param::ry, SCAN_DATA::s, SCAN_DATA::SetXUnit(), SCAN_DATA::SetYUnit(), SCAN_DATA::SetZUnit(), sin(), spasim_pi, GnomeAppService::ValueRequest(), WaveLengthDefault, WaveLengthLast, App::xsm, Xsm::Z_Unit, and ZD_FLOAT.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("Gxsm Spasim Plugin\n\n"
                                   "This Plugin simulates a SPA-LEED measurement (WaveLenght as input)\n"
                                   "on the Src-Channel's Scan:\n"
                                   "1.) Phase Transformation, using e^(2pi i Z(x,y)/WaveLength)\n"
                                   "2.) 2D FT( Phase Transformed Image)\n"
                                   "3.) Result = |FT(\")|^2")

Definition at line 133 of file spasim.C.

int EnableInvAng = 0
 

Definition at line 141 of file spasim.C.

Referenced by spasim_configure(), and spasim_run().

GxsmMathOneSrcPlugin spasim_m1s_pi
 

Initial value:

Definition at line 129 of file spasim.C.

Referenced by get_gxsm_math_one_src_plugin_info().

GxsmPlugin spasim_pi
 

Initial value:

 {
        NULL,
        NULL,
        0,
        NULL,
        "Spasim-M1S-F1D",
        NULL, 
        NULL,
        "Percy Zahl",
        N_("_Math/_Statistics/"),
        N_("SPALEED Sim."),
        N_("Simulate SPALEED!"),
        "no more info",
        NULL,
        NULL,
        spasim_init,
        NULL,
        spasim_about,
        spasim_configure,
        NULL,
        spasim_cleanup
}

Definition at line 106 of file spasim.C.

Referenced by get_gxsm_plugin_info(), spasim_about(), spasim_configure(), and spasim_run().

double WaveLengthDefault = 0.0
 

Definition at line 140 of file spasim.C.

Referenced by spasim_configure(), and spasim_run().

double WaveLengthLast = 3.141
 

Definition at line 142 of file spasim.C.

Referenced by spasim_run().


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