def tuple(self, r):
        """
        Converts the linear_index `q` into an pegasus_index

        Parameters
        ----------
        r : int
            The linear_index node label

        Returns
        -------
        q : tuple
            The pegasus_index node label corresponding to r
        """

        m, m1 = self.args
        r, z = divmod(r, m1)
        r, k = divmod(r, 12)
        u, w = divmod(r, m)
        return u, w, k, z
def tuple ( self , r ) : m , m1 = self . args r , z = divmod ( r , m1 ) r , k = divmod ( r , 12 ) u , w = divmod ( r , m ) return u , w , k , z
Converts the linear_index `q` into an pegasus_index

        Parameters
        ----------
        r : int
            The linear_index node label

        Returns
        -------
        q : tuple
            The pegasus_index node label corresponding to r