Source code for mantidimaging.gui.windows.stack_visualiser.model

# Copyright (C) 2024 ISIS Rutherford Appleton Laboratory UKRI
# SPDX - License - Identifier: GPL-3.0-or-later
from __future__ import annotations

import numpy as np


[docs] class SVModel: def __init__(self) -> None: pass
[docs] @staticmethod def sum_images(images: np.ndarray) -> np.ndarray: return np.sum(images, axis=0)
[docs] @staticmethod def swap_axes(images: np.ndarray) -> np.ndarray: return np.swapaxes(images, 0, 1)