From 473763f8b54862ca9b72fe35c29e010af8ce4758 Mon Sep 17 00:00:00 2001 From: Roy Smart Date: Tue, 12 Sep 2023 14:07:00 -0600 Subject: [PATCH] Removed references to deprecated `optika.transforms` module from the documentation of `optika.apertures`. --- optika/apertures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/optika/apertures.py b/optika/apertures.py index 11f2b77..1a5e746 100644 --- a/optika/apertures.py +++ b/optika/apertures.py @@ -183,7 +183,7 @@ class CircularAperture( aperture = optika.apertures.CircularAperture( radius=radius, - transformation=optika.transforms.Translation(displacement), + transformation=na.transformations.Translation(displacement), ) with astropy.visualization.quantity_support(): @@ -368,7 +368,7 @@ class RectangularAperture( aperture = optika.apertures.RectangularAperture( half_width=half_width, - transformation=optika.transforms.Translation(displacement), + transformation=na.transformations.Translation(displacement), ) with astropy.visualization.quantity_support():