UltraScan III
List of all members | Public Member Functions | Private Slots | Private Attributes
US_pcsa Class Reference

#include "us_pcsa.h"

Inheritance diagram for US_pcsa:
Inheritance graph
[legend]
Collaboration diagram for US_pcsa:
Collaboration graph
[legend]

Public Member Functions

 US_pcsa ()
 
void analysis_done (int)
 
US_DataIO::EditedDatamw_editdata ()
 
US_DataIO::RawDatamw_simdata ()
 
US_DataIO::RawDatamw_resdata ()
 
QList< int > * mw_excllist ()
 
US_Modelmw_model ()
 
US_Noisemw_ti_noise ()
 
US_Noisemw_ri_noise ()
 
QPointer< QTextEdit > mw_status_text ()
 
QStringList * mw_model_stats ()
 
QVector< US_ModelRecord > * mw_mrecs ()
 
QVector< US_ModelRecord > * mw_mrecs_mc ()
 
int * mw_base_rss ()
 
- Public Member Functions inherited from US_AnalysisBase2
 US_AnalysisBase2 ()
 
- Public Member Functions inherited from US_Widgets
 US_Widgets (bool=true, QWidget *p=0, Qt::WindowFlags f=0)
 
 ~US_Widgets (void)
 
QLabel * us_label (const QString &, int=0, int=QFont::Bold)
 
QLabel * us_textlabel (const QString &, int=-1, int=QFont::Bold)
 
QLabel * us_banner (const QString &, int=0, int=QFont::Bold)
 
QPushButton * us_pushbutton (const QString &, bool=true, int=0)
 
QTextEdit * us_textedit (void)
 
QLineEdit * us_lineedit (const QString &=0, int=-1, bool=false)
 
void us_setReadOnly (QLineEdit *, bool=true)
 
void us_setReadOnly (QTextEdit *, bool=true)
 
QListWidget * us_listwidget (int=0)
 
QGridLayout * us_checkbox (const QString &, QCheckBox *&, bool=false)
 
QGridLayout * us_radiobutton (const QString &text, QRadioButton *&rb, bool state=false)
 
QProgressBar * us_progressBar (int, int, int=0)
 
QComboBox * us_comboBox (void)
 
QLCDNumber * us_lcd (int, int=0)
 
QwtCounter * us_counter (int, double, double, double=0.0)
 
QwtPlot * us_plot (const QString &, const QString &=QString(), const QString &=QString())
 
QwtPlotGrid * us_grid (QwtPlot *)
 
QwtPlotCurve * us_curve (QwtPlot *, const QString &)
 
QwtPlotPicker * us_picker (QwtPlot *)
 
QTabWidget * us_tabwidget (int=0, int=QFont::Bold)
 
void write_plot (const QString &, const QwtPlot *)
 Write a plot file (PNG or SVG+PNG) from a plot. More...
 
int clean_etc_dir (bool=false)
 Clean install and work ./etc directories. More...
 

Private Slots

void open_resplot (void)
 
void open_3dplot (void)
 
void open_fitcntl (void)
 
QString model_statistics (void)
 
QString distrib_info (void)
 
void data_plot (void)
 
void write_report (QTextStream &)
 
void write_bmap (const QString)
 
void child_closed (QObject *)
 
void load (void)
 
void view (void)
 
void save (void)
 
void close (void)
 
void new_triple (int)
 
void help (void)
 

Private Attributes

QGridLayout * progressLayout
 
US_Editorte_results
 
SS_DATASET dset
 
QList< SS_DATASET * > dsets
 
QVector< SP_SPEEDPROFILEspeed_steps
 
US_DataIO::EditedDataedata
 
US_DataIO::RawData sdata
 
US_DataIO::RawData rdata
 
QPointer< US_ResidPlotPcresplotd
 
QPointer< US_PlotControlPceplotcd
 
QPointer< US_AnalysisControlPcanalcd
 
QPointer< US_MLinesPlotmlplotd
 
QVector< US_ModelRecordmrecs
 
QVector< US_ModelRecordmrecs_mc
 
US_Model model
 
US_Noise ri_noise_in
 
US_Noise ti_noise_in
 
QStringList model_stats
 
QPoint rbd_pos
 
QPoint epd_pos
 
QPoint acd_pos
 
QLineEdit * le_vari
 
QLineEdit * le_rmsd
 
QTextEdit * te_status
 
QPushButton * pb_fitcntl
 
QPushButton * pb_plt3d
 
QPushButton * pb_pltres
 
double rmsd
 
int dbg_level
 
int mc_iters
 
int baserss
 
bool exp_steps
 

Additional Inherited Members

- Signals inherited from US_AnalysisBase2
void dataAreLoaded (void)
 A signal to tell the parent when the data are loaded. More...
 
