acstools 3.7.1__tar.gz → 3.7.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {acstools-3.7.1 → acstools-3.7.2}/CITATION.md +3 -1
- {acstools-3.7.1 → acstools-3.7.2}/PKG-INFO +1 -1
- {acstools-3.7.1 → acstools-3.7.2}/acstools/utils_findsat_mrt.py +13 -5
- {acstools-3.7.1 → acstools-3.7.2}/acstools/version.py +2 -2
- {acstools-3.7.1 → acstools-3.7.2}/acstools.egg-info/PKG-INFO +1 -1
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/index.rst +7 -0
- {acstools-3.7.1 → acstools-3.7.2}/tox.ini +1 -4
- {acstools-3.7.1 → acstools-3.7.2}/.bandit.yaml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/ISSUE_TEMPLATE/question.md +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/dependabot.yml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/labeler.yml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/workflows/ci_workflows.yml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/workflows/codeql-analysis.yml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/workflows/open_actions.yml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/workflows/predeps_workflows.yml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.github/workflows/publish-to-pypi.yml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.gitignore +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/.readthedocs.yaml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/CHANGES.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/CODE_OF_CONDUCT.md +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/LICENSE.md +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/MANIFEST.in +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/README.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/__init__.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acs2d.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acs_destripe.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acs_destripe_plus.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acsccd.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acscte.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acscteforwardmodel.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acsphotcte.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acsrej.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acssum.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/acszpt.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/calacs.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/data/polarizer_tables.yaml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/data/rt_line_kernel_width15.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/data/rt_line_kernel_width3.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/data/rt_line_kernel_width7.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/findsat_mrt.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/focus_diverse_epsfs.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/polarization_tools.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/satdet.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/.gitattributes +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/__init__.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/input/ja0x03ojq_flt.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/input/jb5g05ubq_flt.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/input/jc2z03cvq_blv_tmp.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/input/jc5001soq_flt.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/input/jc8m10syq_flc.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/input/jc8m32j5q_flc.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/input/jc8o04ghq_flt.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/input/jc8o04ghq_mask1.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/input/jc8o04ghq_mask2.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/truth/ja0x03ojq_flt_ref.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/truth/jb5g05ubq_flt_ref.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/truth/jc2z03cvq_blv_tmp_ref.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/truth/jc5001soq_flt_ref.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/truth/jc8m10syq_flc_ref.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/truth/jc8m32j5q_flc_mask_ref.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/data/truth/jc8o04ghq_flt_ref.fits +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/helpers.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/test_polarization.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/test_wfc_destripe.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/test_wfc_findsat_mrt.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/tests/test_wfc_satdet.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools/utils_calib.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools.egg-info/SOURCES.txt +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools.egg-info/dependency_links.txt +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools.egg-info/entry_points.txt +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools.egg-info/not-zip-safe +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools.egg-info/requires.txt +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/acstools.egg-info/top_level.txt +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/conftest.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/Makefile +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/make.bat +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/_static/stsci_pri_combo_mark_white.png +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/_templates/.gitignore +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/acs_destripe.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/acsphotcte.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/acszpt.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/calacs.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/conf.py +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/findsat_mrt.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/focus_diverse_epsfs.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/polarization_tools.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/satdet.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/doc/source/utils_calib.rst +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/pyproject.toml +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/setup.cfg +0 -0
- {acstools-3.7.1 → acstools-3.7.2}/setup.py +0 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
If you use acstools, please cite as:
|
|
2
2
|
|
|
3
|
-
[](https://ui.adsabs.harvard.edu/abs/2020ascl.soft11024L/abstract)
|
|
4
4
|
|
|
5
5
|
#### Other forms of citation
|
|
6
6
|
|
|
7
|
+
[](https://ascl.net/2011.024)
|
|
8
|
+
|
|
7
9
|
[](https://doi.org/10.5281/zenodo.7406933)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: acstools
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.2
|
|
4
4
|
Summary: Python Tools for HST ACS
|
|
5
5
|
Home-page: https://github.com/spacetelescope/acstools
|
|
6
6
|
Author: Matt Davis, Warren Hack, Norman Grogin, Pey Lian Lim, Sara Ogaz, Leonardo Ubeda, Mihai Cara, David Borncamp, Nathan Miles, Tyler Desjardins, Jenna Ryon, David Stark, Gagandeep Anand, Yotam Cohen
|
|
@@ -1432,16 +1432,24 @@ def create_mrt_line_kernel(width, sigma, outfile=None, shape=(1024, 2048),
|
|
|
1432
1432
|
LOG.info('Inteprolating onto new grid to center kernel')
|
|
1433
1433
|
theta_arr = np.arange(cutout.shape[1])
|
|
1434
1434
|
rho_arr = np.arange(cutout.shape[0])
|
|
1435
|
-
theta_grid, rho_grid = np.meshgrid(theta_arr, rho_arr)
|
|
1436
1435
|
|
|
1437
1436
|
new_theta_arr = theta_arr + theta_shift
|
|
1438
1437
|
new_rho_arr = rho_arr + rho_shift
|
|
1439
1438
|
new_theta_grid, new_rho_grid = np.meshgrid(new_theta_arr, new_rho_arr)
|
|
1440
1439
|
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1440
|
+
f = interpolate.RegularGridInterpolator((rho_arr, theta_arr),
|
|
1441
|
+
cutout.data,
|
|
1442
|
+
bounds_error=False,
|
|
1443
|
+
fill_value=0,
|
|
1444
|
+
method='cubic')
|
|
1445
|
+
|
|
1446
|
+
# unable to provide 2D grid of points for interpolation. Switching to
|
|
1447
|
+
# 1D, and then will switch back
|
|
1448
|
+
points = [[r, t] for r, t in zip(np.ravel(new_rho_grid),
|
|
1449
|
+
np.ravel(new_theta_grid))]
|
|
1450
|
+
|
|
1451
|
+
# return to original shape and replace the old cutout
|
|
1452
|
+
cutout = np.reshape(f(points), cutout.data.shape)
|
|
1445
1453
|
|
|
1446
1454
|
if ax:
|
|
1447
1455
|
fig4, ax4 = plt.subplots()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: acstools
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.2
|
|
4
4
|
Summary: Python Tools for HST ACS
|
|
5
5
|
Home-page: https://github.com/spacetelescope/acstools
|
|
6
6
|
Author: Matt Davis, Warren Hack, Norman Grogin, Pey Lian Lim, Sara Ogaz, Leonardo Ubeda, Mihai Cara, David Borncamp, Nathan Miles, Tyler Desjardins, Jenna Ryon, David Stark, Gagandeep Anand, Yotam Cohen
|
|
@@ -52,3 +52,10 @@ Indices and tables
|
|
|
52
52
|
* :ref:`genindex`
|
|
53
53
|
* :ref:`modindex`
|
|
54
54
|
* :ref:`search`
|
|
55
|
+
|
|
56
|
+
******************
|
|
57
|
+
Citation
|
|
58
|
+
******************
|
|
59
|
+
|
|
60
|
+
* Please cite `acstools <https://ui.adsabs.harvard.edu/abs/2020ascl.soft11024L/abstract>`_ if you have used it in your work.
|
|
61
|
+
|
|
@@ -40,6 +40,7 @@ deps =
|
|
|
40
40
|
devdeps: scikit-image>=0.0.dev0
|
|
41
41
|
devdeps: pyerfa>=0.0.dev0
|
|
42
42
|
devdeps: astropy>=0.0.dev0
|
|
43
|
+
devdeps: photutils>=0.0.dev0
|
|
43
44
|
devdeps: git+https://github.com/spacetelescope/ci_watson.git
|
|
44
45
|
devdeps: stsci.tools
|
|
45
46
|
|
|
@@ -49,10 +50,6 @@ extras =
|
|
|
49
50
|
predeps: all
|
|
50
51
|
|
|
51
52
|
commands =
|
|
52
|
-
# Force numpy-dev after matplotlib downgrades it (https://github.com/matplotlib/matplotlib/issues/26847)
|
|
53
|
-
devdeps: python -m pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
|
|
54
|
-
# photutils has C-extension and must be built with numpy-dev in devdeps
|
|
55
|
-
devdeps: python -m pip install --pre --upgrade git+https://github.com/astropy/photutils.git
|
|
56
53
|
pip freeze
|
|
57
54
|
pytest --pyargs acstools {toxinidir}/doc {posargs}
|
|
58
55
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|