Skip to content

Commit

Permalink
chore(dragons update): 📦 Update docstring
Browse files Browse the repository at this point in the history
Covers DRAGONS commit 11a499e5c89d436ebe030a3ccc07c0ed65946750. This
ignores the regex update because that's already been fixed using
r-strings.
  • Loading branch information
teald committed Sep 10, 2024
1 parent 7da75de commit 8508a6f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions astrodata/wcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,19 +573,20 @@ def calculate_affine_matrices(func, shape, origin=None):
Arguments
---------
func : callable
function that maps input->output coordinates
Function that maps input->output coordinates; these coordinates
are x-first, because "func" is usually an astropy.modeling.Model.
shape : sequence
shape to use for fiducial points
Shape to use for fiducial points.
origin : sequence/None
if a sequence, then use this as the opposite vertex (it must be
the same length as "shape")
If a sequence, then use this as the opposite vertex (it must be
the same length as "shape").
Returns
-------
AffineMatrices(array, array)
affine matrix and offset
Affine matrix and offset.
"""
indim = len(shape)
try:
Expand Down

0 comments on commit 8508a6f

Please sign in to comment.