def as_imagecoord(self, header):
comment_list = self._comment_list<EOL>if comment_list is None:<EOL><INDENT>comment_list = cycle([None])<EOL><DEDENT>r = RegionParser.sky_to_image(zip(self, comment_list),<EOL>header)<EOL>shape_list, comment_list = zip(*list(r))<EOL>return ShapeList(shape_list, comment_list=comment_list)<EOL>
New shape list in image coordinates.

        Parameters
        ----------
        header : `~astropy.io.fits.Header`
            FITS header

        Returns
        -------
        shape_list : `ShapeList`
            New shape list, with coordinates of the each shape
            converted to the image coordinate using the given header
            information.