From 5c3cf1ea3b9d291e4ea9cf3d9e100d588c8fc270 Mon Sep 17 00:00:00 2001 From: othocaeS Date: Fri, 1 Jul 2016 11:01:18 -0400 Subject: [PATCH] replaced src with new version again because it was unclear that all source files were up-to-date. --- src/.smhist | 47 ---------------------------------------------- src/README | 32 ------------------------------- src/check.dat | 6 ------ src/fittedlags.dat | 6 ------ src/makefile | 4 +--- src/stdafx.h | 2 -- 6 files changed, 1 insertion(+), 96 deletions(-) delete mode 100644 src/.smhist delete mode 100644 src/README delete mode 100644 src/check.dat delete mode 100644 src/fittedlags.dat delete mode 100644 src/stdafx.h diff --git a/src/.smhist b/src/.smhist deleted file mode 100644 index 439f404..0000000 --- a/src/.smhist +++ /dev/null @@ -1,47 +0,0 @@ -data check.dat -read f 1 -read pow 2 -limits f pow -box -ptype 10 3 -points f pow -quit -data check.dat -read f 1 -read pow 2 -limits f pow -ptype 10 3 -points f pow -box -quit -data check.dat -read f 1 -read pow 2 -limits f pow -box -ptype 10 3 -points f pow -set lgf = log10(f) -set lgf = alog10(f) -set lgf = lg(f) -erase -box -erase -limits lgf pow -points lgf pow -box -erase -limits lgf 0. 3. -box -points lgf pow -quit -data check.dat -read 1 f -read f 1 -read pow 2 -set lgf = lg(f) -limits lgf pow -box -ptype 10 3 -points lgf pow -quit diff --git a/src/README b/src/README deleted file mode 100644 index f095c4e..0000000 --- a/src/README +++ /dev/null @@ -1,32 +0,0 @@ - - - -To compile, modify the file makefile to so that libdir and incdir point to where -alglib library and header files are installed respectively, then run: make - - -FILES: -- README: this file -- makefile: a make file for compiling -- main.cpp: the main file, that process the input file, print help message if - needed and reads the light curves files. check readLC to see the light curve - format. -- mod.cpp: contains the class mod, which is a base class that uses the likelihood method. This on its own does nothing, but it is meant to be inherited by others, e.g. psd , lag , lag10 - etc ... It is here where the likelihood is calculated, and maximized. - -- psd.cpp: a child class of mod to calculate psds. psd10 is similar by it - calculate the log10 of psd. This is better than calculating the psd directly. - -- lag.cpp: a child class of mod to calculate cross spectra and phase lags. - similar to psd. there is also lag10 that calcualte the log10 of the cross - spectrum plus phase lag. - -- psdlag.cpp: a child class of mod to calculate psd and cross spec and phase - lag at the same time. - -- inc: contains the header files. - -- inc/mod.hpp: the header for mod.cpp. This file has the Mod class also, which - is a class that holds multiple mod's used for fitting multiple light curve - simultaneusly, each mod fits for one light curve, and the total log-likelihood - is the sum of individual likelihood (i.e. product of probabilities) diff --git a/src/check.dat b/src/check.dat deleted file mode 100644 index 0dd0f5a..0000000 --- a/src/check.dat +++ /dev/null @@ -1,6 +0,0 @@ -2.5e-5 4.681 -5.5e-5 3.358 -8.5e-5 2.911 -1.5e-4 2.650 -2.5e-4 1.864 -3.5e-4 0.605 diff --git a/src/fittedlags.dat b/src/fittedlags.dat deleted file mode 100644 index a48c299..0000000 --- a/src/fittedlags.dat +++ /dev/null @@ -1,6 +0,0 @@ -1.022e-01 9.694e-01 -3.260e-01 9.192e-01 -5.118e-01 9.776e-01 -3.254e-01 9.269e-01 -1.000e+00 9.659e-01 -1.000e+00 9.891e-01 diff --git a/src/makefile b/src/makefile index ed2ac11..7eeffac 100644 --- a/src/makefile +++ b/src/makefile @@ -2,10 +2,8 @@ #libdir='/eos/azoghbi/soft/usr/lib' #incdir='/eos/azoghbi/soft/usr/include' -libdir='/home/caes/science/psdlag-agn/src' +libdir='/home/caes/science/psdlag-agn/src/inc' incdir='/home/caes/science/psdlag-agn/src/inc' - - psdlag: g++ *cpp -o psdlag -O3 -Wall -lalglib -I${incdir} -L${libdir} diff --git a/src/stdafx.h b/src/stdafx.h deleted file mode 100644 index 99a8091..0000000 --- a/src/stdafx.h +++ /dev/null @@ -1,2 +0,0 @@ - -