def _initializer(kwargs):
    """
    Initializer for the multiprocessing pool. It is mainly use to ensure that
    processes on *Windows* correctly inherit from the current domain-range
    scale.

    Parameters
    ----------
    kwargs : dict
        Initialisation arguments.
    """
    global _DOMAIN_RANGE_SCALE
    _DOMAIN_RANGE_SCALE = kwargs.get('scale', 'reference')
