# Path: neuropsydia/screen.py



from .screen import screen, screen_width, screen_height, monitor_diagonal
import os
import pygame
import time as builtin_time
import numpy as np
import datetime
        ----------
        NA

        Returns
        ----------
        NA

        Example
        ----------
        NA

        Authors
        ----------
        Dominique Makowski

        Dependencies
        ----------
        - pygame
        """
        if x != None and y == None:
            x =20*x/screen_width - 10
            return(x)
        if x == None and y != None:
            y = -(20*y/screen_height) + 10
            return(y)
        if x != None and y != None:
            x =20*x/screen_width - 10
            y = -(20*y/screen_height) + 10
            return(x, y)


# Path: neuropsydia/screen.py



# Path: neuropsydia/core.py
from .screen import screen, screen_width, screen_height, monitor_diagonal
import os
import pygame
import time as builtin_time
import numpy as np
import datetime

        ----------
        NA

        Returns
        ----------
        NA

        Example
        ----------
        NA

        Authors
        ----------
        Dominique Makowski

        Dependencies
        ----------
        - pygame
        """
        if x != None and y == None:
            x =20*x/screen_width - 10
            return(x)
        if x == None and y != None:
            y = -(20*y/screen_height) + 10
            return(y)
        if x != None and y != None:
            x =20*x/screen_width - 10
            y = -(20*y/screen_height) + 10
            return(x, y)


    def to_physical(distance_x=None, distance_y=None, monitor_diagnonal=monitor_diagonal, unit="cm"):