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

Make SpectralCube operate more like a numpy array in some ways #230

Merged
merged 5 commits into from
Aug 15, 2015

Conversation

keflavich
Copy link
Contributor

This PR does two things:

  1. Provide the 'base' of self so that things like joblib can operate on
    spectral cubes, understanding that they are memmaps.
  2. For a related reason, lower dimensional slices should return _data[view],
    not filled_data[view], BUT this doesn't provide the right functionality so we
    want lower dimensional objects to implement their own cubelike masking

The TODO list:

  • Implement masking for lower-dimensional objects
  • Test the base

@keflavich keflavich force-pushed the provide_base branch 2 times, most recently from a207918 to 78b8dfc Compare August 15, 2015 21:32
spectral cubes, understanding that they are memmaps.
For a related reason, lower dimensional slices should return
_data[view], not filled_data[view], BUT this doesn't provide the right
functionality so we want lower dimensional objects to implement their
own cubelike masking
@keflavich
Copy link
Contributor Author

assuming this passes, I'll merge it, and the lower-dimensional masking will get put off to a different issue

keflavich added a commit that referenced this pull request Aug 15, 2015
Make SpectralCube operate more like a numpy array in some ways
@keflavich keflavich merged commit 09e20d8 into radio-astro-tools:master Aug 15, 2015
@keflavich keflavich deleted the provide_base branch August 15, 2015 21:59
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