def aoi(self, **kwargs):
g = self._parse_geoms(**kwargs)<EOL>if g is None:<EOL><INDENT>return self<EOL><DEDENT>else:<EOL><INDENT>return self[g]<EOL><DEDENT>
Subsets the Image by the given bounds

        Args:
            bbox (list): optional. A bounding box array [minx, miny, maxx, maxy]
            wkt (str): optional. A WKT geometry string
            geojson (str): optional. A GeoJSON geometry dictionary

        Returns:
            image: an image instance of the same type