C. APS Viewer and Compare - nmik/Xgam GitHub Wiki

By running the cross-correlation routine (see Sec. 6 or type bin/mkcrosscorrelation.py -h) you'll create a new output file that will end as "_crosscorrelation.txt" in your output folder.

APSviewer.py

You can now quickly visualize the content of the file (namely the APS stored) with the following routine:

>>> python bin/APSviewer.py -f <custom_name>_crosscorrelation.txt --title 'Title of the plot' --xscale log

You can run python bin/APSviewer.py -h for more details about the options.

APScompare.py

You can also compare the content of two cross-correlation output files by running the following routine:

>>> python bin/APScompare.py -f <custom_name_1>_crosscorrelation.txt <custom_name_2>_crosscorrelation.txt --labels 'label 1' 'label 2' --title 'Title of the plot' --xscale log 

You can run python bin/APScompare.py -h for more details about the options.

ATT: This will work only if the two files have the same number of APS stored.