GalacticDNSMass

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

README.md (1886B)


      1 ## Prerequisites
      2 Everthing should be already installed except for pymultinest. This is installed under the home directory (`cd ~`) the following commands:
      3 
      4 `git clone https://github.com/JohannesBuchner/PyMultiNest/`
      5 
      6 `cd PyMultiNest`
      7 
      8 `python3 setup.py install --user`
      9 
     10 Then cd back to the top directory above PyMutliNest
     11 
     12 `git clone https://github.com/JohannesBuchner/MultiNest`
     13 
     14 `cd MultiNest/build`
     15 
     16 `cmake ..`
     17 
     18 `make`
     19 
     20 The hard part is getting pymultinest to recognise multinest. One of these should do the job...
     21 
     22 `echo 'export LD_LIBRARY_PATH=/home/nicholas.farrow/MultiNest/lib/:$LD_LIBRARY_PATH'`
     23 
     24 `echo 'export LD_LIBRARY_PATH=/home/FIRSTNAME.LASTNAME/MultiNest/lib/:$LD_LIBRARY_PATH' >>~/.bashrc`
     25 
     26 Check if this worked by using `python3` then `import pymultinest`. If nothing shows up then everthing is working.
     27 
     28 
     29 ## Individual Sampling
     30 This should be done first to check that all the required packages are installed (especially pymultinest).
     31 Sampling using a specific model (or model pairs) can be done through calling
     32 
     33 `python3 hypothesisB.py 3`
     34 
     35 Which runs hypothesis B for the 3rd model pair (single - uniform).
     36 
     37 
     38 ## Distributed Computing
     39 As sampling can take very long periods of time (12 combinations of sub-hypotheses ranging between 2 and 7 parameters), it is required that sampling be done through a distributed computing system. 
     40 The method of providing a number argument to the code allows for easy batch running of the script.
     41 
     42 `python3 hypothesisA.py [1-3]`.
     43 
     44 `python3 hypothesisB.py [1-9]`.
     45 
     46 ##  Basic analysis of output
     47 These scripts analyse the evidence for all of the 9 or 3 sub-hypotheses, and also aggregate a total evidence for each hypothesis A and B.
     48 
     49 `python3 hypothesisAnalyse.py A hypothesisA_out/`
     50 
     51 `python3 hypothesisAnalyse.py B hypothesisB_out/`
     52 
     53 This creates files like evidence lists, relative evidence tables and totals, and also latex tables.