Skip to content

Commit

Permalink
improved performance for predict, added multi-processing support for …
Browse files Browse the repository at this point in the history
…tabulate
  • Loading branch information
johannesulf committed Aug 16, 2021
1 parent 3b24cca commit 8528f5b
Show file tree
Hide file tree
Showing 5 changed files with 259 additions and 120 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ from halotools.mock_observables import wp
from halotools.empirical_models import PrebuiltHodModelFactory
from tabcorr import TabCorr
# First, we tabulate the correlation functions in the halo catalog.
# First, we tabulate the correlation functions in the halo catalog. Note that
# by default, TabCorr applies redshift-space distortions (RSDs) in the
# tabulation of correlation functions.
rp_bins = np.logspace(-1, 1, 20)
halocat = CachedHaloCatalog(simname='bolplanck')
Expand Down
4 changes: 3 additions & 1 deletion scripts/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
from halotools.empirical_models import PrebuiltHodModelFactory
from tabcorr import TabCorr

# First, we tabulate the correlation functions in the halo catalog.
# First, we tabulate the correlation functions in the halo catalog. Note that
# by default, TabCorr applies redshift-space distortions (RSDs) in the
# tabulation of correlation functions.
rp_bins = np.logspace(-1, 1, 20)

halocat = CachedHaloCatalog(simname='bolplanck')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup

setup(name='tabcorr',
version='0.6.1',
version='0.7.0',
description='Tabulated correlation functions for halotools',
url='https://github.com/johannesulf/TabCorr',
author='Johannes Ulf Lange',
Expand Down
2 changes: 1 addition & 1 deletion tabcorr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .tabcorr import *

__all__ = ["TabCorr", "interpolate_predict"]
__all__ = ["TabCorr", "TabCorrInterpolation"]
Loading

0 comments on commit 8528f5b

Please sign in to comment.