setMagnetometerCorrectionParameters allows you to set the parameters for as long as the object remains open. If the object disconnects, the parameters will reset.
saveMagnetometerCorrectionParameters saves the currently set parameters to flash memory on the device, so that these parameters are automatically used when the device is connected. (This is not supported on the older 1056 PhidgetSpatial).
resetMagnetometerCorrectionParameters resets the current and saved parameters to zero (which is the factory setting for the parameters).
Unless you are using the 1056, you should not have to call these functions yourself - you should use the provided compass calibration software which will set and save the parameters to flash.
I'm using a 1044 and did use the calibration software. Did not get consistent results - it seemed like it could accurately detect one direction, and 180 degree opposite, but in between, it was not linear (i.e. at 90 degrees, I would see 120). I will play with it some more tonight.
It takes a surprisingly small amount of metal to interfere with the compass. It's best to run the calibration with the spatial already bolted into it's final place in your application. Sources of metal in the environment will need to be avoided, especially during calibration.