Skip to content

Fixed numpy chained indexing bug#21

Open
dpieterse wants to merge 1 commit into
pmvreeswijk:mainfrom
dpieterse:main
Open

Fixed numpy chained indexing bug#21
dpieterse wants to merge 1 commit into
pmvreeswijk:mainfrom
dpieterse:main

Conversation

@dpieterse

Copy link
Copy Markdown
Contributor

Due to an indexing bug, a copy of the mask was updated instead of the mask_rej itself. This resulted in no pixels being discarded in the optimal photometry for sources with S/N <= 100 with too many outlier pixels, rather than rejecting the fraction of pixels with the highest deviation. This bug caused (seeing-dependent) jumps in light curves.

Due to an indexing bug, a copy of the mask was updated instead of
the mask_rej itself. This resulted in no pixels being discarded in
the optimal photometry for sources with S/N <= 100 with too many
outlier pixels, rather than rejecting the fraction of pixels with
the highest deviation. This bug caused (seeing-dependent) jumps in
light curves.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant