# sfepy.homogenization.coefficients module

class sfepy.homogenization.coefficients.Coefficients(**kwargs)

  Class for storing (homogenized) material coefficients.

  static from_file_hdf5(filename)
  to_file_hdf5(filename)
  to_file_latex(filename, names, format='%.2e', cdot=False, filter=None, idx=None)

    Save the coefficients to a file in LaTeX format.

    Parameters:
      filename str

        The name of the output file.

      names dict

        Mapping of attribute names to LaTeX names.

      format str

        Format string for numbers.

      cdot bool

        For ‘%.e’ formats only. If True, replace ‘e’ by LaTeX ‘cdot 10^{exponent}’ format.

      filter int

        For ‘%.e’ formats only. Typeset as 0, if exponent is less than filter.

      idx int

        For multi-coefficients, set the coefficient index.

  to_file_txt(filename, names, format)
  to_latex(attr_name, dim, style='table', format='%f', step=None)

sfepy.homogenization.coefficients.coef_arrays_to_dicts(idict, format='%s/%d')