update script comments

This commit is contained in:
Konstantinos Leptokaropoulos 2020-02-12 11:31:06 +01:00
parent be4eba2661
commit 6cffcd1829
10 changed files with 34 additions and 20 deletions

View File

@ -1,6 +1,7 @@
% PROGRAM: Clustering % PROGRAM: Clustering
% VERSION: [Interactive Standalone Version] V1.8 % VERSION: [Interactive Standalone Version] V1.8
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" Matlab Toolbox installed
% TOOLBOX: "Clustering/Transformation to ED Toolbox" within SERA Project % TOOLBOX: "Clustering/Transformation to ED Toolbox" within SERA Project
% DOCUMENT: "READ_ME_App_1B_v1_Description_Cluster_Analysis.docx" % DOCUMENT: "READ_ME_App_1B_v1_Description_Cluster_Analysis.docx"
% ------------------------------------------------------------------------------------------------------- % -------------------------------------------------------------------------------------------------------
@ -19,7 +20,7 @@
% some figures in some particular cases. % some figures in some particular cases.
% -------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos, % AUTHORS: K. Leptokaropoulos,
% last updated: 03/2019, within SERA PROJECT, EU Horizon 2020 R&I % last updated: 07/2019, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v1.8 **** [INTERACTIVE STANDALONE VERSION!!] % CURRENT VERSION: v1.8 **** [INTERACTIVE STANDALONE VERSION!!]
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -1,6 +1,7 @@
% FUNCTION: Clustering % FUNCTION: Clustering
% VERSION: [Wrapper Standalone Version] V2.8 % VERSION: [Wrapper Standalone Version] V2.8
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" Matlab Toolbox installed
% TOOLBOX: "Clustering/Transformation to ED Toolbox" within SERA Project % TOOLBOX: "Clustering/Transformation to ED Toolbox" within SERA Project
% DOCUMENT: "READ_ME_App_1B_v2_Description_Cluster_Analysis.docx" % DOCUMENT: "READ_ME_App_1B_v2_Description_Cluster_Analysis.docx"
% ---------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------
@ -14,7 +15,7 @@
% for a specific application (scenario) & plotting results. % for a specific application (scenario) & plotting results.
% -------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos, % AUTHORS: K. Leptokaropoulos,
% last updated: 03/2019, within SERA PROJECT, EU Horizon 2020 R&I % last updated: 07/2019, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v2.8 **** [Wrapper Standalone Version] % CURRENT VERSION: v2.8 **** [Wrapper Standalone Version]
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -1,6 +1,7 @@
% PROGRAM: T2ED % PROGRAM: T2ED
% VERSION: [Interactive Standalone Version] V_1.8 % VERSION: [Interactive Standalone Version] V_1.8
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" Matlab Toolbox installed
% TOOLBOX: "Clustering/Transformation to ED Toolbox" within SERA Project % TOOLBOX: "Clustering/Transformation to ED Toolbox" within SERA Project
% DOCUMENT: "READ_ME_App_1A_v1_Description_T2ED.docx" % DOCUMENT: "READ_ME_App_1A_v1_Description_T2ED.docx"
% -------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------
@ -15,11 +16,12 @@
% FOR DETAILS on data requirements please refer to the document: % FOR DETAILS on data requirements please refer to the document:
% "READ_ME_App_1A_v1_Description_T2ED.docx" % "READ_ME_App_1A_v1_Description_T2ED.docx"
% -------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------
% OVEIRVIEW: THE PROGRAM takes as input a Seismic or/and a Production data parameters and % OVERVIEW: THE PROGRAM takes as input a Seismic or/and a Production data parameters and
% transforms them into their Equivalent Dimensions (ED) following the Lasocki (2014) methodology % transforms them into their Equivalent Dimensions (ED) following the Lasocki (2014) methodology
% -------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos and P. Urban, % AUTHORS: K. Leptokaropoulos, S. Lasocki and P. Urban,
% Last Updated: 03/2019, within SERA PROJECT, EU Horizon 2020 R&I % based on code 'EQ_DIM' originally developed by S. Lasocki (Lasocki, 2014)
% Last Updated: 07/2019, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v1.8 **** [INTERACTIVE STANDALONE VERSION!!] % CURRENT VERSION: v1.8 **** [INTERACTIVE STANDALONE VERSION!!]
%% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -1,6 +1,7 @@
% FUNCTION: T2ED % FUNCTION: T2ED
% VERSION: [Wrapper Standalone Version] V2.8 % VERSION: [Wrapper Standalone Version] V2.8
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" Matlab Toolbox installed
% TOOLBOX: "Clustering/Transformation to ED Toolbox" within SERA Project % TOOLBOX: "Clustering/Transformation to ED Toolbox" within SERA Project
% DOCUMENT: "READ_ME_App_1A_v2_Description_T2ED.docx" % DOCUMENT: "READ_ME_App_1A_v2_Description_T2ED.docx"
% ---------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------
@ -12,8 +13,9 @@
% 'ED_ToolBox_wrapper' and 'plottesth' for specified applications (scenarios) % 'ED_ToolBox_wrapper' and 'plottesth' for specified applications (scenarios)
% and plotting results. % and plotting results.
% ----------------------------------------------------------------------------------------------------------------- % -----------------------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos, and P. Urban % AUTHORS: K. Leptokaropoulos, S. Lasocki and P. Urban
% Last Updated: 03/2019, within SERA PROJECT, EU Horizon 2020 R&I % based on code 'EQ_DIM' originally developed by S. Lasocki (Lasocki, 2014)
% Last Updated: 07/2019, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v2.8 **** [Wrapper Standalone Version] % CURRENT VERSION: v2.8 **** [Wrapper Standalone Version]
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -1,6 +1,7 @@
% FUNCTION: ADTestMag % FUNCTION: ADTestMag
% VERSION: [Interactive Hybrid Standalone Version] V1.8 % VERSION: [Interactive Hybrid Standalone Version] V1.8
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" Matlab Toolbox installed
% TOOLBOX: "Magnitude Complexity Toolbox" within SERA Project % TOOLBOX: "Magnitude Complexity Toolbox" within SERA Project
% DOCUMENT: "READ_ME_App_2A_v1_Description_ADTestMag.docx" % DOCUMENT: "READ_ME_App_2A_v1_Description_ADTestMag.docx"
% ----------------------------------------------------------------------------------------------------------------------- % -----------------------------------------------------------------------------------------------------------------------
@ -19,7 +20,7 @@
% Weibull distribution % Weibull distribution
% ----------------------------------------------------------------------------------------------------------------------- % -----------------------------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos, and P. Urban % AUTHORS: K. Leptokaropoulos, and P. Urban
% last updated: 03/2019, within SERA PROJECT, EU Horizon 2020 R&I % last updated: 07/2019, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v1.8 **** [INTERACTIVE HYBRID STANDALONE VERSION!!] % CURRENT VERSION: v1.8 **** [INTERACTIVE HYBRID STANDALONE VERSION!!]
% ----- THIS IS a dual-mode version: If all input arguments are set, then the % ----- THIS IS a dual-mode version: If all input arguments are set, then the

View File

@ -1,6 +1,7 @@
% FUNCTION: ADTestMag % FUNCTION: ADTestMag
% VERSION: [Wrapper Standalone Version] V2.8 % VERSION: [Wrapper Standalone Version] V2.8
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" Matlab Toolbox installed
% TOOLBOX: "Magnitude Complexity Toolbox" within SERA Project % TOOLBOX: "Magnitude Complexity Toolbox" within SERA Project
% DOCUMENT: "READ_ME_App_2A_v2_Description_ADTestMag.docx" % DOCUMENT: "READ_ME_App_2A_v2_Description_ADTestMag.docx"
% -------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------
@ -14,7 +15,7 @@
% for a specific application (scenario) and plotting results. % for a specific application (scenario) and plotting results.
% ----------------------------------------------------------------------------------------------------- % -----------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos, and P. Urban % AUTHORS: K. Leptokaropoulos, and P. Urban
% last updated: 01/2019, within SERA PROJECT, EU Horizon 2020 R&I % last updated: 07/2019, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v2.8 **** [Wrapper Standalone Version] % CURRENT VERSION: v2.8 **** [Wrapper Standalone Version]
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -1,6 +1,7 @@
% FUNCTION: MM_MB % FUNCTION: MM_MB
% VERSION: [Interactive Hybrid Standalone Version] V1.8 % VERSION: [Interactive Hybrid Standalone Version] V1.8
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" Matlab Toolbox installed
% TOOLBOX: "Magnitude Complexity Toolbox" within SERA Project % TOOLBOX: "Magnitude Complexity Toolbox" within SERA Project
% DOCUMENT: "READ_ME_App_2B_v1_Description_MM_MB.docx" % DOCUMENT: "READ_ME_App_2B_v1_Description_MM_MB.docx"
%-------------------------------------------------------------------------------------------------------------- %--------------------------------------------------------------------------------------------------------------
@ -21,8 +22,9 @@
% of hypotheses of 1) multimodality and 2) existence of multi-bumps in a given % of hypotheses of 1) multimodality and 2) existence of multi-bumps in a given
% magnitude distribution. % magnitude distribution.
% -------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos and P. Urban, % AUTHORS: K. Leptokaropoulos, S. Lasocki and P. Urban,
% last updated: 03/2019, within SERA PROJECT, EU Horizon 2020 R&I % based on functions originally developed by S. Lasocki (Lasocki and Papadimitriou, 2006)
% last updated: 07/2019, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v1.8 **** [INTERACTIVE HYBRID STANDALONE VERSION!!] % CURRENT VERSION: v1.8 **** [INTERACTIVE HYBRID STANDALONE VERSION!!]
% ----- THIS IS a dual-mode version: If all input arguments are set, then the % ----- THIS IS a dual-mode version: If all input arguments are set, then the

