#include <app_peakfind.h>
Inheritance diagram for Focus:
Public Member Functions | |
Focus (DSPPeakFindControl *Pfc, SPA_PeakFind_p *Pfp, GtkWidget *Vbox, GtkWidget *Hbox) | |
virtual | ~Focus () |
virtual void | addheader (ofstream &out) |
void | ratemeter_changed () |
void | setmode (int m, int state) |
gint | atrun () |
void | getdata () |
Static Public Member Functions | |
static void | on_rdecads_changed (GtkEditable *spin, Focus *foc) |
static void | on_rfirstdecad_changed (GtkEditable *spin, Focus *foc) |
static void | on_SetAuto_clicked (GtkButton *button, Focus *foc) |
static void | on_LinLog_clicked (GtkButton *button, Focus *foc) |
static void | on_Invers_clicked (GtkButton *button, Focus *foc) |
static void | on_cps_changed (Param_Control *pcs, gpointer data) |
static void | on_0d_clicked (GtkButton *button, Focus *foc) |
static void | on_1d_clicked (GtkButton *button, Focus *foc) |
static void | on_2d_clicked (GtkButton *button, Focus *foc) |
static void | on_EXYprint_clicked (GtkButton *button, Focus *foc) |
static gint | item_event (GnomeCanvasItem *item, GdkEvent *event, Focus *foc) |
Public Attributes | |
int | xymode |
int | autoskl |
int | mode |
double | cnthi |
double | cntlo |
double | cpshi |
double | cpslo |
double | cps |
GtkWidget * | RateMeter [5] |
int | rateleds |
int | ratedecades |
int | firstdecade |
double | l10maxrate |
double | l10minrate |
double | ledstep |
double | leds_decade |
GtkWidget * | canvas |
GdkPixbuf * | focuspixbuf |
GnomeCanvasItem * | focuspixbufitem |
GnomeCanvasItem * | hline |
GnomeCanvasItem * | vline |
gint | bpp |
gint | rowstride |
guchar * | pixels |
DataBox * | xbox |
DataBox * | ybox |
Private Member Functions | |
void | AutoHiLo () |
void | CalcLookUp (int SklMode=SKL_LOG) |
int | LookUp (FPIXTYP x) |
Private Attributes | |
int | nnx |
int | nnx2d |
float * | yn |
float * | xn |
float * | xx |
float * | yy |
FPIXTYP | LookupTbl [FCOLMAX] |
int | invers |
int | linlog |
SPA_PeakFind_p * | pfp |
DSPPeakFindControl * | pfc |
Definition at line 108 of file app_peakfind.h.
|
Definition at line 59 of file app_focus.C. References DBG_L2, FALSE, FOCUS_MODE_0D, FOCUS_MODE_1D, FOCUS_MODE_2D, FOCUSICONSIZE, FOCUSSCROLLSZ, gapp, GNOME_PAD, mode(), MyGnomeTools::mygtk_create_input(), PI_DEBUG, SKL_LOG, and TRUE. |
|
Definition at line 300 of file app_focus.C. References DBG_L2, PI_DEBUG, DataBox::stop(), xn, xx, ybox, yn, and yy. |
|
Definition at line 125 of file app_peakfind.h. References SPA_PeakFind_p::energy, SPA_PeakFind_p::gate2d, pfp, and SPA_PeakFind_p::radius. |
|
Reimplemented from DataBox. Definition at line 444 of file app_focus.C. |
|
Definition at line 586 of file app_focus.C. References SPA_PeakFind_p::buffer, cnthi, cntlo, cpshi, cpslo, FPIXTYP, SPA_PeakFind_p::gate2d, SPA_PeakFind_p::npkte2d, and pfp. |
|
Definition at line 603 of file app_focus.C. References CNT, cnthi, cntlo, cpslo, FCOLMAX, LookupTbl, SKL_LIN, and SKL_LOG. Referenced by getdata(). |
|
Reimplemented from DataBox. Definition at line 449 of file app_focus.C. References autoskl, CalcLookUp(), cnthi, cntlo, cps, cpshi, cpslo, FALSE, FOCUS_MODE_0D, FOCUS_MODE_1D, SPA_PeakFind_p::gate, Mem2d::GetDataPkt(), DSPPeakFindControl::hard, Mem2d::HiLo(), linlog, LookUp(), mode, nnx, SPA_PeakFind_p::npkte, on_cps_changed(), pfc, PeakFindScan::PFget0d(), PeakFindScan::PFhwrun(), pfp, DSPPeakFindControl::pfscan, DataBox::setxyData(), DSPPeakFindControl::update(), DataBox::vbox, xbox, xn, xx, SPA_PeakFind_p::xyscans, ybox, yn, and yy. |
|
Definition at line 417 of file app_focus.C. References FALSE, FOCUSICONSIZE, pfc, pfp, SPA_PeakFind_p::radius, DSPPeakFindControl::update(), SPA_PeakFind_p::xorg, and SPA_PeakFind_p::yorg. |
|
Definition at line 167 of file app_peakfind.h. References FCOLMAX, and LookupTbl. Referenced by getdata(). |
|
Definition at line 392 of file app_focus.C. References FOCUS_MODE_0D, and setmode(). |
|
Definition at line 396 of file app_focus.C. References FOCUS_MODE_1D, and setmode(). |
|
Definition at line 400 of file app_focus.C. References FOCUS_MODE_2D, and setmode(). |
|
Definition at line 374 of file app_focus.C. References cps, cpshi, cpslo, l10maxrate, l10minrate, led_bar_light_percent(), leds_decade, linlog, RateMeter, and SKL_LOG. Referenced by getdata(). |
|
Definition at line 405 of file app_focus.C. |
|
Definition at line 344 of file app_focus.C. |
|
Definition at line 337 of file app_focus.C. |
|
Definition at line 313 of file app_focus.C. References ratedecades, and ratemeter_changed(). |
|
Definition at line 321 of file app_focus.C. References firstdecade, and ratemeter_changed(). |
|
Definition at line 330 of file app_focus.C. |
|
Definition at line 351 of file app_focus.C. References firstdecade, l10maxrate, l10minrate, led_bar_new_with_decades(), leds_decade, ratedecades, rateleds, RateMeter, TRUE, and DataBox::vbox. Referenced by on_rdecads_changed(), and on_rfirstdecad_changed(). |
|
Definition at line 133 of file app_peakfind.h. References mode, DataBox::run(), and DataBox::stop(). Referenced by on_0d_clicked(), on_1d_clicked(), and on_2d_clicked(). |
|
Definition at line 147 of file app_peakfind.h. Referenced by getdata(), and on_SetAuto_clicked(). |
|
Definition at line 158 of file app_peakfind.h. |
|
Definition at line 154 of file app_peakfind.h. |
|
Definition at line 148 of file app_peakfind.h. Referenced by AutoHiLo(), CalcLookUp(), and getdata(). |
|
Definition at line 148 of file app_peakfind.h. Referenced by AutoHiLo(), CalcLookUp(), and getdata(). |
|
Definition at line 148 of file app_peakfind.h. Referenced by getdata(), and on_cps_changed(). |
|
Definition at line 148 of file app_peakfind.h. Referenced by AutoHiLo(), getdata(), and on_cps_changed(). |
|
Definition at line 148 of file app_peakfind.h. Referenced by AutoHiLo(), CalcLookUp(), getdata(), and on_cps_changed(). |
|
Definition at line 151 of file app_peakfind.h. Referenced by on_rfirstdecad_changed(), and ratemeter_changed(). |
|
Definition at line 155 of file app_peakfind.h. |
|
Definition at line 156 of file app_peakfind.h. |
|
Definition at line 157 of file app_peakfind.h. |
|
Definition at line 183 of file app_peakfind.h. Referenced by on_Invers_clicked(). |
|
Definition at line 152 of file app_peakfind.h. Referenced by on_cps_changed(), and ratemeter_changed(). |
|
Definition at line 152 of file app_peakfind.h. Referenced by on_cps_changed(), and ratemeter_changed(). |
|
Definition at line 152 of file app_peakfind.h. Referenced by on_cps_changed(), and ratemeter_changed(). |
|
Definition at line 152 of file app_peakfind.h. |
|
Definition at line 183 of file app_peakfind.h. Referenced by getdata(), on_cps_changed(), and on_LinLog_clicked(). |
|
Definition at line 182 of file app_peakfind.h. Referenced by CalcLookUp(), and LookUp(). |
|
Definition at line 147 of file app_peakfind.h. |
|
Definition at line 177 of file app_peakfind.h. Referenced by getdata(). |
|
Definition at line 177 of file app_peakfind.h. |
|
Definition at line 186 of file app_peakfind.h. Referenced by getdata(), and item_event(). |
|
Definition at line 185 of file app_peakfind.h. Referenced by addheader(), AutoHiLo(), getdata(), and item_event(). |
|
Definition at line 159 of file app_peakfind.h. |
|
Definition at line 151 of file app_peakfind.h. Referenced by on_rdecads_changed(), and ratemeter_changed(). |
|
Definition at line 151 of file app_peakfind.h. Referenced by ratemeter_changed(). |
|
Definition at line 150 of file app_peakfind.h. Referenced by on_cps_changed(), and ratemeter_changed(). |
|
Definition at line 158 of file app_peakfind.h. |
|
Definition at line 157 of file app_peakfind.h. |
|
Definition at line 161 of file app_peakfind.h. Referenced by getdata(). |
|
Definition at line 180 of file app_peakfind.h. |
|
Definition at line 180 of file app_peakfind.h. |
|
Definition at line 147 of file app_peakfind.h. |
|
Definition at line 161 of file app_peakfind.h. |
|
Definition at line 180 of file app_peakfind.h. |
|
Definition at line 180 of file app_peakfind.h. |