- Static Public Member Functions inherited from US_Widgets
static QFont fixedFont (void)
 
- Public Attributes inherited from US_Widgets
US_Global g
 Connect to global memory and make the values accessible. More...
 
QPalette vlgray
 Very light gray palette for read-only line edits. More...
 
- Protected Slots inherited from US_AnalysisBase2
virtual void reset (void)
 Resets the class to a default state. More...
 
virtual void new_triple (int)
 Update the class to show data for a new triple. More...
 
virtual void load (void)
 Load data from a directory on disk. More...
 
QString indent (int) const
 Return pad string for indentation. More...
 
QString html_header (const QString &, const QString &, US_DataIO::EditedData *) const
 Return html header string. More...
 
QString run_details (void) const
 Return run details in an html formatted string. More...
 
QString hydrodynamics (void) const
 List solution data in an html formatted string. More...
 
QString analysis (const QString &) const
 Return smoothing and boundary factors in an html formatted string. More...
 
QString scan_info (void) const
 Return scan information in an html formatted string. More...
 
QString table_row (const QString &, const QString &) const
 Returns an html string of a two column table row. More...
 
QString table_row (const QString &, const QString &, const QString &) const
 Returns an html string of a three column table row. More...
 
QString table_row (const QString &, const QString &, const QString &, const QString &, const QString &) const
 Returns an html string of a five column table row. More...
 
QString table_row (const QString &, const QString &, const QString &, const QString &, const QString &, const QString &, const QString &) const
 Returns an html string of a seven column table row. More...
 
double calc_baseline (void) const
 
void reportFilesToDB (QStringList &)
 Copy report files to the database. More...
 
bool write_dset_report (QString &)
 Create a general dataset information report file. More...
 
virtual void exclude (void)
 Exclude scans in the specified range. More...
 
virtual void reset_excludes (void)
 Restore excluded scans. More...
 
void smoothing (double)
 Perform smoothing of the data. More...
 
void update_filelist (QStringList &, const QString)
 Update the list of report files. More...
 
- Protected Member Functions inherited from US_AnalysisBase2
virtual void update (int)
 Update screen for a new dataset. More...
 
virtual void data_plot (void)
 Update the data plot. More...
 
bool mkdir (const QString &, const QString &)
 A utility to create a directory. More...
 
- Protected Attributes inherited from US_AnalysisBase2
QVector< US_DataIO::EditedDatadataList
 A set of edited data for the analysis. More...
 
QVector< US_DataIO::RawDatarawList
 A set of raw data for the analysis. More...
 
QStringList triples
 The currently loaded triples in the form cell / channel / wavelength. More...
 
QList< int > excludedScans
 Scans excluded by the user beyond those excluded by US_Edit. More...
 
QList< QVector< double > > savedValues
 Current data values for the analysis. More...
 
US_Math2::SolutionData solution
 The solution data corresponding to the current triple. More...
 
bool dataLoaded
 A flag to indicate data is loaded. More...
 
bool def_local
 Flag if default source is local. More...
 
bool buffLoaded
 Flag to indicate buffer is loaded. More...
 
QString directory
 Data directory of analysis files. More...
 
QString editID
 Current edit ID. Usually a date-time. More...
 
QString runID
 User specified run ID string. More...
 
QString dfilter
 Data files filter. More...
 
QString investig
 Investigator string. More...
 
QString etype_filt
 Experiment type loader filter. More...
 
US_Buffer buff
 Currently loaded buffer. More...
 
US_Solution solution_rec
 Current data's solution. More...
 
US_Noise ri_noise
 Loaded,appl'd radially-invariant noise. More...
 
US_Noise ti_noise
 Loaded,applied time-invariant noise. More...
 
QVector< int > noiflags
 Noise-applied flags, for all triples. More...
 
QVector< QList< int > > allExcls
 Excluded scans, for all triples. More...
 
QVector< US_Noiserinoises
 ri-noises applied, for all triples More...
 
QVector< US_Noisetinoises
 ti-noises applied, for all triples More...
 
US_Help showHelp
 A class to display help in the US Help viewer. More...
 
double time_correction
 Time correction, centrifuge acceler. More...
 
double density
 Density of the buffer. More...
 
double viscosity
 Viscosity of the buffer. More...
 
double vbar
 Specific volume of the analyte. More...
 
bool manual
 Viscosity,Density manual. More...
 
QGridLayout * mainLayout
 Overall Layout. More...
 
QBoxLayout * leftLayout
 Layout of the left column. More...
 
QBoxLayout * rightLayout
 Layout of the right column. More...
 
QBoxLayout * buttonLayout
 Layout of the bottom button row. More...
 
QGridLayout * analysisLayout
 Layout for analysis functions. More...
 
