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

Prevent "promotion" during operations #786

Open keflavich opened 2 years ago

keflavich commented 2 years ago

One of the performance bottleneck issues is that sometimes data types get promoted (e.g., from float32 -> float64). We should have a workflow demo / mechanisms in place to prevent this, since it will result in doubling cube sizes.