Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.5.0 #948

Merged
merged 64 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
aa6773f
allow manual run to specify data URL
zacharyburnett Sep 13, 2024
06ef8f7
Merge pull request #914 from zacharyburnett/ci/data_url
BradleySappington Sep 13, 2024
cd6647d
MNT: Use hash for Action workflow versions and update if needed
pllim Sep 27, 2024
490d6bf
Add IFU+datacubes docs page. Also, fix minor nbsphinx formatting issu…
mperrin Sep 27, 2024
4715903
trivial fix to string formatting for a debug message
mperrin Sep 27, 2024
81f32f3
include IFU page in docs
mperrin Sep 27, 2024
4e04465
Merge pull request #918 from mperrin/minor_fix_debug_msg
obi-wan76 Sep 27, 2024
17c26f5
Merge pull request #917 from mperrin/ifu_docs
obi-wan76 Sep 27, 2024
fcf8b1e
build(deps): update pysiaf requirement
dependabot[bot] Oct 1, 2024
3043186
Merge pull request #920 from spacetelescope/dependabot/pip/pysiaf-gte…
BradleySappington Oct 2, 2024
4a4b869
update ifu docs to describe about coord_system and pixel scale
mperrin Oct 30, 2024
3f8fa7e
increase size of PSF grid in test case
mperrin Oct 30, 2024
6bdec62
fix a few more test cases
mperrin Oct 31, 2024
5668412
build(deps): update ipython requirement
dependabot[bot] Nov 1, 2024
1b997ca
Merge remote-tracking branch 'upstream/stable' into develop
Skyhawk172 Nov 22, 2024
1ea7936
Revert "Merge pull request #920 from spacetelescope/dependabot/pip/py…
Skyhawk172 Nov 22, 2024
238f899
Revert "Revert "Merge pull request #920 from spacetelescope/dependabo…
Skyhawk172 Nov 22, 2024
3d173e3
Merge pull request #925 from mperrin/fix_for_photutils2
obi-wan76 Nov 22, 2024
25e37a7
Merge pull request #916 from pllim/action-ver-hash
BradleySappington Nov 22, 2024
67c975f
consolidate dependabot PRs
BradleySappington Nov 22, 2024
fdc05e0
photutils not working
BradleySappington Nov 22, 2024
82489b0
add photutil top limit in pyproject
BradleySappington Nov 22, 2024
9af6b0e
Merge pull request #926 from spacetelescope/dependabot/pip/ipython-gt…
BradleySappington Nov 22, 2024
2dc5d45
Merge branch 'develop' into update_ifu_docs
mperrin Nov 22, 2024
4d9af0a
switch a float comparison to allclose for robustness
mperrin Nov 22, 2024
629d73e
Merge pull request #923 from mperrin/update_ifu_docs
BradleySappington Nov 22, 2024
3db3adf
Update the `WEBBPSF_PATH` handling to automatically try to get the da…
WilliamJamieson Nov 19, 2024
ab8b44a
update photutils upper bound
BradleySappington Nov 22, 2024
5ca4e6b
Merge pull request #935 from BradleySappington/photutils
mperrin Nov 22, 2024
4c4cbf8
Merge pull request #932 from WilliamJamieson/auto_download_data
BradleySappington Nov 22, 2024
540a751
Merge pull request #934 from mperrin/fix_test_case_float_check
BradleySappington Nov 22, 2024
47afb26
Initial update with note about WFI optical model
Skyhawk172 Nov 27, 2024
ccf8935
Fixing NOTE in readme
Skyhawk172 Nov 27, 2024
4e8d564
Fixing NOTE in readme
Skyhawk172 Nov 27, 2024
709538b
Fixing NOTE in roman.rst
Skyhawk172 Nov 27, 2024
bd2f943
Fixing NOTE in roman.rst
Skyhawk172 Nov 27, 2024
948d3f2
Fixing NOTE in roman.rst
Skyhawk172 Nov 27, 2024
25bd96b
support for new sensing point and target phase map
obi-wan76 Nov 30, 2024
545d583
build(deps): update ipython requirement
dependabot[bot] Dec 1, 2024
6937630
increase the required version of pysiaf that support the new NIRCAM a…
obi-wan76 Dec 1, 2024
7fd0fbc
this commit adress mperrin comments by adding a function to utils to…
obi-wan76 Dec 2, 2024
16d3312
this commit improve efficiency by reading a new field point only when…
obi-wan76 Dec 4, 2024
aec66ba
Merge pull request #937 from spacetelescope/new_WFSC_field_point
obi-wan76 Dec 4, 2024
6cad95d
Merge pull request #936 from Skyhawk172/readme_update
obi-wan76 Dec 4, 2024
f8a4b21
Include all dependabot updates
BradleySappington Dec 4, 2024
5103fd8
Merge branch 'develop' into dependabot/pip/ipython-gte-8.27.0-and-lt-…
BradleySappington Dec 4, 2024
3c1bccd
Merge pull request #939 from spacetelescope/dependabot/pip/ipython-gt…
BradleySappington Dec 4, 2024
d7ec70d
update monthly trending plot to allow shifted date ranges for display…
mperrin Dec 4, 2024
eadb24e
Merge pull request #943 from mperrin/monthly_plot_pad
obi-wan76 Dec 4, 2024
fbe2069
update readme with advisory
BradleySappington Dec 5, 2024
b25b569
remove hash
BradleySappington Dec 5, 2024
dd27973
try using warning
BradleySappington Dec 5, 2024
2fbe9ab
update warning
BradleySappington Dec 5, 2024
3c018c3
update warning
BradleySappington Dec 5, 2024
39a2169
formatting
BradleySappington Dec 5, 2024
94537f5
formatting
BradleySappington Dec 5, 2024
2c8affb
Merge pull request #944 from BradleySappington/readme_advise
obi-wan76 Dec 5, 2024
7283bbb
update MAST query for OPDs to also check FP6. And include field point…
mperrin Dec 6, 2024
0929727
Merge pull request #945 from mperrin/more_fp6
obi-wan76 Dec 6, 2024
97ab658
pre-release
BradleySappington Dec 9, 2024
15b6435
update relnotes.rst
BradleySappington Dec 9, 2024
f13cbd2
doc update
BradleySappington Dec 9, 2024
9568cd3
update phrasing, fix paste error
BradleySappington Dec 9, 2024
207f724
Merge pull request #947 from spacetelescope/version_release
obi-wan76 Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0
with:
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}
secrets:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
retrieve_cache:
uses: spacetelescope/webbpsf/.github/workflows/retrieve_cache.yml@develop
uses: spacetelescope/webbpsf/.github/workflows/retrieve_cache.yml@beda656c80a0254e6f80649d9c9c49235634522f # v1.4.0
with:
minimal: true
tests:
Expand Down Expand Up @@ -49,20 +49,20 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ matrix.python }}

