@staticmethod
def get_user_directory():
    """
        Returns PyTRiP user config dir. Create it, if it does not exsist.
        """
    import os
    path = os.path.join(os.path.expanduser('~'), '.pytrip')
    if not os.path.exists(path):
        os.makedirs(path)
    return path
