calculate_matrix

SpectralMegacomplex.calculate_matrix(dataset_model: DatasetModel, global_axis: ArrayLike, model_axis: ArrayLike, **kwargs)[source]

Calculate the megacomplex matrix.

Parameters:
  • dataset_model (DatasetModel) – The dataset model.

  • global_axis (ArrayLike) – The global axis.

  • model_axis (ArrayLike) – The model axis.

  • **kwargs – Additional arguments.

Returns:

  • tuple[list[str], ArrayLike] – The clp labels and the matrix.

  • .. # noqa (DAR202)

  • .. # noqa (DAR401)