Multi-frequency inversion of scattered-field data in Lebesgue spaces with nonconstant exponents