Skip to content

Commit

Permalink
Merge pull request #27 from mfixstsci/add-thermal-curve-v4.0
Browse files Browse the repository at this point in the history
Adding v4.0 of Thermal Curve
  • Loading branch information
mfixstsci authored Jul 16, 2024
2 parents c033b35 + dde1ecb commit e2667a2
Show file tree
Hide file tree
Showing 3 changed files with 390 additions and 5 deletions.
15 changes: 11 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
1.2.0
1.3.0
=====

- Updates for JWST cycle 4
- Added v4.0 of version file
- CI/CD testing updates

1.2.0 (Nov 28, 2022)
====================

- Updates for JWST cycle 2
- New thermal file.
- Updated cache location for updated stray light files.

1.1.2
=====
1.1.2 (Mar 25, 2020)
====================

- -- New thermal file was added to package. Updated documentation and applied the level 1 INS JWST Community Standard to the repository.
- New thermal file was added to package. Updated documentation and applied the level 1 INS JWST Community Standard to the repository.
2 changes: 1 addition & 1 deletion jwst_backgrounds/jbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, ra, dec, wavelength, thresh=1.1):
self.cache_url = 'https://archive.stsci.edu/missions/jwst/simulations/straylight/sl_cache_2.0/' # Path to the online location of the background cache
self.local_path = os.path.join(os.path.dirname(__file__), 'refdata')
self.wave_file = 'std_spectrum_wavelengths.txt' # The wavelength grid of the background cache
self.thermal_file = 'thermal_curve_jwst_jrigby_v3.0.csv' # The constant (not time variable) thermal self-emission curve
self.thermal_file = 'thermal_curve_jwst_jrigby_v4.0.csv' # The constant (not time variable) thermal self-emission curve
self.nside = 128 # Healpy parameter, from generate_backgroundmodel_cache.c .
self.wave_array, self.thermal_bg = self.read_static_data()
self.sl_nwave = self.wave_array.size # Size of wavelength array
Expand Down
Loading

0 comments on commit e2667a2

Please sign in to comment.