radio-astro-tools / spectral-cube

Library for reading and analyzing astrophysical spectral data cubes
http://spectral-cube.rtfd.org
BSD 3-Clause "New" or "Revised" License
95 stars 62 forks source link

Inherit from ndcube #808

Open keflavich opened 2 years ago

keflavich commented 2 years ago

WIP: let's just see what happens if we try this.

keflavich commented 2 years ago

@cadair let's see if we can't get this working.

keflavich commented 2 years ago

the cube side looks like it probably works fine, the problem is the slices (which... frankly were a little of a problem anyway... so if we can get the labor to put into this, it would be great to follow through on the refactor...)

keflavich commented 2 years ago

Tests are definitely not passing!!

Open question: ndcube uses __init__ instead of __new__.