From ff6ed86610fd2ddfe481d12589da84beeec024b0 Mon Sep 17 00:00:00 2001 From: Dave Borncamp Date: Mon, 25 Apr 2016 10:44:11 -0400 Subject: [PATCH] Changed sat det order from 2 to 1, as per Ticket 8763 as suggested by Dave Borncamp. --- lib/acstools/satdet.py | 6 +++--- setup.cfg | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/acstools/satdet.py b/lib/acstools/satdet.py index e0d33edb..082ecbce 100644 --- a/lib/acstools/satdet.py +++ b/lib/acstools/satdet.py @@ -153,8 +153,8 @@ warnings.warn('matplotlib not found, plotting is disabled', AstropyUserWarning) -__version__ = '0.3' -__vdate__ = '07-Dec-2015' +__version__ = '0.3.1' +__vdate__ = '25-Apr-2016' __author__ = 'David Borncamp, Pey Lian Lim' __all__ = ['detsat', 'make_mask', 'update_dq'] @@ -808,7 +808,7 @@ def make_mask(filename, ext, trail_coords, sublen=75, subwidth=200, order=3, done = True # End while - rot = transform.rotate(mask, -deg, resize=True, order=2) + rot = transform.rotate(mask, -deg, resize=True, order=1) ix0 = (rot.shape[1] - image.shape[1]) / 2 iy0 = (rot.shape[0] - image.shape[0]) / 2 lowerx, upperx, lowery, uppery = _get_valid_indices( diff --git a/setup.cfg b/setup.cfg index 7d1871f1..a9c65c49 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = acstools -version = 2.0.0 +version = 2.0.1 author = Matt Davis, Warren Hack, Norman Grogin, Pey Lian Lim, Sara Ogaz, Leornado Ubeda, Mihai Cara, David Borncamp author-email = help@stsci.edu summary = Python Tools for ACS (Advanced Camera for Surveys) Data