Closed cdeil closed 10 years ago
OK, so basically there's only one algorithm available for cubes ... it's just exposed by different wrappers with different input / output.
Thanks for adding these docs!
Another thing that could be added is the Returns
section for regrid_cube
Oi, yeah, that's needed. As you said, there's only one in FITS_tools, but the montage-wrapper approach is genuinely different (it's a trivial/naive approach: just run the default montage wrapper on each plane). I thought I had parallelized that once... but I can't find the code so maybe I'm deluding myself.
:+1: Thanks!
@ellisowen and I need code to reproject Galactic diffuse emission cubes in
gammapy
. So far we have been using KapteynFITSFigure.reproject_to
, but there are installation issues with Kapteyn and it hasn't been updated in a long time, so we want to switch to use yours.Can you add a few sentences to the docs what the difference between
regrid_cube
andhcongrid
andhastron
is so that people like us don't have to read the code or try them out to see which one is appropriate for which application?(we want flux-conserving at the 1% level but don't care too much about what exactly happens to small-scale structures)