find_grid_limits¶
-
FITS_tools.cube_regrid.find_grid_limits(grid)[source] [edit on github]¶ Determine the min/max of each dimension along a grid returned by
get_cube_mapping. These parameters can be used to slice a cube prior to passing it to, e.g.,scipy.ndimage.map_coordinatesto reduce the memory use