Downsample

These are the commits that implement downsampling when importing instrument data.
"downsample" is misspelt.