Skip to content

Commit 6c0397a

Browse files
committed
Modified the axis fields of TapData to be keyword only.
1 parent 4b98f18 commit 6c0397a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

msfc_ccd/_images/_tap_images.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,18 @@ class TapData(
219219
outputs: na.ScalarArray = dataclasses.MISSING
220220
"""The underlying array storing the image data."""
221221

222-
axis_x: str = dataclasses.MISSING
222+
camera: AbstractCamera = dataclasses.MISSING
223+
"""A model of the camera used to capture these images."""
224+
225+
axis_x: str = dataclasses.field(default="detector_x", kw_only=True)
223226
"""The name of the horizontal axis."""
224227

225-
axis_y: str = dataclasses.MISSING
228+
axis_y: str = dataclasses.field(default="detector_y", kw_only=True)
226229
"""The name of the vertical axis."""
227230

228-
axis_tap_x: str = dataclasses.MISSING
231+
axis_tap_x: str = dataclasses.field(default="tap_x", kw_only=True)
229232
"""The name of the horizontal tap axis."""
230233

231-
axis_tap_y: str = dataclasses.MISSING
234+
axis_tap_y: str = dataclasses.field(default="tap_y", kw_only=True)
232235
"""The name of the vertical tap axis."""
233236

234-
camera: AbstractCamera = dataclasses.MISSING
235-
"""A model of the camera used to capture these images."""

0 commit comments

Comments
 (0)