diff options
author | Mihai Cara <mihail.cara@gmail.com> | 2016-11-12 01:57:42 -0500 |
---|---|---|
committer | Mihai Cara <mihail.cara@gmail.com> | 2016-11-12 01:57:42 -0500 |
commit | d10a7f89c0665f03d5db0c837d03b3e2b9a26d67 (patch) | |
tree | a8ea56f667d2bb21f749b1d2581a98e71a7ad982 /stwcs | |
parent | 9fa6e818cc2f93ee65b4f979368e9db9eb8134b5 (diff) | |
download | stwcs_hcf-d10a7f89c0665f03d5db0c837d03b3e2b9a26d67.tar.gz |
remove unused ignoreHST variable
Diffstat (limited to 'stwcs')
-rw-r--r-- | stwcs/distortion/utils.py | 2 |
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 |