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

#include "us_2dsa.h"

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

Public Member Functions

 US_2dsa ()
 
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 ()
 
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 distrib_info (void)
 
QString iteration_info (void)
 
QString fit_meniscus_data (void)
 
void data_plot (void)
 
void write_report (QTextStream &)
 
void write_bmap (const QString)
 
void load (void)
 
void view (void)
 
void save (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_ResidPlot2Dresplotd
 
QPointer< US_PlotControl2Deplotcd
 
QPointer< US_AnalysisControl2Danalcd
 
US_Model model
 
US_Noise ri_noise_in
 
US_Noise ti_noise_in
 
QList< US_Modelmodels
 
QList< US_Noiseri_noises
 
QList< US_Noiseti_noises
 
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
 
bool loadDB
 
bool exp_steps
 
double rmsd
 
int dbg_level
 
int baserss
 

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 33 of file us_2dsa.h.

Constructor & Destructor Documentation

US_2dsa::US_2dsa ( )

Definition at line 42 of file us_2dsa.cpp.

Member Function Documentation

void US_2dsa::analysis_done ( int  updflag)

Definition at line 165 of file us_2dsa.cpp.

void US_2dsa::data_plot ( void  )
privateslot

Definition at line 325 of file us_2dsa.cpp.

QString US_2dsa::distrib_info ( void  )
privateslot

Definition at line 989 of file us_2dsa.cpp.

QString US_2dsa::fit_meniscus_data ( void  )
privateslot

Definition at line 1302 of file us_2dsa.cpp.

void US_2dsa::help ( void  )
inlineprivateslot

Definition at line 114 of file us_2dsa.h.

QString US_2dsa::iteration_info ( void  )
privateslot

Definition at line 1135 of file us_2dsa.cpp.

void US_2dsa::load ( void  )
privateslot

Definition at line 235 of file us_2dsa.cpp.

int * US_2dsa::mw_base_rss ( )

Definition at line 869 of file us_2dsa.cpp.

US_DataIO::EditedData * US_2dsa::mw_editdata ( )

Definition at line 851 of file us_2dsa.cpp.

QList< int > * US_2dsa::mw_excllist ( )

Definition at line 864 of file us_2dsa.cpp.

US_Model * US_2dsa::mw_model ( )

Definition at line 865 of file us_2dsa.cpp.

US_DataIO::RawData * US_2dsa::mw_resdata ( )

Definition at line 863 of file us_2dsa.cpp.

US_Noise * US_2dsa::mw_ri_noise ( )

Definition at line 867 of file us_2dsa.cpp.

US_DataIO::RawData * US_2dsa::mw_simdata ( )

Definition at line 862 of file us_2dsa.cpp.

QPointer< QTextEdit > US_2dsa::mw_status_text ( )

Definition at line 868 of file us_2dsa.cpp.

US_Noise * US_2dsa::mw_ti_noise ( )

Definition at line 866 of file us_2dsa.cpp.

void US_2dsa::new_triple ( int  index)
privateslot

Definition at line 1266 of file us_2dsa.cpp.

void US_2dsa::open_3dplot ( void  )
privateslot

Definition at line 888 of file us_2dsa.cpp.

void US_2dsa::open_fitcntl ( void  )
privateslot

Definition at line 904 of file us_2dsa.cpp.

void US_2dsa::open_resplot ( void  )
privateslot

Definition at line 872 of file us_2dsa.cpp.

void US_2dsa::save ( void  )
privateslot

Definition at line 480 of file us_2dsa.cpp.

void US_2dsa::view ( void  )
privateslot

Definition at line 457 of file us_2dsa.cpp.

void US_2dsa::write_bmap ( const QString  plotFile)
privateslot

Definition at line 1229 of file us_2dsa.cpp.

void US_2dsa::write_report ( QTextStream &  ts)
privateslot

Definition at line 1218 of file us_2dsa.cpp.

Member Data Documentation

QPoint US_2dsa::acd_pos
private

Definition at line 81 of file us_2dsa.h.

QPointer< US_AnalysisControl2D > US_2dsa::analcd
private

Definition at line 69 of file us_2dsa.h.

int US_2dsa::baserss
private

Definition at line 98 of file us_2dsa.h.

int US_2dsa::dbg_level
private

Definition at line 97 of file us_2dsa.h.

SS_DATASET US_2dsa::dset
private

Definition at line 57 of file us_2dsa.h.

QList< SS_DATASET* > US_2dsa::dsets
private

Definition at line 59 of file us_2dsa.h.

US_DataIO::EditedData* US_2dsa::edata
private

Definition at line 63 of file us_2dsa.h.

QPoint US_2dsa::epd_pos
private

Definition at line 80 of file us_2dsa.h.

QPointer< US_PlotControl2D > US_2dsa::eplotcd
private

Definition at line 68 of file us_2dsa.h.

bool US_2dsa::exp_steps
private

Definition at line 93 of file us_2dsa.h.

QLineEdit* US_2dsa::le_rmsd
private

Definition at line 84 of file us_2dsa.h.

QLineEdit* US_2dsa::le_vari
private

Definition at line 83 of file us_2dsa.h.

bool US_2dsa::loadDB
private

Definition at line 92 of file us_2dsa.h.

US_Model US_2dsa::model
private

Definition at line 71 of file us_2dsa.h.

QList< US_Model > US_2dsa::models
private

Definition at line 75 of file us_2dsa.h.

QPushButton* US_2dsa::pb_fitcntl
private

Definition at line 88 of file us_2dsa.h.

QPushButton* US_2dsa::pb_plt3d
private

Definition at line 89 of file us_2dsa.h.

QPushButton* US_2dsa::pb_pltres
private

Definition at line 90 of file us_2dsa.h.

QGridLayout* US_2dsa::progressLayout
private

Definition at line 53 of file us_2dsa.h.

QPoint US_2dsa::rbd_pos
private

Definition at line 79 of file us_2dsa.h.

US_DataIO::RawData US_2dsa::rdata
private

Definition at line 65 of file us_2dsa.h.

QPointer< US_ResidPlot2D > US_2dsa::resplotd
private

Definition at line 67 of file us_2dsa.h.

US_Noise US_2dsa::ri_noise_in
private

Definition at line 72 of file us_2dsa.h.

QList< US_Noise > US_2dsa::ri_noises
private

Definition at line 76 of file us_2dsa.h.

double US_2dsa::rmsd
private

Definition at line 95 of file us_2dsa.h.

US_DataIO::RawData US_2dsa::sdata
private

Definition at line 64 of file us_2dsa.h.

QVector< SP_SPEEDPROFILE > US_2dsa::speed_steps
private

Definition at line 61 of file us_2dsa.h.

US_Editor* US_2dsa::te_results
private

Definition at line 55 of file us_2dsa.h.

QTextEdit* US_2dsa::te_status
private

Definition at line 86 of file us_2dsa.h.

US_Noise US_2dsa::ti_noise_in
private

Definition at line 73 of file us_2dsa.h.

QList< US_Noise > US_2dsa::ti_noises
private

Definition at line 77 of file us_2dsa.h.


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