Skip to content

Commit

Permalink
MAINT: Add empty IO for affine correction
Browse files Browse the repository at this point in the history
  • Loading branch information
jwboth committed Jul 24, 2024
1 parent 6644b3c commit a09ef26
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/darsia/corrections/shape/affine.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

from __future__ import annotations

from pathlib import Path
from typing import Optional, Union
from warnings import warn

Expand Down Expand Up @@ -363,3 +364,22 @@ def __init__(
coordinatesystem_dst=coordinatesystem_dst,
transformation=affine_transformation,
)

# ! ---- I/O ----
def save(self, path: Path) -> None:
"""Save the correction to npz file.
Args:
path (Path): path to the file
"""
raise NotImplementedError("Method not implemented yet.")

def load(self, path: Path) -> None:
"""Load the correction from npz file.
Args:
path (Path): path to the file
"""
raise NotImplementedError("Method not implemented yet.")

0 comments on commit a09ef26

Please sign in to comment.