Cain model
The most commonly used model for the crustal fields of Mars is the Cain model, developed by Joseph Cain at Florida State University. The model uses MGS magnetometer measurements to determine a spherical harmonic expression for the magnetic potential. This model can then be implemented in e.g., Matlab, enabling one to create a picture of the crustal fields in a particular region in a particular altitude above the Martian surface.
This model, however should not be used for altitudes below 100 km and preferably not below 400 km. The reason for this is that while a magnetic field measurement can be extrapolated away from the source of the field in relation to the measurements, it can not be extrapolated towards it, as there are numerous magnetic sources that can give rise to identical fields at a distance.

This is a one deg resolution picture of the radial component of the Martian crustal fields in 200 km altitude, covering the entire Martian surface, using the Cain model in Matlab (click to enlarge).