Revision 60719d2840fb86a1ce1e511193f5c65c05754f8c authored by Alex Nitz on 22 August 2017, 15:39:31 UTC, committed by Collin Capano on 22 August 2017, 15:39:31 UTC
* allow to work with scalars as well * lambda_tilde conversion
1 parent 72df8cd
sampler.py
# Copyright (C) 2016 Christopher M. Biwer
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# =============================================================================
#
# Preamble
#
# =============================================================================
#
"""
This modules provides a list of implemented samplers for parameter estimation.
"""
import numpy
from pycbc.inference.sampler_kombine import KombineSampler
from pycbc.inference.sampler_emcee import EmceeEnsembleSampler, EmceePTSampler
# list of available samplers
samplers = {
KombineSampler.name : KombineSampler,
EmceeEnsembleSampler.name : EmceeEnsembleSampler,
EmceePTSampler.name : EmceePTSampler,
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...