View File

@ -1,6 +1,7 @@
% FUNCTION: MM_MB % FUNCTION: MM_MB
% VERSION: [Wrapper Standalone Version] V2.8 % VERSION: [Wrapper Standalone Version] V2.8
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" Matlab Toolbox installed
% TOOLBOX: "Magnitude Complexity Toolbox" within SERA Project % TOOLBOX: "Magnitude Complexity Toolbox" within SERA Project
% DOCUMENT: "READ_ME_App_2B_v2_Description_MM_MB.docx" % DOCUMENT: "READ_ME_App_2B_v2_Description_MM_MB.docx"
% -------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------
@ -13,7 +14,8 @@
% 'MM_MB_wrapper' and 'MM_MB_Plot' for a specific application (scenario) % 'MM_MB_wrapper' and 'MM_MB_Plot' for a specific application (scenario)
% and plotting results. % and plotting results.
% -------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos and P. Urban % AUTHORS: K. Leptokaropoulos, S. Lasocki and P. Urban,
% based on functions originally developed by S. Lasocki (Lasocki and Papadimitriou, 2006)
% last updated: 03/2019, within SERA PROJECT, EU Horizon 2020 R&I % last updated: 03/2019, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v2.8 **** [Wrapper Standalone Version] % CURRENT VERSION: v2.8 **** [Wrapper Standalone Version]

View File

