ndcube icon indicating copy to clipboard operation
ndcube copied to clipboard

Scoping out example gallery

Open hayesla opened this issue 3 years ago • 4 comments

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!):

  • [x] 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 avatar Aug 26 '22 16:08 hayesla

@wtbarnes @murphp30 if you have any ideas!

hayesla avatar Aug 26 '22 16:08 hayesla

I'm working on the first one at the moment

hayesla avatar Aug 26 '22 16:08 hayesla

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 😬

murphp30 avatar Aug 30 '22 12:08 murphp30

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

wtbarnes avatar Aug 30 '22 13:08 wtbarnes