- name: Install Python dependencies
run: pip install tox tox-conda>=0.2

- name: Get WebbPSF Data
uses: actions/cache/restore@v4
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ needs.retrieve_cache.outputs.cache_path }}
key: ${{ needs.retrieve_cache.outputs.cache_key }}
Expand Down Expand Up @@ -90,6 +90,6 @@ jobs:

- name: Upload coverage to codecov
if: ${{ contains(matrix.toxenv,'-cov') }}
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
file: ./coverage.xml
25 changes: 19 additions & 6 deletions .github/workflows/download_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# - cron: "0 0 * * 0"
# jobs:
# download_webbpsf:
# uses: spacetelescope/webbpsf/.github/workflows/download_data.yml@develop
# uses: spacetelescope/webbpsf/.github/workflows/download_data.yml@beda656c80a0254e6f80649d9c9c49235634522f # v1.4.0
# with:
# minimal: true

Expand All @@ -27,8 +27,13 @@ name: download and cache data
on:
workflow_call:
inputs:
url:
description: URL to gzip file
type: string
required: false
default: https://stsci.box.com/shared/static/0dt9z6b927iqgtify2a4cvls9hvapi6k.gz
minimal:
description: minimal dataset
description: dataset is minimal (as opposed to full)
type: boolean
required: false
default: true
Expand All @@ -41,25 +46,33 @@ on:
value: ${{ jobs.download.outputs.cache_key }}
workflow_dispatch:
inputs:
url:
description: URL to gzip file
type: string
required: false
default: https://stsci.box.com/shared/static/0dt9z6b927iqgtify2a4cvls9hvapi6k.gz
minimal:
description: minimal dataset
description: dataset is minimal (as opposed to full)
type: boolean
required: false
default: true
schedule:
- cron: "0 0 * * 0"
release:
push:
branches:
- develop

env:
DATA_URL: https://stsci.box.com/shared/static/qxpiaxsjwo15ml6m4pkhtk36c9jgj70k.gz
FULL_DATA_URL: https://stsci.box.com/shared/static/qxpiaxsjwo15ml6m4pkhtk36c9jgj70k.gz
MINIMAL_DATA_URL: https://stsci.box.com/shared/static/0dt9z6b927iqgtify2a4cvls9hvapi6k.gz

