@staticmethod
def calculate_spark_freq(lx, lt, dx, dt, nsparks):
    """ Calculates number of sparks for given spark frequency
        Parameters:
            lx : experiment sizes in space in pixels
            lt : experiment sizes time in pixels
            dx : pixel size in space in microns
            dt : pixel size in time in milliseconds
            nsparks: number of sparks
        Returns:
            float: sparks frequency in sparks per 100 microns per 1 second
        """
    return nsparks / (lx * dx * 0.01) * (lt * dt * 0.001)
