Skip to content

Commit

Permalink
Merge branch 'tickets/DM-41791'
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Nov 30, 2023
2 parents e0aac6f + bba2267 commit 59f6a91
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions python/lsst/ip/isr/brighterFatterKernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ def fromDict(cls, dictionary):

calibVersion = dictionary['metadata']['bfk_VERSION']
if calibVersion == 1.0:
calib.log.info("Old Version of brighter-fatter kernel found. Current version: "
f"{calib._VERSION}. The new attribute 'expIdMask' will be "
"populated with 'True' values, and the new attributes 'rawMeans' "
"and 'rawVariances' will be populated with the masked 'means' "
"and 'variances' values."
)
calib.log.debug("Old Version of brighter-fatter kernel found. Current version: "
f"{calib._VERSION}. The new attribute 'expIdMask' will be "
"populated with 'True' values, and the new attributes 'rawMeans' "
"and 'rawVariances' will be populated with the masked 'means' "
"and 'variances' values."
)
# use 'means', because 'expIdMask' does not exist.
calib.expIdMask = {amp: np.repeat(True, len(dictionary['means'][amp])) for amp in
dictionary['means']}
Expand Down

0 comments on commit 59f6a91

Please sign in to comment.