@ -2,6 +2,7 @@
% VERSION: V_1.0 [Interactive Standalone Version] % VERSION: V_1.0 [Interactive Standalone Version]
% LAST UPDATED: September 2019 % LAST UPDATED: September 2019
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" and "Image Processing" Matlab Toolbox installed
% TOOLBOX: "Hazard Analysis Toolbox" within SERA Project % TOOLBOX: "Hazard Analysis Toolbox" within SERA Project
% DOCUMENT: "READ_ME_SHAPE_ver1.pdf" % DOCUMENT: "READ_ME_SHAPE_ver1.pdf"
% -------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------
@ -21,8 +22,9 @@
% OVERVIEW:THE PROGRAM takes as input a Seismic and optionally, a Production data parameters files to provides Seismic % OVERVIEW:THE PROGRAM takes as input a Seismic and optionally, a Production data parameters files to provides Seismic
% Hazard Assessment for specified time-windows after filtering appropriately the data following User's specifications. % Hazard Assessment for specified time-windows after filtering appropriately the data following User's specifications.
% -------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos, % AUTHORS: K. Leptokaropoulos and S. Lasocki
% Last Updated: 09/2019, within SERA PROJECT, EU Horizon 2020 R&I % Based on magnitude distribution and stationary hazard parameters estimation functions originally developed by S. Lasocki
% Last Updated: 01/2020, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v1.0 **** [INTERACTIVE STANDALONE VERSION!!] % CURRENT VERSION: v1.0 **** [INTERACTIVE STANDALONE VERSION!!]
%% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -2,12 +2,12 @@
% VERSION: V_2.0 [Wrapper (fast) Standalone Version] % VERSION: V_2.0 [Wrapper (fast) Standalone Version]
% LAST UPDATED: September 2019 % LAST UPDATED: September 2019
% COMPATIBLE with Matlab version 2017b or later % COMPATIBLE with Matlab version 2017b or later
% REQUIREMENTS: "Statistics and Machine Learning" Matlab Toolbox installed
% TOOLBOX: "Hazard Analysis Toolbox" within SERA Project % TOOLBOX: "Hazard Analysis Toolbox" within SERA Project
% DOCUMENT: "READ_ME_SHAPE_ver2.docx" % DOCUMENT: "READ_ME_SHAPE_ver2.docx"
% -------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------
% Time-and-Technology Dependent Seismic Hazard Assessment (SHA) % Time-and-Technology Dependent Seismic Hazard Assessment (SHA)
% -------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------
% INPUT:
% !!! ---------------------------- INPUT DATA REQUIREMENTS ----------------------------- !!! % !!! ---------------------------- INPUT DATA REQUIREMENTS ----------------------------- !!!
% the program works with ASCII input data files (e.g. *.txt). The files needed are: % the program works with ASCII input data files (e.g. *.txt). The files needed are:
% > File with the parameters of seismic data [mandatory] % > File with the parameters of seismic data [mandatory]
@ -21,8 +21,9 @@
% OVERVIEW:THE PROGRAM takes as input a Seismic and optionally, a Production data parameters files to provides Seismic % OVERVIEW:THE PROGRAM takes as input a Seismic and optionally, a Production data parameters files to provides Seismic
% Hazard Assessment for specified time-windows, following User's specifications. % Hazard Assessment for specified time-windows, following User's specifications.
% -------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------
% AUTHORS: K. Leptokaropoulos, % AUTHORS: K. Leptokaropoulos and S. Lasocki
% Last Updated: 09/2019, within SERA PROJECT, EU Horizon 2020 R&I % Based on magnitude distribution and stationary hazard parameters estimation functions originally developed by S. Lasocki
% Last Updated: 01/2020, within SERA PROJECT, EU Horizon 2020 R&I
% programme under grant agreement No.730900 % programme under grant agreement No.730900
% CURRENT VERSION: v2.0 **** [WRAPPER (fast) STANDALONE VERSION!!] % CURRENT VERSION: v2.0 **** [WRAPPER (fast) STANDALONE VERSION!!]
%% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -100,7 +101,6 @@
% the terms of the GNU General Public License as published by the % the terms of the GNU General Public License as published by the
% Free Software Foundation, either version 3 of the License, or % Free Software Foundation, either version 3 of the License, or
% (at your option) any later version. % (at your option) any later version.
%
% This program is distributed in the hope that it will be useful, but % This program is distributed in the hope that it will be useful, but
% WITHOUT ANY WARRANTY; without even the implied warranty % WITHOUT ANY WARRANTY; without even the implied warranty
% of MERCHANTABILITY or FITNESS FOR A PARTICULAR % of MERCHANTABILITY or FITNESS FOR A PARTICULAR
@ -110,7 +110,7 @@
clc;clear; clc;clear;
close all; close all;
% PLEASE SET INPUT ARGUMENTS [LINES 115-130] % PLEASE SET INPUT ARGUMENTS [LINES 115-131]
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SEIS_DATA='ST2_SEIS_Data.txt'; % Seismic Data File - NOTE: SEIS_DATA=[] is valid as well SEIS_DATA='ST2_SEIS_Data.txt'; % Seismic Data File - NOTE: SEIS_DATA=[] is valid as well
SEIS_FIELDS='ST2_SEIS_Fields.txt'; % Seismic Data Fields File SEIS_FIELDS='ST2_SEIS_Fields.txt'; % Seismic Data Fields File