def save_fem(results, rootname):
    """Save dictionary of FEM results to individual HDF5 files.

    Parameters
    ----------
    results : Dictionary
        Results of FEM analysis performed on s
    rootname : str
        Root name for output files. '_FEM_Parameter.hdf5' will be appended

    Examples
    --------
    >>> import pixstem.fem_tools as femt
    >>> s = ps.dummy_data.get_fem_signal()
    >>> fem_results = s.fem_analysis(
    ...     centre_x=50,
    ...     centre_y=50,
    ...     show_progressbar=False)
    >>> femt.save_fem(fem_results,'TestData')

    """
    for i in results:
        results[i].save(rootname + '_FEM_' + i + '.hdf5')