QGridLayout * runInfoLayout
 Layout for run details. More...
 
QGridLayout * parameterLayout
 Layout for other analysis controls. More...
 
QGridLayout * controlsLayout
 Layout of analysis controls. More...
 
US_PlotplotLayout1
 Top plot layout. More...
 
US_PlotplotLayout2
 Bottom plot layout. More...
 
QwtPlot * data_plot1
 Access to the top qwt plot. More...
 
QwtPlot * data_plot2
 Access to the bottom qwt plot. More...
 
QPushButton * pb_load
 Pushbutton to load data. More...
 
QPushButton * pb_details
 Pushbuttion to view run details. More...
 
QPushButton * pb_solution
 Pushbuttion to get solution parameters. More...
 
QPushButton * pb_view
 Pushbuttion to view run a data report. More...
 
QPushButton * pb_save
 Pushbutton to save analysis results. More...
 
QPushButton * pb_reset
 Pushbutton to reset the screen. More...
 
QPushButton * pb_help
 Pushbutton to show help. More...
 
QPushButton * pb_close
 Pushbutton to close the application. More...
 
QPushButton * pb_exclude
 Pushbutton to exclude specified scans. More...
 
QPushButton * pb_reset_exclude
 PB to revert the excluded scan range. More...
 
QLineEdit * le_id
 Display the current RunID. More...
 
QLineEdit * le_temp
 Display/change the temperature used. More...
 
QTextEdit * te_desc
 Text edit box for discription. More...
 
QListWidget * lw_triples
 List widget containing triples. More...
 
QLineEdit * le_solution
 Display the solution description. More...
 
QLineEdit * le_density
 Display/change the density used. More...
 
QLineEdit * le_viscosity
 Display/change the viscosity. More...
 
QLineEdit * le_vbar
 Display/change the specific volume. More...
 
QLineEdit * le_skipped
 Display the number of scans skipped. More...
 
QwtCounter * ct_smoothing
 Counter for number of coefficients in polynomial smoothing function. More...
 
QwtCounter * ct_boundaryPercent
 Counter for boundary percentage specification. More...
 
QwtCounter * ct_boundaryPos
 Counter for boundary starting point. More...
 
QwtCounter * ct_from
 Counter for start of exclude range. More...
 
QwtCounter * ct_to
 Counter for end of exclude range. More...
 
QCheckBox * ck_edlast
 Checkbox for edit-lastest flag. More...
 
US_Disk_DB_Controlsdisk_controls
 Radiobuttons for disk/db choice. More...
 

Detailed Description

Definition at line 49 of file us_pcsa.h.

Constructor & Destructor Documentation

US_pcsa::US_pcsa ( )

Definition at line 42 of file us_pcsa.cpp.

Member Function Documentation

void US_pcsa::analysis_done ( int  updflag)

Definition at line 163 of file us_pcsa.cpp.

void US_pcsa::child_closed ( QObject *  o)
privateslot

Definition at line 1234 of file us_pcsa.cpp.

void US_pcsa::close ( void  )
privateslot

Definition at line 1209 of file us_pcsa.cpp.

void US_pcsa::data_plot ( void  )
privateslot

Definition at line 296 of file us_pcsa.cpp.

QString US_pcsa::distrib_info ( void  )
privateslot

Definition at line 960 of file us_pcsa.cpp.

void US_pcsa::help ( void  )
inlineprivateslot

Definition at line 136 of file us_pcsa.h.

void US_pcsa::load ( void  )
privateslot

Definition at line 222 of file us_pcsa.cpp.

QString US_pcsa::model_statistics ( void  )
privateslot

Definition at line 1097 of file us_pcsa.cpp.

int * US_pcsa::mw_base_rss ( )

Definition at line 841 of file us_pcsa.cpp.

US_DataIO::EditedData * US_pcsa::mw_editdata ( )

Definition at line 821 of file us_pcsa.cpp.

QList< int > * US_pcsa::mw_excllist ( )

Definition at line 833 of file us_pcsa.cpp.

US_Model * US_pcsa::mw_model ( )

Definition at line 834 of file us_pcsa.cpp.

QStringList * US_pcsa::mw_model_stats ( )

Definition at line 838 of file us_pcsa.cpp.

QVector< US_ModelRecord > * US_pcsa::mw_mrecs ( )

Definition at line 839 of file us_pcsa.cpp.

QVector< US_ModelRecord > * US_pcsa::mw_mrecs_mc ( )

Definition at line 840 of file us_pcsa.cpp.

US_DataIO::RawData * US_pcsa::mw_resdata ( )

Definition at line 832 of file us_pcsa.cpp.

US_Noise * US_pcsa::mw_ri_noise ( )

Definition at line 836 of file us_pcsa.cpp.

