ECOdyagnostics/operations.py
def gradient(self, da, axes=None, **kwargs):
        """
        Compute the gradient of a data variable .

        If axes are not specified,  by default the gradient is taken along 'X', 'Y' and 'Z'.
        """
        if axes is None:
            axes = ['X', 'Y', 'Z']
        return [self.derivative(da, ax, **kwargs) for ax in axes]

        Compute the gradient of a data variable .

        If axes are not specified,  by default the gradient is taken along 'X', 'Y' and 'Z'.
        
Compute the gradient of a data variable .
Compute the gradient of a data variable .
def gradient(self, da, axes=None, **kwargs):
        if axes is None:
            axes = ['X', 'Y', 'Z']
        return [self.derivative(da, ax, **kwargs) for ax in axes]
def gradient ( self , da , axes = None , ** kwargs ) : if axes is None : axes = [ 'X' , 'Y' , 'Z' ] return [ self . derivative ( da , ax , ** kwargs ) for ax in axes ]
Compute the gradient of a data variable .
Compute the gradient of a data variable .
"""
        Compute the gradient of a data variable .

        If axes are not specified,  by default the gradient is taken along 'X', 'Y' and 'Z'.
        """
self
da
axes