Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnitz committed Oct 7, 2024
1 parent 1ab6815 commit da4f732
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pycbc/inference/sampler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

"""
This modules provides a list of implemented samplers for parameter estimation.
This module provides a list of implemented samplers for parameter estimation.
"""

import logging
Expand All @@ -26,7 +26,7 @@
from .dummy import DummySampler
from .refine import RefineSampler
from .snowline import SnowlineSampler
from .netbank import NetBank
from .games import GameSampler

# list of available samplers
samplers = {cls.name: cls for cls in (
Expand All @@ -35,7 +35,7 @@
DummySampler,
RefineSampler,
SnowlineSampler,
NetBank,
GameSampler,
)}

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def call_rlikelihood(params):
class OutOfSamples(Exception):
pass

class NetBank(DummySampler):
class GameSampler(DummySampler):
"""Direct monte-carlo sampler using a preconstructed parameter space
mapping file.
Expand All @@ -42,7 +42,7 @@ class NetBank(DummySampler):
model : Model
An instance of a model from ``pycbc.inference.models``.
"""
name = 'net_bank'
name = 'games'

def __init__(self, model, *args, nprocesses=1, use_mpi=False,
mapfile=None,
Expand Down

0 comments on commit da4f732

Please sign in to comment.