From 00d3ac09c84fbd91d4e3472d1792d74eba668b66 Mon Sep 17 00:00:00 2001 From: Ian Czekala Date: Tue, 26 Dec 2023 23:20:54 +0000 Subject: [PATCH] removed unused protocols. --- src/mpol/fourier.py | 1 - src/mpol/protocols.py | 18 ------------------ 2 files changed, 19 deletions(-) delete mode 100644 src/mpol/protocols.py diff --git a/src/mpol/fourier.py b/src/mpol/fourier.py index 5ce6b4cf..ade7e89b 100644 --- a/src/mpol/fourier.py +++ b/src/mpol/fourier.py @@ -15,7 +15,6 @@ from mpol.exceptions import DimensionMismatchError from mpol.images import ImageCube -from mpol.protocols import MPoLModel from mpol import utils from mpol.coordinates import GridCoords diff --git a/src/mpol/protocols.py b/src/mpol/protocols.py deleted file mode 100644 index 5ca83cee..00000000 --- a/src/mpol/protocols.py +++ /dev/null @@ -1,18 +0,0 @@ -from __future__ import annotations - -from typing import Protocol - -import mpol.coordinates -import mpol.fourier -import mpol.images - - -class MPoLModel(Protocol): - coords: mpol.coordinates.GridCoords - nchan: int - bcube: mpol.images.BaseCube - icube: mpol.images.ImageCube - fcube: mpol.fourier.FourierCube - - def forward(self): - ...