diff options
author | Mihai Cara <mcara@users.noreply.github.com> | 2017-02-03 00:21:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-03 00:21:19 -0500 |
commit | 52d5b5fef4b2a3f916ea93a8c3a04a85e21905c7 (patch) | |
tree | b818de9f383222daa3f438db3cd95934c4cddd0c /stwcs | |
parent | cd5f0ff8b510743f651844551a46e9d317468df8 (diff) | |
parent | d10a7f89c0665f03d5db0c837d03b3e2b9a26d67 (diff) | |
download | stwcs_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.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 |