def get_filesize_est(n_regions):
    """ Get a filesize estimate given the number of regions in grid encoding.

    Parameters
    ----------
    n_regions: int
        number of regions encoded by grid encoding
    
    Returns
    -------
    float
        Estimated filesize
    """

    return 0.00636654 * n_regions + 3.392864597