question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Numpy dev error: indexing with boolean problems in sigma_clip

See original GitHub issue

Current builds with numpy-dev are failing for several tests of sigma_clip. See, e.g., https://travis-ci.org/astropy/astropy/jobs/157213150

I haven’t looked very carefully at what happens, but it may be that some of these are problems in MaskedArray rather than our routines. In that case, we should report upstream…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
mhvkcommented, Sep 4, 2016

@MSeifert04 - thanks for investigating. It seems clear this is an upstream problem, so I labelled it as such.

Your numpy issue: https://github.com/numpy/numpy/issues/8015 Possible fix: https://github.com/numpy/numpy/pull/8016

0reactions
mhvkcommented, Sep 6, 2016

Yes, indeed! I was still looking at ChainMap so forgot to close this one… But will do so now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Numpy boolean indexing issue - python
looks like numpy has trouble dealing with list of boolean s. n = 10 arr = np.array(range(n)) selection = [i % 2 ==...
Read more >
9. Numpy: Boolean Indexing | Numerical Programming
It is called fancy indexing, if arrays are indexed by using boolean or integer arrays (masks). The result will be a copy and...
Read more >
NumPy Boolean Indexing
You can index specific values from a NumPy array using another NumPy array of Boolean values on one axis to specify the indices...
Read more >
Source code for astropy.stats.funcs
Source code for astropy.stats.funcs. # Licensed under a 3-clause BSD style license - see LICENSE.rst """ This module contains simple statistical algorithms ...
Read more >
SciPy Reference Guide - Numpy and Scipy Documentation
SciPy is a collection of mathematical algorithms and convenience functions built on the Numpy extension of Python. It.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found