Differences between revisions 21 and 22
Revision 21 as of 2021-02-07 14:08:08
Size: 3399
Editor: PJJung
Comment:
Revision 22 as of 2021-07-28 08:42:33
Size: 3
Editor: PJJung
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Required scripts and files ==
{{{
[CAGMon@USER CAGMonEtude]$ ls
CAGMonEtude.py
Agrement.py
Melody.py
Conchord.py
Echo.py
Configuration.ini
Channel_List.lst
}}}

== Syntax of configuration files ==
{{{
[GENERAL]
gps_start_time = 1234500000
gps_end_time = 1234599968
sampling_rate = 1024
normalized = yes
whitening = no
active_segment_only = yes
show_additional_plots = yes

[SEGMENT]
defined_condition = K1:GRD-LSC_LOCK_STATE_N == 1000

[CHANNELS]
main_channel = K1:CAL-CS_PROC_C00_STRAIN_DBL_DQ
aux_channels_file_path = /path/to/channel/list/file

[INPUT AND OUTPUT PATHS]
frame_files_path = /path/to/frame/file/folder
output_path = /path/to/output/folder

[MIC]
mic_alpha = 0.6
mic_c = 15

[TREND]
stride = 10
}}}

== Syntax of Channel list files ==
==== Type 1 ====
{{{
K1:AUX_CHANNEL_NAME_1
K1:AUX_CHANNEL_NAME_2
K1:AUX_CHANNEL_NAME_3
.
.
.
}}}
==== Type 2 ====
{{{
K1:AUX_CHANNEL_NAME_1 SAMPLE_RATE
K1:AUX_CHANNEL_NAME_2 SAMPLE_RATE
K1:AUX_CHANNEL_NAME_3 SAMPLE_RATE
.
.
.
}}}

== Execute the CAGMon etude script ==
{{{
[CAGMon@USER CAGMonEtude]$ python CAGMonEtude.py --config Configuration.ini


     ,-----. ,---. ,----. ,--. ,--. ,--. ,--.
    ' .--./ / O \ ' .-./ | `.' | ,---. ,--,--, ,---. ,-' '-.,--.,--. ,-| | ,---.
    | | | .-. || | .---.| |'.'| || .-. || \ | .-. :'-. .-'| || |' .-. || .-. :
    ' '--'\| | | |' '--' || | | |' '-' '| || | \ --. | | ' '' '\ `-' |\ --.
     `-----'`--' `--' `------' `--' `--' `---' `--''--' `----' `--' `----' `---' `----'

    
[Configuration Information]
 Start GPS time: 1234500000
 End GPS time: 1234599968
 Main channels: K1:CAL-CS_PROC_C00_STRAIN_DBL_DQ
 Sampling rate: 1024Hz
 Normalizing option: yes
 Whitening option: no
 Active segment only option: yes
 Defined segment condition: K1:GRD-LSC_LOCK_STATE_N == 1000
 MIC parameter Alpha: 0.6
 MIC parameter c: 15.0
 Coefficient trend stride: 10.0 seconds
[Computing Resources]
 Given CPUs: 12 cores
 Given memory: 23.3727874756 GB
[Configuration Validation Check]
 [OK] Cache
 [OK] Main channel
 [OK] Aux-channel
 [OK] Segment
[Process Begins]
Reading segment information...
Calculating each coefficient...
# Segment[1/9996]: 1234500000 - 1234500010 (stride: 10 seconds)
# Flagged semgnet: active
Calculating PCC coefficients...
PCC
 Channel: K1:AUX_CHANNEL_NAME_1
 Value: 0.0196410830996
.
.
.
Calculating Kendall coefficients...
Kendall
 Channel: K1:AUX_CHANNEL_NAME_1
 Value: 0.00749314591615
.
.
.
Calculating MIC coefficients...
MIC
 Channel: K1:AUX_CHANNEL_NAME_1
 Value: 0.228869773591
.
.
.
Plotting BNS range, ASD, and spectrogram based on given time duration...
Saved BNS range plot: K1:CAL-CS_PROC_C00_STRAIN_DBL_DQ
Saved ASD plot: K1:CAL-CS_PROC_C00_STRAIN_DBL_DQ
Saved Spectrogram plot: K1:CAL-CS_PROC_C00_STRAIN_DBL_DQ
Plotting coefficient trend...
Saved Trend plot: K1:AUX_CHANNEL_NAME_1
.
.
.
Plotting coefficient distribution trend...
Saved Distribution Trend plot: MIC
Saved Distribution Trend plot: PCC
Saved Distribution Trend plot: Kendall
Plotting Scatter and OmegaScan plots...
Saved Scatter plot: K1:AUX_CHANNEL_NAME_1
Saved OmegaScan plot: K1:AUX_CHANNEL_NAME_1
.
.
.
Saved HTML file
DONE
}}}
 

PJJung/CAGMonEtude/userguide (last edited 2021-07-28 08:42:33 by PJJung)