get_Tpeak#
- mufasa.UltraCube.get_Tpeak(model)[source]#
Calculate the peak value of a model cube at each spatial pixel.
- Parameters:
model (numpy.ndarray) – The input model cube with spectral data. The first dimension is assumed to represent the spectral axis, and subsequent dimensions represent spatial pixels.
- Returns:
A 2D array where each element corresponds to the peak value of the model cube along the spectral axis for each spatial pixel.
- Return type: