def _setup_dots(mode, coils, ch_type):
    int_rad = 0.06
    noise = _ad_hoc_noise(coils, ch_type)
    if mode == 'fast':
        # Use 50 coefficients with nearest-neighbor interpolation
        n_coeff = 50
        lut_fun = _get_legen_lut_fast
    else:  # 'accurate'
        # Use 100 coefficients with linear interpolation
        n_coeff = 100
        lut_fun = _get_legen_lut_accurate
    lut, n_fact = _get_legen_table(ch_type, False, n_coeff, verbose=False)
    lut_fun = partial(lut_fun, lut=lut)
    return int_rad, noise, lut_fun, n_fact
Setup dot products
dataset/ETHPy150Open mne-tools/mne-python/mne/forward/_field_interpolation.py/_setup_dots