summaryrefslogtreecommitdiff
path: root/stwcs
diff options
context:
space:
mode:
authorMihai Cara <mcara@users.noreply.github.com>2017-02-03 00:21:19 -0500
committerGitHub <noreply@github.com>2017-02-03 00:21:19 -0500
commit52d5b5fef4b2a3f916ea93a8c3a04a85e21905c7 (patch)
treeb818de9f383222daa3f438db3cd95934c4cddd0c /stwcs
parentcd5f0ff8b510743f651844551a46e9d317468df8 (diff)
parentd10a7f89c0665f03d5db0c837d03b3e2b9a26d67 (diff)
downloadstwcs_hcf-52d5b5fef4b2a3f916ea93a8c3a04a85e21905c7.tar.gz
Merge pull request #20 from mcara/remove-ignoreHST
remove unused ignoreHST variable
Diffstat (limited to 'stwcs')
-rw-r--r--stwcs/distortion/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stwcs/distortion/utils.py b/stwcs/distortion/utils.py
index 1baad3f..3b90fe3 100644
--- a/stwcs/distortion/utils.py
+++ b/stwcs/distortion/utils.py
@@ -128,7 +128,7 @@ def make_orthogonal_cd(wcs):
scale = np.sqrt(np.abs(det)) # find as sqrt(pixel area)
# find Y-axis orientation:
- if hasattr(wcs, 'orientat') and not ignoreHST:
+ if hasattr(wcs, 'orientat'):
rot = np.deg2rad(wcs.orientat) # use HST ORIENTAT
else:
rot = np.arctan2(wcs.wcs.cd[0, 1], wcs.wcs.cd[1, 1]) # angle of the Y-axis