jobs:
download:
name: download and cache WebbPSF data
runs-on: ubuntu-latest
steps:
- run: wget ${{ (github.event_name == 'schedule' || github.event_name == 'release') && env.MINIMAL_DATA_URL || inputs.minimal && env.MINIMAL_DATA_URL || env.DATA_URL }} -O ${{ runner.temp }}/webbpsf-data.tar.gz
- run: wget ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.url || env.MINIMAL_DATA_URL }} -O ${{ runner.temp }}/webbpsf-data.tar.gz
- run: mkdir ${{ runner.temp }}/data/
- run: tar -xzvf ${{ runner.temp }}/webbpsf-data.tar.gz -C ${{ runner.temp }}/data/
- id: cache_path
Expand All @@ -68,7 +81,7 @@ jobs:
run: echo "version=$(cat ${{ steps.cache_path.outputs.cache_path }}/webbpsf-data/version.txt)" >> $GITHUB_OUTPUT
- id: cache_key
run: echo "cache_key=webbpsf-data-${{ (github.event_name == 'schedule' || github.event_name == 'release') && 'mini' || inputs.minimal && 'mini' || 'full' }}-${{ steps.version.outputs.version }}" >> $GITHUB_OUTPUT
- uses: actions/cache/save@v4
- uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ runner.temp }}/data/
key: ${{ steps.cache_key.outputs.cache_key }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/retrieve_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# ...
# jobs:
# webbpsf_data_cache_key:
# uses: spacetelescope/webbpsf/.github/workflows/retrieve_cache.yml@develop
# uses: spacetelescope/webbpsf/.github/workflows/retrieve_cache.yml@beda656c80a0254e6f80649d9c9c49235634522f # v1.4.0
# with:
# minimal: true
# tests:
# needs: [ webbpsf_data_cache_key ]
# steps:
# ...
# - name: retrieve WebbPSF data cache
# uses: actions/cache/restore@v4
# uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
# with:
# path: ${{ runner.temp }}/webbpsf-data
# key: ${{ needs.webbpsf_data_cache_key.outputs.cache_key }}
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ abstract: >-
including its Wide Field Instrument and a preliminary
version of the Coronagraph Instrument.
license: BSD-3-Clause
version: 1.4.0
version: 1.5.0
16 changes: 14 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ WebbPSF: Simulated Point Spread Functions for the James Webb and Nancy Grace Rom
.. image:: https://img.shields.io/badge/ascl-1504.007-blue.svg?colorB=262255
:target: http://ascl.net/1504.007


**ADVISORY: WebbPSF IS BEING MIGRATED TO A NEW REPOSITORY: STPSF (Space Telescope PSF)**

**To reflect its broader support for Roman as well as James Webb, WebbPSF is being migrated to a new repository: STPSF (Space Telescope PSF).**
**This transition is being done in such a way as to maintain back-compatibility for existing code, and existing installations will continue to run as-is.**
**This transitional period is ongoing now. Please do not submit pull requests to this webbpsf repo at this time.**
**The STPSF github repository will soon be available for use instead.**

WebbPSF produces simulated PSFs for the James Webb Space Telescope, NASA's
flagship infrared space telescope. WebbPSF can simulate images for any of the
four science instruments plus the fine guidance sensor, including both direct
Expand All @@ -29,8 +37,12 @@ imaging, coronagraphic, and spectroscopic modes.
WebbPSF also supports simulating PSFs for the upcoming Nancy Grace Roman Space Telescope (formerly WFIRST),
including its Wide Field Instrument and a preliminary version of the Coronagraph Instrument.

Developed by Marshall Perrin, Joseph Long, Shannon Osborne, Robel Geda, Bradley Sappington, Marcio Meléndez,
Charles-Phillipe Lajoie, Jarron Leisenring, Neil Zimmerman, Keira Brooks,
.. note::

The current Roman WFI optical model was provided by Goddard Space Flight Center circa 2021 (the Cycle 9 reference data); a new optical model is currently being implemented in WebbPSF.

Developed by Marshall Perrin, Joseph Long, Shannon Osborne, Robel Geda, Bradley Sappington, Marcio Meléndez,
Charles-Philippe Lajoie, Jarron Leisenring, Neil Zimmerman, Keira Brooks,
Justin Otor, Trey Kulp, Lauren Chambers, Alden Jurling, and collaborators, 2010-2024.

Documentation can be found online at https://webbpsf.readthedocs.io
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Contents
jwst_measured_opds.ipynb
jwst_detector_effects.ipynb
jwst_matching_psfs_to_data.ipynb
jwst_ifu_datacubes.ipynb
jwst_large_psf.ipynb
jwst_optical_budgets.ipynb
jwst_psf_subtraction.ipynb
Expand Down
Loading
Loading