International audienceAims:We inverted a spectropolarimetric scan of an active region and a filament (240× 340 arcsec) achieved with THEMIS on 7 December 2003 in the two lines Fe I 6302.5 and 6301.5 Å. Methods: The inversion was achieved for each line separately by using the UNNOFIT code of Landolfi and Landi Degl'Innocenti, and was improved by introducing a magnetic filling-factor parameter. The magnetic and non-magnetic theoretical atmospheres, mixed in the proportion given by the filling factor, were derived from the same set of parameters, except for the presence (or absence) of a magnetic field. The fundamental ambiguity is not solved. Results: The tests run with UNNOFIT show that the magnetic field strength B and the magnetic filling ...