wfc3tools 1.4.0__tar.gz → 1.6.0__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.
- wfc3tools-1.6.0/.github/CODEOWNERS +3 -0
- wfc3tools-1.6.0/.github/dependabot.yml +14 -0
- wfc3tools-1.6.0/.github/workflows/build.yml +15 -0
- wfc3tools-1.6.0/.github/workflows/tests.yml +20 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/.readthedocs.yaml +7 -3
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/CHANGES.rst +11 -1
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/MANIFEST.in +0 -4
- wfc3tools-1.6.0/PKG-INFO +91 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/conf.py +12 -7
- wfc3tools-1.6.0/docs/rtd_environment.yaml +8 -0
- wfc3tools-1.6.0/docs/wfc3tools/calwf3.rst +464 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/wfc3tools/history.rst +49 -1
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/wfc3tools/ir_pipeline.inc +21 -20
- wfc3tools-1.6.0/docs/wfc3tools/pstack.rst +9 -0
- wfc3tools-1.6.0/docs/wfc3tools/pstat.rst +9 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/wfc3tools/uvis_pipeline.inc +119 -107
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/wfc3tools/wf32d.rst +26 -6
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/wfc3tools/wf3ccd.rst +41 -14
- wfc3tools-1.6.0/docs/wfc3tools/wf3cte.rst +252 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/wfc3tools/wf3ir.rst +20 -8
- wfc3tools-1.6.0/docs/wfc3tools/wf3rej.rst +181 -0
- wfc3tools-1.6.0/pyproject.toml +70 -0
- wfc3tools-1.6.0/setup.cfg +4 -0
- wfc3tools-1.6.0/tox.ini +53 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/calwf3.py +17 -13
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/embedsub.py +15 -14
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/pstack.py +21 -19
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/pstat.py +97 -75
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/sampinfo.py +41 -41
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/sub2full.py +3 -3
- wfc3tools-1.6.0/wfc3tools/tests/test_pstack.py +31 -0
- wfc3tools-1.6.0/wfc3tools/tests/test_pstat.py +36 -0
- wfc3tools-1.6.0/wfc3tools/tests/test_sampinfo.py +57 -0
- wfc3tools-1.6.0/wfc3tools/tests/test_sub2full.py +55 -0
- wfc3tools-1.6.0/wfc3tools/version.py +34 -0
- wfc3tools-1.6.0/wfc3tools/wf3cte.py +88 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/wf3rej.py +40 -72
- wfc3tools-1.6.0/wfc3tools.egg-info/PKG-INFO +91 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools.egg-info/SOURCES.txt +11 -5
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools.egg-info/requires.txt +4 -0
- wfc3tools-1.4.0/.github/workflows/publish-to-pypi.yml +0 -26
- wfc3tools-1.4.0/PKG-INFO +0 -24
- wfc3tools-1.4.0/docs/rtd-pip-requirements +0 -6
- wfc3tools-1.4.0/docs/wfc3tools/calwf3.rst +0 -322
- wfc3tools-1.4.0/docs/wfc3tools/pstack.rst +0 -104
- wfc3tools-1.4.0/docs/wfc3tools/pstat.rst +0 -128
- wfc3tools-1.4.0/docs/wfc3tools/wf3cte.rst +0 -185
- wfc3tools-1.4.0/docs/wfc3tools/wf3rej.rst +0 -136
- wfc3tools-1.4.0/pyproject.toml +0 -3
- wfc3tools-1.4.0/setup.cfg +0 -46
- wfc3tools-1.4.0/setup.py +0 -4
- wfc3tools-1.4.0/wfc3tools/version.py +0 -5
- wfc3tools-1.4.0/wfc3tools/wf3cte.py +0 -163
- wfc3tools-1.4.0/wfc3tools.egg-info/PKG-INFO +0 -24
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/.gitignore +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/CODE_OF_CONDUCT.md +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/LICENSE.txt +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/README.rst +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/Makefile +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/calwf3_flow.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/ir_data_format.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/pstack_example.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/pstat_example.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/raw_uvis_format.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/stsci_pri_combo_mark_white.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/sub2full_translate.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/uvis_data_format.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/wfc3_Ch33_1.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/wfc3_Ch33_5.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/_static/wfc_logo.png +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/exts/numfig.py +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/index.rst +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/make.bat +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/notebooks/README +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/notebooks/wf3persist.ipynb +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/wfc3tools/embedsub.rst +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/wfc3tools/sampinfo.rst +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/docs/wfc3tools/sub2full.rst +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/__init__.py +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/tests/test_calwf3.py +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/util.py +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/wf32d.py +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/wf3ccd.py +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools/wf3ir.py +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools.egg-info/dependency_links.txt +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools.egg-info/not-zip-safe +0 -0
- {wfc3tools-1.4.0 → wfc3tools-1.6.0}/wfc3tools.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
|
|
4
|
+
# Maintain dependencies for GitHub Actions
|
|
5
|
+
- package-ecosystem: "github-actions"
|
|
6
|
+
directory: ".github/workflows"
|
|
7
|
+
target-branch: "main"
|
|
8
|
+
schedule:
|
|
9
|
+
interval: monthly
|
|
10
|
+
time: "03:30"
|
|
11
|
+
groups:
|
|
12
|
+
actions:
|
|
13
|
+
patterns:
|
|
14
|
+
- "*"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name: build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [ released ]
|
|
6
|
+
pull_request:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v2
|
|
12
|
+
with:
|
|
13
|
+
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}
|
|
14
|
+
secrets:
|
|
15
|
+
pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
- '*x'
|
|
8
|
+
tags:
|
|
9
|
+
- '*'
|
|
10
|
+
pull_request:
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
test:
|
|
14
|
+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2
|
|
15
|
+
with:
|
|
16
|
+
conda: true
|
|
17
|
+
envs: |
|
|
18
|
+
- linux: py311
|
|
19
|
+
- linux: py312
|
|
20
|
+
- macos: py312
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
version: 2
|
|
4
4
|
|
|
5
5
|
build:
|
|
6
|
+
os: ubuntu-22.04
|
|
6
7
|
tools:
|
|
7
|
-
python:
|
|
8
|
+
python: mambaforge-4.10
|
|
9
|
+
|
|
10
|
+
conda:
|
|
11
|
+
environment: docs/rtd_environment.yaml
|
|
8
12
|
|
|
9
13
|
sphinx:
|
|
10
14
|
builder: html
|
|
11
|
-
configuration:
|
|
12
|
-
fail_on_warning:
|
|
15
|
+
configuration: docs/conf.py
|
|
16
|
+
fail_on_warning: false
|
|
13
17
|
|
|
14
18
|
# Set the version of Python and requirements required to build your docs
|
|
15
19
|
python:
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.6.0 (2025-10-21)
|
|
2
2
|
------------------
|
|
3
|
+
- Follow PEP621 to move build configuration pyproject.toml [#90]
|
|
4
|
+
|
|
5
|
+
1.5.0 (2023-10-18)
|
|
6
|
+
------------------
|
|
7
|
+
- Major updates to the readthedocs documentation, particularly for UVIS pipeline and new full-well saturation [#68, #83]
|
|
8
|
+
- Updated some Python APIs for ``calwf3`` component wrappers and explained parameters [#69, #71, #85]
|
|
9
|
+
- Updated embedsub.py to ensure all input extensions are included in the output file [#70]
|
|
10
|
+
- Reversed the use of column and row parameters when accessing image data and updated example for pstack [#73]
|
|
11
|
+
- Modified how an image section is specified and reversed the use of column and row parameters for pstat [#75]
|
|
12
|
+
- Dropped support for Python 3.8 [#79]
|
|
3
13
|
|
|
4
14
|
1.4.0 (2022-03-10)
|
|
5
15
|
------------------
|
wfc3tools-1.6.0/PKG-INFO
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: wfc3tools
|
|
3
|
+
Version: 1.6.0
|
|
4
|
+
Summary: Python Tools for HST WFC3 Data
|
|
5
|
+
Author: STScI
|
|
6
|
+
Project-URL: Homepage, http://wfc3tools.readthedocs.io/
|
|
7
|
+
Project-URL: Bug Reports, https://github.com/spacetelescope/wfc3tools/issues/
|
|
8
|
+
Project-URL: Source, https://github.com/spacetelescope/wfc3tools/
|
|
9
|
+
Project-URL: Help, https://hsthelp.stsci.edu
|
|
10
|
+
Classifier: Intended Audience :: Science/Research
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python
|
|
13
|
+
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
14
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
15
|
+
Requires-Python: >=3.9
|
|
16
|
+
Description-Content-Type: text/x-rst
|
|
17
|
+
License-File: LICENSE.txt
|
|
18
|
+
Requires-Dist: astropy>=4.2.0
|
|
19
|
+
Requires-Dist: numpy>=1.21.0
|
|
20
|
+
Requires-Dist: matplotlib>=3.5.1
|
|
21
|
+
Requires-Dist: stsci.tools>=4.0.1
|
|
22
|
+
Requires-Dist: scipy>=1.8.0
|
|
23
|
+
Provides-Extra: tests
|
|
24
|
+
Requires-Dist: pytest; extra == "tests"
|
|
25
|
+
Requires-Dist: astroquery; extra == "tests"
|
|
26
|
+
Provides-Extra: docs
|
|
27
|
+
Requires-Dist: sphinx; extra == "docs"
|
|
28
|
+
Requires-Dist: sphinx-automodapi; extra == "docs"
|
|
29
|
+
Requires-Dist: sphinx-rtd-theme; extra == "docs"
|
|
30
|
+
Dynamic: license-file
|
|
31
|
+
|
|
32
|
+
WFC3TOOLS
|
|
33
|
+
=========
|
|
34
|
+
|
|
35
|
+
.. image:: https://readthedocs.org/projects/wfc3tools/badge/?version=latest
|
|
36
|
+
:target: http://wfc3tools.readthedocs.io/en/latest/?badge=latest
|
|
37
|
+
:alt: Documentation Status
|
|
38
|
+
|
|
39
|
+
.. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
|
|
40
|
+
:target: http://www.astropy.org
|
|
41
|
+
:alt: Powered by Astropy Badge
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
For more information please see the `online documentation <http://wfc3tools.readthedocs.io/>`_.
|
|
45
|
+
|
|
46
|
+
You can also display the docs locally after install, import ``wfc3tools`` and then issue the following command to display the help docs in your local browser:
|
|
47
|
+
|
|
48
|
+
::
|
|
49
|
+
|
|
50
|
+
wfc3tools.display_help()
|
|
51
|
+
|
|
52
|
+
To install using pip:
|
|
53
|
+
|
|
54
|
+
::
|
|
55
|
+
|
|
56
|
+
pip install wfc3tools
|
|
57
|
+
|
|
58
|
+
pip install --upgrade wfc3tools # if you already have an older version installed
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
Contributing
|
|
63
|
+
------------
|
|
64
|
+
|
|
65
|
+
Please open a new issue or new pull request for bugs, feedback, or new features
|
|
66
|
+
you would like to see. If there is an issue you would like to work on, please
|
|
67
|
+
leave a comment and we will be happy to assist. New contributions and
|
|
68
|
+
contributors are very welcome!
|
|
69
|
+
|
|
70
|
+
New to github or open source projects? If you are unsure about where to start
|
|
71
|
+
or haven't used github before, please feel free to contact `HST Help Desk <https://stsci.service-now.com/hst>`_.
|
|
72
|
+
|
|
73
|
+
Feedback and feature requests? Is there something missing you would like
|
|
74
|
+
to see? Please open an issue or contact `HST Help Desk <https://stsci.service-now.com/hst>`_.
|
|
75
|
+
|
|
76
|
+
``wfc3tools`` follows the `Astropy Code of Conduct`_ and strives to provide a
|
|
77
|
+
welcoming community to all of our users and contributors.
|
|
78
|
+
|
|
79
|
+
Want more information about how to make a contribution? Take a look at
|
|
80
|
+
the the astropy `contributing`_ and `developer`_ documentation.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
License
|
|
84
|
+
-------
|
|
85
|
+
|
|
86
|
+
``wfc3tools`` is licensed under a 3-clause BSD style license (see the ``LICENSE.txt`` file).
|
|
87
|
+
|
|
88
|
+
.. _AstroPy: http://www.astropy.org/
|
|
89
|
+
.. _contributing: http://docs.astropy.org/en/stable/index.html#contributing
|
|
90
|
+
.. _developer: http://docs.astropy.org/en/stable/index.html#developer-documentation
|
|
91
|
+
.. _Astropy Code of Conduct: http://www.astropy.org/about.html#codeofconduct
|
|
@@ -9,13 +9,18 @@
|
|
|
9
9
|
from configparser import ConfigParser
|
|
10
10
|
import datetime
|
|
11
11
|
import os
|
|
12
|
+
from pathlib import Path
|
|
12
13
|
import sys
|
|
13
14
|
|
|
14
15
|
from wfc3tools import __version__
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
if sys.version_info < (3, 11):
|
|
18
|
+
import tomli as tomllib
|
|
19
|
+
else:
|
|
20
|
+
import tomllib
|
|
21
|
+
|
|
22
|
+
with open(Path(__file__).parent.parent / "pyproject.toml", "rb") as configuration_file:
|
|
23
|
+
metadata = tomllib.load(configuration_file)["project"]
|
|
19
24
|
# -- Path setup --------------------------------------------------------------
|
|
20
25
|
|
|
21
26
|
# If extensions (or modules to document with autodoc) are in another directory,
|
|
@@ -28,9 +33,9 @@ sys.path.insert(0, os.path.abspath('exts/'))
|
|
|
28
33
|
|
|
29
34
|
|
|
30
35
|
# -- Project information -----------------------------------------------------
|
|
31
|
-
project =
|
|
32
|
-
author =
|
|
33
|
-
copyright =
|
|
36
|
+
project = metadata["name"]
|
|
37
|
+
author = f'{metadata["authors"][0]["name"]}'
|
|
38
|
+
copyright = f"{datetime.datetime.now().year}, {author}"
|
|
34
39
|
|
|
35
40
|
# The version info for the project you're documenting, acts as replacement for
|
|
36
41
|
# |version| and |release|, also used in various other places throughout the
|
|
@@ -139,4 +144,4 @@ latex_show_urls = 'True'
|
|
|
139
144
|
# latex_appendices = []
|
|
140
145
|
|
|
141
146
|
# If false, no module index is generated.
|
|
142
|
-
latex_domain_indices = True
|
|
147
|
+
latex_domain_indices = True
|