Skip to content

Commit

Permalink
fix bug in rhoStatistics call to treat shearConvention as keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
edennihy committed Nov 16, 2021
1 parent 644a48b commit 29b3f41
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions python/lsst/faro/utils/tex.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,17 +458,15 @@ def calculateTEx(data: List[CalibratedCatalog], config):
nMinSources = 50
if np.sum(selection) < nMinSources:
return {"nomeas": np.nan * u.Unit("")}

import pdb; pdb.set_trace()


treecorrKwargs = dict(
nbins=config.nbins,
min_sep=config.minSep,
max_sep=config.maxSep,
sep_units="arcmin",
)
rhoStatistics = RhoStatistics(
config.column, config.columnPsf, config.shearConvention, **treecorrKwargs
config.column, config.columnPsf, shearConvention=config.shearConvention, **treecorrKwargs
)
xy = rhoStatistics(catalog[selection])[config.rhoStat]

Expand Down

0 comments on commit 29b3f41

Please sign in to comment.