Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boolean and Lazy masks can return arrays without data #147

Merged
merged 3 commits into from
Sep 16, 2014

Conversation

keflavich
Copy link
Contributor

masks' _include should be able to operate without data being given

(masks are defined with or without data to mask)
@keflavich
Copy link
Contributor Author

The next step would be to make masks behave like numpy arrays when used to index, e.g.:
np.array(...)[mask]

keflavich added a commit that referenced this pull request Sep 16, 2014
Boolean and Lazy masks can return arrays without `data`
@keflavich keflavich merged commit 2a46d5b into radio-astro-tools:master Sep 16, 2014
@keflavich keflavich deleted the masks_to_array branch September 16, 2014 06:10
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