@classmethod
def from_catmaid(cls, catmaid_client, stack_group_id=None, stack_id=None,
    scale=0, x=None, y=None, z=None, tool=None, active_skeleton_id=None,
    active_node_id=None):
    """
        Instantiate CatmaidUrl based on a CATMAID interface instance.

        Parameters
        ----------
        catmaid_client : CatmaidClient or catpy.applications.base.CatmaidClientApplication
        stack_group_id : int
        stack_id : int
        scale : float
        x : float
            x coordinate in project (real) space
        y : float
            y coordinate in project (real) space
        z : float
            z coordinate in project (real) space
        tool : str
        active_skeleton_id : int
        active_node_id : int

        Returns
        -------
        CatmaidUrl
        """
    return cls(catmaid_client.base_url, catmaid_client.project_id,
        stack_group_id, stack_id, scale, x, y, z, tool, active_skeleton_id,
        active_node_id)
