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

Add a 'quicklook' viewer for slices #131

Merged
merged 4 commits into from
Aug 26, 2014

Conversation

keflavich
Copy link
Contributor

Add an aplpy-based quicklook tool. E.g.:

cube = SpectralCube.read('cube.fits')
cube[50,:,:].quicklook()
cube[25:50,:,:].sum(axis=0).quicklook()
cube.spectral_slab(0*u.km/u.s, 10*u.km/u.s).quicklook()

@keflavich
Copy link
Contributor Author

I'm not adding tests for this since it is matplotlib-related and fairly basic. If anyone has a good idea for a test that should be written for this, please add it!

keflavich added a commit that referenced this pull request Aug 26, 2014
Add a 'quicklook' viewer for slices
@keflavich keflavich merged commit d1d922f into radio-astro-tools:master Aug 26, 2014
@keflavich keflavich deleted the quicklook branch August 26, 2014 11:48
@astrofrog
Copy link
Member

I wonder whether it would make more sense to use WCSAxes here? What do you think?

@keflavich
Copy link
Contributor Author

Sure - I'm just not as familiar with it yet. Can easily be swapped in.

@astrofrog
Copy link
Member

@keflavich - ok, I'll do it at some point soon.

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.

2 participants