|
The IsotopicClusterShaperDlg class provides a graphical user interface for the full peak shaping process. More...
Header: | #include <IsotopicClusterShaperDlg.hpp> |
IsotopicClusterShaperDlg(QWidget *program_window_p, const QString &applicationName, const QString &description) | |
IsotopicClusterShaperDlg(QWidget *program_window_p, const QString &applicationName, const QString &description, pappso::TraceCstSPtr isotopic_cluster_sp, int normalizing_intensity = std::numeric_limits<double>::min()) | |
virtual | ~IsotopicClusterShaperDlg() |
void | setColorByteArray(QByteArray color_byte_array) |
void | setIsotopiCluster(pappso::TraceCstSPtr isotopic_cluster_sp) |
void | setMassSpectrumTitle(const QString &title) |
void | traceColorPushButtonClicked() |
void | closeEvent(int *event) |
void | colorizePushButton(int *push_button_p, QByteArray color_byte_array) |
QString | craftMassSpectrumName() |
std::size_t | fillInThePeakShapers() |
void | message(const QString &message, int timeout = 3000) |
void | readSettings(const QString &config_settings_file_path) |
void | setupDialog() |
void | writeSettings(const QString &config_settings_file_path) |
QString | m_applicationName |
QByteArray | m_colorByteArray |
libXpertMass::MassPeakShaperConfig | m_config |
QString | m_description |
QString | m_fileName |
pappso::Trace | m_finalTrace |
pappso::Trace | m_isotopicCluster |
pappso::MapTrace | m_mapTrace |
pappso::MzIntegrationParams | m_mzIntegrationParams |
int | m_normalizingIntensity |
QList<libXpertMass::MassPeakShaperSPtr> | m_peakShapers |
double | m_referencePeakMz |
MassPeakShaperConfigWidget * | mp_massPeakShaperConfigWidget |
QWidget * | mp_programWindow |
Ui::IsotopicClusterShaperDlg * | mp_ui |
std::shared_ptr<QTimer> | msp_msgTimer |
Each peak centroid in the isotopic cluster is shaped independently and all the obtained shapes are combined into a single mass spectrum.
Constructs a IsotopicClusterShaperDlg instance.
Constructs a IsotopicClusterShaperDlg instance.
[virtual noexcept]
IsotopicClusterShaperDlg::~IsotopicClusterShaperDlg()Destructs this IsotopicClusterShaperDlg instance.
[protected]
void IsotopicClusterShaperDlg::closeEvent(int *event)Upon closing of the dialog window (unused event), writes the settings to the application configuration file.
[protected]
void IsotopicClusterShaperDlg::colorizePushButton(int *push_button_p, QByteArray color_byte_array)Colorizes the push_button_p push button with the color encoded in color_byte_array.
[protected]
QString IsotopicClusterShaperDlg::craftMassSpectrumName()Returns a string with the mass spectrum name.
The mass spectrum is the result of the isotopic cluster shaping process.
[protected]
std::size_t IsotopicClusterShaperDlg::fillInThePeakShapers()Creates all the peak shapers required to process all the peak centroids in the isotopic cluster.
[protected]
void IsotopicClusterShaperDlg::message(const QString &message, int timeout = 3000)Set message to the message line edit widget with timeout.
At the end of the time out the message is erased.
[protected]
void IsotopicClusterShaperDlg::readSettings(const QString &config_settings_file_path)Reads the settings of this dialog window from the application configuration file (config_settings_file_path).
The configuration is read from the file to set back the dialog window in the same status.
Sets the color_byte_array color.
Colorizes the push button to provide a visual feedback of the color that was selected.
Sets the isotopic_cluster_sp isotopic cluster that is the starting material for the computations.
Sets title as the mass spectrum title to the line edit widget.
[protected]
void IsotopicClusterShaperDlg::setupDialog()Sets up the dialog window.
[slot]
void IsotopicClusterShaperDlg::traceColorPushButtonClicked()Selects a color for the mass spectrum trace to be plotted.
[protected]
void IsotopicClusterShaperDlg::writeSettings(const QString &config_settings_file_path)Saves the settings of this dialog window to the application configuration file (config_settings_file_path).
The saved configuration is read from the file to set back the dialog window in the same status.
This variable holds the name of the application.
This variable holds the byte array representation of the color with which the spectrum might be traced.
This variable holds the peak shaping process configuration.
This variable holds the description of this IsotopicClusterShaperDlg dialog window instance.
This variable holds the name of the file to which results might be written.
This variable holds the finale pappso::Trace in which to store the final mass spectrum.
This variable holds the isotopic cluster in the form of a pappso::Trace instance.
This variable holds the map trace that is used to combine each individual peak shape into a single mass spectrum.
This variable holds the mass spectrum combination parameters (size of the bins, for example).
This variable holds the intensity value that the most intense peak in the cluster should have.
All the other peaks intensities are normalized against this value.
This variable holds the list of peak shapers used to shape the peak around each isotopic cluster peak centroid.
Each peak centroid of the isotopic cluster will be handled by its own peak shaper instance.
This variable holds the m/z value that is used as the reference peak when convertring full with at half maximum values to and from resolving power values.
This variable holds the widget where the mass peak shaping process configuration is done..
This variable holds the main program window.
This variable holds the graphical user interface definition.
This variable holds the timer used to erase messages output to the user.