US_DataIO::RawData * US_pcsa::mw_simdata ( )

Definition at line 831 of file us_pcsa.cpp.

QPointer< QTextEdit > US_pcsa::mw_status_text ( )

Definition at line 837 of file us_pcsa.cpp.

US_Noise * US_pcsa::mw_ti_noise ( )

Definition at line 835 of file us_pcsa.cpp.

void US_pcsa::new_triple ( int  index)
privateslot

Definition at line 1170 of file us_pcsa.cpp.

void US_pcsa::open_3dplot ( void  )
privateslot

Definition at line 862 of file us_pcsa.cpp.

void US_pcsa::open_fitcntl ( void  )
privateslot

Definition at line 880 of file us_pcsa.cpp.

void US_pcsa::open_resplot ( void  )
privateslot

Definition at line 844 of file us_pcsa.cpp.

void US_pcsa::save ( void  )
privateslot

Definition at line 450 of file us_pcsa.cpp.

void US_pcsa::view ( void  )
privateslot

Definition at line 427 of file us_pcsa.cpp.

void US_pcsa::write_bmap ( const QString  plotFile)
privateslot

Definition at line 1132 of file us_pcsa.cpp.

void US_pcsa::write_report ( QTextStream &  ts)
privateslot

Definition at line 1116 of file us_pcsa.cpp.

Member Data Documentation

QPoint US_pcsa::acd_pos
private

Definition at line 102 of file us_pcsa.h.

QPointer< US_AnalysisControlPc > US_pcsa::analcd
private

Definition at line 88 of file us_pcsa.h.

int US_pcsa::baserss
private

Definition at line 117 of file us_pcsa.h.

int US_pcsa::dbg_level
private

Definition at line 115 of file us_pcsa.h.

SS_DATASET US_pcsa::dset
private

Definition at line 76 of file us_pcsa.h.

QList< SS_DATASET* > US_pcsa::dsets
private

Definition at line 78 of file us_pcsa.h.

US_DataIO::EditedData* US_pcsa::edata
private

Definition at line 82 of file us_pcsa.h.

QPoint US_pcsa::epd_pos
private

Definition at line 101 of file us_pcsa.h.

QPointer< US_PlotControlPc > US_pcsa::eplotcd
private

Definition at line 87 of file us_pcsa.h.

bool US_pcsa::exp_steps
private

Definition at line 119 of file us_pcsa.h.

QLineEdit* US_pcsa::le_rmsd
private

Definition at line 105 of file us_pcsa.h.

QLineEdit* US_pcsa::le_vari
private

Definition at line 104 of file us_pcsa.h.

int US_pcsa::mc_iters
private

Definition at line 116 of file us_pcsa.h.

QPointer< US_MLinesPlot > US_pcsa::mlplotd
private

Definition at line 89 of file us_pcsa.h.

US_Model US_pcsa::model
private

Definition at line 94 of file us_pcsa.h.

QStringList US_pcsa::model_stats
private

Definition at line 98 of file us_pcsa.h.

QVector< US_ModelRecord > US_pcsa::mrecs
private

Definition at line 91 of file us_pcsa.h.

QVector< US_ModelRecord > US_pcsa::mrecs_mc
private

Definition at line 92 of file us_pcsa.h.

QPushButton* US_pcsa::pb_fitcntl
private

Definition at line 109 of file us_pcsa.h.

QPushButton* US_pcsa::pb_plt3d
private

Definition at line 110 of file us_pcsa.h.

QPushButton* US_pcsa::pb_pltres
private

Definition at line 111 of file us_pcsa.h.

QGridLayout* US_pcsa::progressLayout
private

Definition at line 72 of file us_pcsa.h.

QPoint US_pcsa::rbd_pos
private

Definition at line 100 of file us_pcsa.h.

US_DataIO::RawData US_pcsa::rdata
private

Definition at line 84 of file us_pcsa.h.

QPointer< US_ResidPlotPc > US_pcsa::resplotd
private

Definition at line 86 of file us_pcsa.h.

US_Noise US_pcsa::ri_noise_in
private

Definition at line 95 of file us_pcsa.h.

double US_pcsa::rmsd
private

Definition at line 113 of file us_pcsa.h.

US_DataIO::RawData US_pcsa::sdata
private

Definition at line 83 of file us_pcsa.h.

QVector< SP_SPEEDPROFILE > US_pcsa::speed_steps
private

Definition at line 80 of file us_pcsa.h.

US_Editor* US_pcsa::te_results
private

Definition at line 74 of file us_pcsa.h.

QTextEdit* US_pcsa::te_status
private

Definition at line 107 of file us_pcsa.h.

US_Noise US_pcsa::ti_noise_in
private

Definition at line 96 of file us_pcsa.h.


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