get_comp_AICc#

mufasa.aic.get_comp_AICc(cube, model1, model2, p1, p2)[source]#

Calculate AICc values for two models over the same samples.

Parameters:
  • cube (SpectralCube) – The data cube.

  • model1 (numpy.ndarray) – The first model cube.

  • model2 (numpy.ndarray) – The second model cube.

  • p1 (int) – Number of parameters associated with the first model.

  • p2 (int) – Number of parameters associated with the second model.

Returns:

AICc values for the first and second models.

Return type:

tuple of numpy.ndarray