Skip to content

Commit

Permalink
Merge pull request #18 from erykoff/fixegrayref
Browse files Browse the repository at this point in the history
Fix the computation of E_gray with reference stars.
  • Loading branch information
erykoff committed Sep 1, 2021
2 parents dc51cef + de99b0a commit 8a8c348
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fgcm/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '3.6.6'
__version__ = '3.6.7'

__version_info__ = __version__.split('.')
4 changes: 2 additions & 2 deletions fgcm/fgcmStars.py
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ def applyAbsOffset(self, deltaAbsOffset):
gdMeanStar, gdMeanBand = np.where(objMagStdMean[goodStars, :] < 90.0)
objMagStdMean[goodStars[gdMeanStar], gdMeanBand] -= deltaAbsOffset[gdMeanBand]

def computeEGray(self, goodObs, ignoreRef=False, onlyObsErr=False):
def computeEGray(self, goodObs, ignoreRef=True, onlyObsErr=False):
"""
Compute the delta-mag between the observed and true value (EGray) for a set of
observations (goodObs).
Expand All @@ -1417,7 +1417,7 @@ def computeEGray(self, goodObs, ignoreRef=False, onlyObsErr=False):
----------
goodObs: `np.array`
Array of indices of good observations
ignoreRef: `bool`, default=False
ignoreRef: `bool`, default=True
Ignore reference stars.
onlyObsErr: `bool`, default=False
Only use the observational error (for non-ref stars)
Expand Down

0 comments on commit 8a8c348

Please sign in to comment.