Using

(file 'psglab_run.m')

  1. global_vars.main_path = 'c:\MATLABr2007a\work\';      % main path
  2. global_vars.path_define_file = 'c:\MATLABr2007a\work\data_artefacts\';      % directory with PSG DATA
  3. global_vars.figure_save = 1;      % 0 ~ only show figures, 1 ~ show and save figures
  4. global_vars.figure_dpi = '-r170';      % define dpi for exported images (e.g. '-r170')
  5. global_vars.figure_format = '-dtiff';      % image format for exported images (e.g. '-dtiff')
  6. global_vars.figure_ext = 'tiff';      % file extension for exported images (e.g. 'tiff')
  7. global_vars.close_windows = 0;      % close window with figure: 0 ~ do not close the window, 1 ~ close the Swindow
  8. global_vars.fig_ext = 'fig';      % file extension for exported figures (e.g. 'fig')
  9. global_vars.dir_list = [1];      % dirs with data (e.g. [1 : 20])
  10. global_vars.limitation_length = -1;      % -1 ~ whole signal processing; any other number ~ limitation for processing in seconds

Simple definition of used methods

(file 'psglab_run.m')

  1. options.run_load_int = 0;      % loading of binary data (*.bin)
  2. options.run_load_asc = 0;      % loading of asci data (*.asc)
  3. options.run_load_dfile = 0;      % loading of d-file data (*.D)
  4. options.run_load_gsr = 0;      % loading of gsr data (*.txt)
  5. options.run_load_timecode = 0;      % loading of gsr data (*.txt)
  6. options.run_load_defination = 0;      % loading of data definition file ('data-info.xml')
  1. options.run_data_resampling = 0;      % data resampling
  2. options.run_data_filtering_50hz = 0;      % data filtering (notch filter 50Hz)
  3. options.run_data_filtering_fir = 0;      % data filtering (FIR, basic EEG bands)
  4. options.run_data_amplitude_changing = 0;      % amplitude scaling
  5. options.run_data_isoline_removing = 0;      % isoline removing
  6. options.run_data_cutting = 0;      % data cutting
  7. options.run_data_mean_channels_computing = 0;      % mean channel computing
  8. options.run_data_covert_excl = 0;      % conversion of expert classification to different time scales
  9. options.run_data_new_excl = 0;      % conversion of expert classification to different time scales
  10. options.run_data_artefact_detection = 0;      % artifact detection
  1. options.run_segmentation_constant = 0;      % constant segmentation
  2. options.run_segmentation_adaptive = 0;      % adaptive segmentation
  1. options.run_feature_extraction_default = 0;      % feature extraction (default features)
  2. options.run_feature_normalization = 0;      % normalization
  3. options.run_feature_extraction_coherence = 0;      % feature extraction (coherence)
  4. options.run_feature_extraction_correlation = 0;      % feature extraction (correlation)
  5. options.run_spectrogram_computing = 0;      % spectrogram computing
  6. options.run_feature_export_to_weka = 0;      % convert results to weka format
  1. options.run_feature_selection = 0;      % feature selection
  2. options.run_feature_selection_sfs = 0;      % feature selection - Sequential Forward Selection
  3. options.run_feature_selection_combining = 0;      % combining of feature selection results
  1. options.run_classification_cross_validation = 0;      % cross validation
  2. options.run_classification_knn = 0;      % k-nn classifier
  3. options.run_classification_filter = 0;      % postproc. filter
  4. options.run_classification_hmm = 0;      % classification by HMM
  1. options.run_clustering_hierarchical = 0;      % hierarchical clustering
  2. options.run_clustering_kmeans = 0;      % k-means clustering
  1. options.run_show_signals = 0;      % show signals + segment borders
  2. options.run_show_selected_features = 0;      % show features
  3. options.run_show_features_coherence = 0;      % show coherence results
  4. options.run_show_features_correlation = 0;      % show correlation results
  5. options.run_show_classification_results = 0;      % show results of classification
  6. options.run_show_clustering_hierarchical = 0;      % hierarchical clustering
  7. options.run_show_clustering_kmeans = 0;      % k-means clustering
  8. options.run_show_2d_map = 0;      % one 2D map creating
  9. options.run_show_2d_maps = 0;      % 2D maps creating
  10. options.run_show_features = 0;      % comparison of features
  1. options.run_join_features = 0;      % feature combination
  2. options.run_feature_selection_combining = 0;      % combining of feature selection results
  3. options.run_join_arff_files = 0;      % join arff files to one arff file
  4. options.run_2d_maps_to_avi = 0;

Additional definition files for PSGLab

  1. define-classes.txt      % definition of classes
  2. define-coherence.txt      % definition of the electrode pairs to calculate the coherence
  3. define-coherence-bands.txt      % definition of the frequency bands to calculate the coherence
  4. define-colormap.bmp      % color map used for the visualization of cluster analysis results
  5. define-correlation.txt      % definition of the electrode pairs to calculate the correlation
  6. define-correlation-names.txt      % labels for each pair of electrodes
  7. define-electrodes.txt      % used electrodes
  8. define-electrodes-A.png      % auxiliary file for the visualization of 2D maps
  9. define-electrodes-B.png      % auxiliary file for the visualization of 2D maps
  10. define-electrodes-C.png      % auxiliary file for the visualization of 2D maps
  11. define-electrodes-position-118.txt      % position of electrodes - 118 channels
  12. define-electrodes-position-19.txt      % position of electrodes - 19 channels
  13. define-electrodes-position-8.txt      % position of electrodes - 8 channels
  14. define-features.txt      % definition of active features (which are calculated)
  15. define-maps-names.txt      % description of the maps (auxiliary file)
  16. define-maps-type.txt      % type of maps (auxiliary file)
  17. define-spectrogram.txt      % definition of the electrodes to calculate the spectrogram
  18. define-wav-energy-ratios.txt      % definitions of important clinical ratios
© 2010-2012 BioDat Research Group: All rights reserved | XHTML 1.0 Strict & CSS level 2.1