A sensor selection algorithm for hyper-parameterized linear bayesian inverse problems