remap¶
-
sitelle.region.remap(map, binMap=None, binsize=None, original_shape=None)¶ Used to remap a binned map on a full map User has to provide either a binMap, or a binsize and an original shape
Parameters: - map (2D
ndarray) – The binned data map - binMap (2D
ndarray) – a map of original size filled with indices corresponding to the bin number in the binned map. Not needed ifbinsizeandoriginal_shapeare provided. - binsize (int) – The binning size used.
original_shapemust be given as well - original_shape (tuple of int) – The original shape (x,y).
Returns: full_map – The full map containing the unbinned data
Return type: 2D
ndarray- map (2D