polarhist.C File Reference

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

Go to the source code of this file.

Defines

#define GXSM_TWO_SRC_PLUGIN__DEF
#define GetNumValPhi(V, P)   Num[PolSlices*(V) + (P)]
#define IncNumValPhi(V, P)   ++Num[PolSlices*(V) + (P)]

Functions

static void PolarHist_init (void)
static void PolarHist_about (void)
static void PolarHist_configure (void)
static void PolarHist_cleanup (void)
static gboolean PolarHist_run (Scan *Src1, Scan *Src2, Scan *Dest)
GxsmPluginget_gxsm_plugin_info (void)
GxsmMathTwoSrcPluginget_gxsm_math_two_src_plugin_info (void)
double Phi (double dx, double dy)

Variables

GxsmPlugin PolarHist_pi
GxsmMathTwoSrcPlugin PolarHist_m2s_pi
static const char * about_text
int PolSlices = 180
int DataChannels = 200
double DataStart = 0.
double DataEnd = 90.
int Vmode = 2


Define Documentation

#define GetNumValPhi V,
 )     Num[PolSlices*(V) + (P)]
 

Referenced by GetNumValPhi().

#define GXSM_TWO_SRC_PLUGIN__DEF
 

Definition at line 129 of file polarhist.C.

#define IncNumValPhi V,
 )     ++Num[PolSlices*(V) + (P)]
 

Referenced by AngularAnalysis_run(), IncNumValPhi(), and PolarHist_run().


Function Documentation

GxsmMathTwoSrcPlugin* get_gxsm_math_two_src_plugin_info void   ) 
 

Definition at line 231 of file polarhist.C.

References PolarHist_m2s_pi.

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 218 of file polarhist.C.

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

double Phi double  dx,
double  dy
 

Definition at line 338 of file polarhist.C.

References atan().

static void PolarHist_about void   )  [static]
 

Definition at line 253 of file polarhist.C.

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

static void PolarHist_cleanup void   )  [static]
 

Definition at line 333 of file polarhist.C.

References DBG_L2, and PI_DEBUG.

static void PolarHist_configure void   )  [static]
 

Definition at line 266 of file polarhist.C.

References _, GxsmPlugin::app, DataChannels, DataEnd, DataStart, FALSE, GNOME_PAD, info, MyGnomeTools::mygtk_create_input(), PolarHist_pi, PolSlices, TRUE, Xsm::Unity, Vmode, and App::xsm.

Referenced by PolarHist_run().

static void PolarHist_init void   )  [static]
 

Definition at line 247 of file polarhist.C.

References DBG_L2, and PI_DEBUG.

static gboolean PolarHist_run Scan Src1,
Scan Src2,
Scan Dest
[static]
 

Definition at line 355 of file polarhist.C.

References Scan::data, DataChannels, DataEnd, DataStart, FALSE, Mem2d::GetDataPkt(), Mem2d::HiLo(), IncNumValPhi, MATH_SELECTIONERR, Scan::mem2d, Scan_Param::nx, Scan_Param::ny, PolarHist_configure(), PolSlices, and SCAN_DATA::s.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("Gxsm PolarHist Plugin\n\n"
                                   "This Plugin calculates a polar\n"
                                   "Histogramm of data in Src1,\n"
                                   "polar angle in Src2.")

Definition at line 211 of file polarhist.C.

int DataChannels = 200
 

Definition at line 241 of file polarhist.C.

double DataEnd = 90.
 

Definition at line 243 of file polarhist.C.

double DataStart = 0.
 

Definition at line 242 of file polarhist.C.

GxsmMathTwoSrcPlugin PolarHist_m2s_pi
 

Initial value:

Definition at line 205 of file polarhist.C.

Referenced by get_gxsm_math_two_src_plugin_info().

GxsmPlugin PolarHist_pi
 

Definition at line 141 of file polarhist.C.

Referenced by get_gxsm_plugin_info(), PolarHist_about(), and PolarHist_configure().

int PolSlices = 180
 

Definition at line 240 of file polarhist.C.

int Vmode = 2
 

Definition at line 244 of file polarhist.C.


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