Inference of Solar Magnetic Field Parameters from Data with Limited Wavelength Sampling