build_spaxels_from_config

build_spaxels_from_config#

build_spaxels_from_config(config)[source]#

Build spaxel coordinates from a configuration dictionary.

Parameters:

config (dict) – Configuration dictionary, containing (possibly nested) the "spatial_shape" and "spatial_scale" (in arcsec) entries.

Returns:

dict – Spaxel information, with keys "shape" (spaxel grid shape) and "spx_scale" (spaxel size in arcsec).