summaryrefslogtreecommitdiff
path: root/stwcs
diff options
context:
space:
mode:
authorMihai Cara <mihail.cara@gmail.com>2016-11-12 01:57:42 -0500
committerMihai Cara <mihail.cara@gmail.com>2016-11-12 01:57:42 -0500
commitd10a7f89c0665f03d5db0c837d03b3e2b9a26d67 (patch)
treea8ea56f667d2bb21f749b1d2581a98e71a7ad982 /stwcs
parent9fa6e818cc2f93ee65b4f979368e9db9eb8134b5 (diff)
downloadstwcs_hcf-d10a7f89c0665f03d5db0c837d03b3e2b9a26d67.tar.gz
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