Skip to content

Fix determining the number of sources in psfvary.py - #374

Open
AlexKurek wants to merge 1 commit into
lofar-astron:masterfrom
AlexKurek:Fix-determining-the-number-of-sources-in-psfvary-py
Open

Fix determining the number of sources in psfvary.py#374
AlexKurek wants to merge 1 commit into
lofar-astron:masterfrom
AlexKurek:Fix-determining-the-number-of-sources-in-psfvary-py

Conversation

@AlexKurek

Copy link
Copy Markdown
Contributor

It is a boolean array, so len() will count both flagged and unflagged sources. sum() will count only the unflagged ones.

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