def zscore_normalize_array(array, mean, std_dev):
    """
    Zscore normalize the numpy array based on the genomic mean and standard deviation

    :param std_dev:
    :param mean:
    :param array: Input array of bigwig values

    :return: Zscore normalized array
    """
    return (array - mean) / std_dev