GalacticDNSMass

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

commit 562bef190eb2913610b8e5cb716d05c3ac1d3579
parent f5072f60d948a38368b521640cfcbfd28937b490
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Thu,  7 Feb 2019 00:45:40 +1100

README changes & code consistency

Diffstat:
MmainCode/README.md | 6++++--
MmainCode/hypothesisA.py | 2+-
MmainCode/hypothesisB.py | 2+-
Amodels.pyc | 0
4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/mainCode/README.md b/mainCode/README.md @@ -35,10 +35,12 @@ Sampling using a specific model (or model pairs) can be done through calling Which runs hypothesis B for the 3rd model pair (single - uniform). -## Running Jobs with Condor +## Distributed Computing 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. -The method of providing a number argument to the code allows for easy batch running of the script. `python3 hypothesisA.py [1-3]`. +The method of providing a number argument to the code allows for easy batch running of the script. +`python3 hypothesisA.py [1-3]`. +`python3 hypothesisB.py [1-9]`. ## Basic analysis of output `python3 hypothesisAnalyse.py A hypothesisA_out/` diff --git a/mainCode/hypothesisA.py b/mainCode/hypothesisA.py @@ -151,7 +151,7 @@ if not os.path.exists(directoryName): os.makedirs(directoryName) # Run pymultinest sampling -pymultinest.run(likelihood, prior, ndim, n_live_points=100, sampling_efficiency=0.3, importance_nested_sampling=False, outputfiles_basename=directoryName + '/', resume=False, verbose=True) +pymultinest.run(likelihood, prior, ndim, n_live_points=1000, sampling_efficiency=0.3, importance_nested_sampling=False, outputfiles_basename=directoryName + '/', resume=False, verbose=True) print("Code took {} seconds to run.".format(datetime.now() - startTime)) print("Exiting!") diff --git a/mainCode/hypothesisB.py b/mainCode/hypothesisB.py @@ -187,7 +187,7 @@ if not os.path.exists(directoryName): os.makedirs(directoryName) # Run pymultinest sampling -pymultinest.run(likelihood, prior, ndim, n_live_points=100, sampling_efficiency=0.3, importance_nested_sampling=False, outputfiles_basename=directoryName + '/', resume=False, verbose=True) +pymultinest.run(likelihood, prior, ndim, n_live_points=1000, sampling_efficiency=0.3, importance_nested_sampling=False, outputfiles_basename=directoryName + '/', resume=False, verbose=True) print("Code took {} seconds to run.".format(datetime.now() - startTime)) print("Exiting!") diff --git a/models.pyc b/models.pyc Binary files differ.