psdlag-agn/src
2016-06-10 12:53:46 -04:00
..
inc moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
.smhist moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
alglibinternal.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
alglibinternal.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
alglibmisc.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
alglibmisc.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
ap.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
ap.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
check.dat moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
dataanalysis.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
dataanalysis.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
diffequations.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
diffequations.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
fasttransforms.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
fasttransforms.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
fittedlags.dat moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
integration.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
integration.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
interpolation.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
interpolation.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
lag.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
linalg.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
linalg.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
main.cpp removed debugging code after figuring out input problems causing segfault 2016-06-10 12:53:46 -04:00
makefile removed debugging code after figuring out input problems causing segfault 2016-06-10 12:53:46 -04:00
mcmc.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
mod.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
optimization.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
optimization.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
psd.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
psdlag.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
README moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
solvers.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
solvers.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
specialfunctions.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
specialfunctions.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
statistics.cpp moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
statistics.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00
stdafx.h moved psdlag and still working toward a calibration run 2016-06-10 09:48:58 -04:00



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)