def get_template(self, template_id):
        """Get a particular lightcurve template

        Parameters
        ----------
        template_id : str
            id of desired template
        Returns
        -------
        phase : ndarray
            array of phases
        mag : ndarray
            array of normalized magnitudes
        """
        try:
            data = np.loadtxt(self.data.extractfile(template_id + '.dat'))
        except __HOLE__:
            raise ValueError("invalid star id: {0}".format(template_id))
        return data[:, 0], data[:, 1]
dataset/ETHPy150Open astroML/gatspy/gatspy/datasets/rrlyrae.py/RRLyraeTemplates.get_template