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

Scoping out example gallery #543

Open
1 of 6 tasks
hayesla opened this issue Aug 26, 2022 · 4 comments
Open
1 of 6 tasks

Scoping out example gallery #543

hayesla opened this issue Aug 26, 2022 · 4 comments

Comments

@hayesla
Copy link
Member

hayesla commented Aug 26, 2022

As discussed at the sunpy coordination meeting it would be good to have some examples on the ndcube docs to show all the fabulous things ndcube can do

This issue is a place where some ideas can be suggested and collated.

So far something along the lines (please say if these are bad and please add some more!):

  • How to create a NDCube from a FITS file
  • Creating an NDCube/NDCube sequence with a data cube/data sequence
  • creating gWCS using Extracoords
  • How to slice and plot a NDCube
  • How to crop an NDCube (by index and coords)
  • .....

Please add some more here so that we can have some actionable items!

@hayesla
Copy link
Member Author

hayesla commented Aug 26, 2022

@wtbarnes @murphp30 if you have any ideas!

@hayesla
Copy link
Member Author

hayesla commented Aug 26, 2022

I'm working on the first one at the moment

@murphp30
Copy link

I'm inadvertently working on "Creating an NDCube/NDCube sequence with a data cube/data sequence" at the moment, see #542.
I wonder should there be something like "How to do this common task with NDCube and why it's better/more efficient/more fun"? I've no idea how it would work beyond the title though 😬

@wtbarnes
Copy link
Member

That initial list covers most of the use cases I was initially thinking about.

Re: How to slice and plot a NDCube, I think this should include the following points

  • Adjusting aspect ratio
  • Changing plot_axes
  • Changing the units of the axes
  • Changing the units of the thing we are plotting

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

No branches or pull requests

3 participants