Skip to content
Snippets Groups Projects
Commit 4d8cc897 authored by Colm Talbot's avatar Colm Talbot
Browse files

change imports, set up default BBH prior

parent 5f008ac6
No related branches found
No related tags found
1 merge request!59Updating priors
import logging
from tupak.core import prior
from tupak.core.prior import *
class CBCPriorSet(prior.PriorSet):
class BBHPriorSet(PriorSet):
def __init__(self, dictionary=None, filename=None):
prior.PriorSet.__init__(dictionary=dictionary, filename=filename)
if dictionary is None and filename is None:
filename = os.path.join(os.path.dirname(__file__), 'prior_files', 'binary_black_holes.prior')
logging.info('No prior given, using default BBH priors in {}.'.format(filename))
PriorSet.__init__(dictionary=dictionary, filename=filename)
self.test_redundancy = test_cbc_redundancy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment