diff --git a/spectral_cube/spectral_cube.py b/spectral_cube/spectral_cube.py index 7312eb5d8..8bfb4fa04 100644 --- a/spectral_cube/spectral_cube.py +++ b/spectral_cube/spectral_cube.py @@ -824,7 +824,7 @@ def argmax_world(self, axis, **kwargs): The axis to return the peak location along. e.g., `axis=0` will return the value of the spectral axis at the peak value. kwargs : dict - Passed to `~SpectralCube.argmax`. + Passed to `~SpectralCube.argmax`. ''' argmax_plane = self.argmax(axis=axis, **kwargs) @@ -850,13 +850,14 @@ def argmin_world(self, axis, **kwargs): ''' Return the spatial or spectral index of the minimum value along a line of sight. + Parameters ---------- axis : int The axis to return the peak location along. e.g., `axis=0` will return the value of the spectral axis at the peak value. kwargs : dict - Passed to `~SpectralCube.argmax`. + Passed to `~SpectralCube.argmax`. ''' argmin_plane = self.argmin(axis=axis, **kwargs)