src/core/hydrodynamics/transect.py
def xy_coordinates(self) -> np.ndarray:
        """
        The (x,y)-coordinates of the model domain,
        retrieved from hydrodynamic model; otherwise based on provided definition.

        Returns:
            np.ndarray: The (x,y) coordinates.
        """
        if self.x_coordinates is None or self.y_coordinates is None:
            return None

        return np.array(
            [
                [self.x_coordinates[i], self.y_coordinates[i]]
                for i in range(len(self.x_coordinates))
            ]
        )

        The (x,y)-coordinates of the model domain,
        retrieved from hydrodynamic model; otherwise based on provided definition.

        Returns:
            np.ndarray: The (x,y) coordinates.
        
The (x,y)-coordinates of the model domain,
retrieved from hydrodynamic model; otherwise based on provided definition.
The ( x y ) - coordinates of the model domain retrieved from hydrodynamic model ; otherwise based on provided definition .
def xy_coordinates(self) -> np.ndarray:
        if self.x_coordinates is None or self.y_coordinates is None:
            return None
        return np.array(
            [
                [self.x_coordinates[i], self.y_coordinates[i]]
                for i in range(len(self.x_coordinates))
            ]
        )
def xy_coordinates ( self ) -> np . ndarray : if self . x_coordinates is None or self . y_coordinates is None : return None return np . array ( [ [ self . x_coordinates [ i ] , self . y_coordinates [ i ] ] for i in range ( len ( self . x_coordinates ) ) ] )
The (x,y)-coordinates of the model domain,
retrieved from hydrodynamic model; otherwise based on provided definition.
The ( x y ) - coordinates of the model domain retrieved from hydrodynamic model ; otherwise based on provided definition .
"""
        The (x,y)-coordinates of the model domain,
        retrieved from hydrodynamic model; otherwise based on provided definition.

        Returns:
            np.ndarray: The (x,y) coordinates.
        """
The (x,y) coordinates.
The ( x y ) coordinates .
np.ndarray
self