Hello,
I have a dataset were the channel positions are given in millimeters instead of meters. Is there a quick fix for such cases or is it necessary to perform an ugly hack:
for ch in range(len(raw.info['chs'])):
raw.info['chs'][ch]['loc']*=1e-3
followed by
montage = raw.get_montage()
raw.set_montage(montage)
EDIT: I thought I needed to convert units for interpolate_bads
due to the warning Estimated head size (85000.0 mm) exceeded 99th percentile for adult head size
. But it seems that the interpolation is not affected by the scale.