Adding Fits

Adding a fit (without adding data) is done by adding a Fit object to the list of fits attributed to a Material object.

  1. Load the material instance (from the corresponding .pkl file) using the following code.

  2. Create a new Fit object.

  3. Append the new Fit object to the list of fits attributed to the Material object.

  4. Save the updated Material object back to the .pkl file.