is_map
- erwans3.Astro_tools.is_map(x: Any) bool
Check if the input object represents a map.
- Parameters:
x (Any) – The object to be checked.
- Returns:
True if the object is an instance of a subclass of PixList or an instance of SHCoeff, False otherwise.
- Return type:
Notes
This function checks whether the input object is a map-like object, which includes instances of subclasses of PixList or instances of SHCoeff, representing pixelized data or spherical harmonic coefficients, respectively.