Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2021-04-13 20:45:37
Size: 4047
Editor: PJJung
Comment:
Revision 6 as of 2021-04-14 14:25:49
Size: 2117
Editor: PJJung
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Instollation == == Installation ==
Line 49: Line 49:
active_segment_only = no
show_additional_plots = no
Line 87: Line 89:
usage: cagmon [-h] [-v] [-c CONFIG]

optional arguments:
  -h, --help show this help message and exit
  -v, --version Show version of CAGMon
  -c CONFIG, --config CONFIG
                        the path of CAGMon configuration file
Line 91: Line 100:
== Run the CAGMon etude ==
{{{
[CAGMon@USER CAGMonEtude]$ cagmon --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
}}}
== Example of Run the CAGMon etude ==
{{attachment:ScreenShot.png || width=1024}}

Installation

  • git url will open

[CAGMon@USER ~]$ git clone https://github.com/pjjung/cagmon.git
[CAGMon@USER ~]$ cd cagmon
[CAGMon@USER ~]$ python setup.py install
  • pip install will be supported

[CAGMon@USER ~]$ pip install cagmon

Syntax of configuration files

  • Full configurations

[GENERAL]
gps_start_time = 1234500000
gps_end_time = 1234599968
stride = 64
active_segment_only = no
show_additional_plots = no

[PREPROSECCING]
datasize = 1024
whitening = no
rms = no
filter_type = bandpass
frequency1 = 10
frequency2 = 1000

[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
  • Essential configurations

[GENERAL]
gps_start_time = 1234500000
gps_end_time = 1234599968
stride = 512
active_segment_only = no
show_additional_plots = no

[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

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

[CAGMon@USER ~]$ cagmon --version
0.8.0
[CAGMon@USER ~]$ cagmon --help
usage: cagmon [-h] [-v] [-c CONFIG]

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         Show version of CAGMon
  -c CONFIG, --config CONFIG
                        the path of CAGMon configuration file

Example of Run the CAGMon etude

ScreenShot.png

PJJung/CAGMonEtude/userguide2 (last edited 2021-07-28 08:43:43 by PJJung)