Jwst

Latest version: v1.17.1

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 16

0.14.1

===================

associations
------------

- Updated level 3 rules so that target acquisitions in the pool files are listed as
exp_type = 'target_acquisition', not as science exposures. [4223]

datamodels
----------

- Updated the list of allowed NIRCam CORONMSK values in model schemas. [4234]

flat_field
----------
- Updated handling of error arrays for FGS Guider data, which has not been run
through ramp fitting [4309]

lib
---

- Updated the EngDB web service url in ``engdb_tools``. [4187]

photom
------

- Updated unit tests to use proper names for the MIRI LRS fixedslit
subarray. [4205]

pipeline
--------

- Updated ``calwebb_spec3`` to allow for processing of non-TSO
NIRISS SOSS exposures. [4194]

resample_spec
-------------

- Updated unit tests for new name of MIRI LRS slitless subarray
('SUBPRISM' -> 'SLITLESSPRISM'). [4205]

rscd
----

- Updated to handle science data and reference files that use the old
'SUBPRISM' name for the MIRI LRS slitless subarray and update the values
to 'SLITLESSPRISM'. [4205]

stpipe
------

- Only allow science members in step parameter reference call [4236]

- get_pars returns all available parameters for a step and all sub-steps [4215]

tests_nightly
-------------

- Added a ``set_telescope_pointing`` test for a NIRCam TSGRISM exposure.
[4187]

transforms
----------

- Updated all transforms to be consistent with astropy v 4.0.
Transform classes define now two class variables - ``n_inputs``
and `n_outputs``. The variables ``inputs`` and ``outputs`` are
now instance variables (previously they were class variables). [4216]

0.14.0

===================

- Remove references to deprecated collections.* ABCs that will be removed in
Python 3.8. [3732]

- Remove ``jwpsf`` module. [3791]

- Update dependencies ``python>=3.6`` and ``numpy>=1.16``. [4134]


ami
---

- Unit tests were added for the ami_analyze pipeline. [4176]

assign_wcs
----------

- This step populates keyword DISPAXIS. [3799]

- For NIRISS WFSS data, the wavelengths were incorrect because the function
for horizontally oriented spectra was called for GR150R, and the function
for vertically oriented spectra was called for GR150C. [3891]


associations
------------
- Update level 3 rules to create image3 associations for FGS_IMAGE exposures [3920]

- Add mir_taconfirm to the target acquisition exp_types [4135]

- Exclude mir_lrs-slitless calibration data from level 3 processing [3990]

- Fix in load_as_asn for UTF-8 errors [3942]

- Update association rules so that MIMF exposures are processed as WFS observations [4034]

- asn_from_list fills the level2 member exptype correctly if the input is a tuple [2942]

- Update rules to make level 3 associations for slitless LRS mode [3940]

- Update rules so that nOPS5 observations with "ALONG-SLIT-NOD" dither
pattern generates level 3 associations [3912]

- Update rules to have NRS_IFU backgrounds in science associations [3824]

- Return filename with extensions based on file type [2671]

- Ensured that all target acqs are processed by Level 2 [3765]

- Add a check that backgrounds are included in level 3 associations [3678]

- Will not constrain on uniqueness of the MSACONFIG keyword [3770]

- Process non-science exposures taken during WFS&C observations [3947]

barshadow
---------

- Update barshadow position [3897]

- Unit tests were added. [3930]

combine_1d
----------

- Fixed the number of inputs to the spectral WCS - one expected, two were passed. [3827]

calwebb_tso3
-------------

- Update to exclude target_acquisitions from processing in the calwebb_tso3 pipeline [3759]

cube_build
----------

- Schema for the ``WAVE-TAB`` WCS no longer requires fixed-length arrays for
the wavelength "coordinates". The ``'nelem'`` field therefore is no longer
necessary and has been removed. [3976]

- To support outlier detection the blotting from the sky back to the detector was
improved [4301]

datamodels
----------

- Update to prevent target_acquisitions from processing in the spec3 pipeline [3777]

- Use public API of jsonschema to ease upgrade to 3.x. [3705]

- Fixed corruption of FITS tables with unsigned int columns. [3736]

- Fixed missing TUNITn keywords caused by changes for unsigned int columns. [3753]

- Write ``siaf_xref_sci`` and ``siaf_yref_sci`` to FITS keywords ``XREF_SCI``
and ``YREF_SCI`` for ``NRC_TSGRISM`` exposures. [3766]

- Updated multiexposure.schema to just import slitdata.schema instead of explicitly
specifying all of its attributes. [3809]

- Improved ``properties._cast()`` to be able to handle structured arrays
schemas without a specified (in schema) shape. In addition, ``ndim``
can be used to constrain the dimensionality of data in structured array
fields. [3976]

- Fixed an issue with the fix from [3976] that was affecting "casting" to
data types defined by schema of structured arrays when input values are not
native Python types (tuples). [3995]

- Fixed an issue with the fix from [3995] that was affecting "casting" to
data types defined by schema of structured arrays when input values are
already structured arrays. [4030]

- Added "MIR_TACONFIRM" to the list of allowed EXP_TYPE values in the
keyword schemas. [4039]

- Added new imaging-specific photom reference file data models ``FgsImgPhotomModel``,
``MirImgPhotomModel``, ``NrcImgPhotomModel``, and ``NisImgPhotomModel``. [4052]

- Add EXP_TYPE and P_EXP_TY keywords to new imaging photom reference file
data model schemas. [4068]

- Introduced a flag ``ignore_missing_extensions=True`` to the `DataModel` initializer
which is propagated to the ``asdf.open`` function. It allows control over a warning
asdf issues when opening files written with an extension version older than the
extension version the file was written with. An example message is

``asdf/asdf.py:202: UserWarning: File was created with extension
'astropy.io.misc.asdf.extension.AstropyAsdfExtension' from package astropy-4.0.dev24515,
but older version astropy-3.2.1 is installed``. [4070]

- Added new spectroscopic mode photom reference file data models. [4096]

- Added new imaging mode aperture correction (apcorr) reference file data
models ``FgsImgApcorrModel``, ``MirImgApcorrModel``, ``NrcImgApcorrModel``,
and ``NisImgApcorrModel``. [4168]

- Removed old photom reference file data models. [4173]

- Add support for streaming reference files directly from S3. [4170]

exp_to_source
-------------

- Updated the documentation and added some logging to the step. [3803]

- Close input files after creating the new outputs. [3828]

extract_1d
----------

- Parameters were added to ``ExtractBase.__init__``, and most of the initialization
is done there rather than in the subclasses. [3714]

- This step uses keyword DISPAXIS. [3799]

- Fixed a bug in ``pixel_area`` when the input is a ``CubeModel``. [3827]

- Computing the solid angle of a pixel is only done for the first integration
of a multi-integration exposure, and it's not done at all for WFSS data
[3863]

extract_2d
----------

- For grism data, this step copies keyword DISPAXIS from input to output. [3799]

- For NIRCam TSO data, wavelengths are computed and assigned to the
wavelength attribute. [3863]

- Improved the computation of ``S_REGION`` of a slit. [4111]

flat_field
----------

- For NIRSpec spectroscopic data, the flat_field step needs the dispersion
direction. The step now gets that information from keyword DISPAXIS.
[3799, 3807]

- The test_flatfield_step_interface unit test in test_flatfield.py has been
temporarily disabled. [3997]

gain_scale
----------

- Updated to apply gain factor to variance arrays. [3794]

group_scale
-----------

- Updates to documentation and log messages. [3738]

ipc
---

Function is_irs2 has been removed from x_irs2.py. The version of this function
that is now in lib/pipe_utils.py is used instead. [4054]

lib
---

- A function to determine the dispersion direction has been added. [3756]

- Function is_irs2 has been added to pipe_utils.py, and unit tests were
added to tests/test_pipe_utils.py. [4054]

master_background
-----------------

- Updated the documentation to include more details. [3776]

photom
------

- Add unit tests [4022]

- The code was modified to work with the new photom reference files. [4118]

- Two bugs were fixed. For NIRSpec IFU data the code was trying to access
an attribute of a "slit", but there were no slits for this type of data.
For NIRISS extended-source data, the code tried to divide by the pixel
area, but the pixel area was undefined. [4174]

- NRS_BRIGHTOBJ data were incorrectly treated the same as fixed-slit, but
the data models are actually not the same. Also, the logic for pixel area
for fixed-slit data was incorrect. [4179]

refpix
------

- Call is_irs2 from lib/pipe_utils.py instead of using PATTTYPE keyword to
check for IRS2 readout mode. [4054]

resample_spec
-------------

- This step uses keyword DISPAXIS and also copies it to output. [3799]

saturation
----------

Function is_irs2 has been removed from x_irs2.py. The version of this function
that is now in lib/pipe_utils.py is used instead. [4054]

stpipe
------

- Fix ``Step.print_configspec()`` method. Add test. [3768]

- Integrate retrieval of Step parameters from CRDS. [4090]

- Change properties ``Step.pars`` and ``Step.pars_model`` to methods. [4117]

- Fix bug in ``Step.call()`` where a config file referencing another config
file was not merged into the final spec properly. [4161]

- Set ``Step.skip = True`` in ``Step.record_step_status()`` if
``success == False``. [4165]

tests_nightly
-------------

- Some tests in general/nirspec/ were marked as "expected to fail" because
the new reference files are not being selected. [4180]

tso_photometry
--------------

- Unit tests were added to tso_photometry. [3909]

tweakreg
--------

- Fixed a bug in a ``try-except`` block in the ``tweakreg`` step. [4133]

- removed original ``jwst.tweakreg`` alignment code and changed step's code
to call similar functionality from ``tweakwcs`` package. [3689]

- Fix deprecated call to photutils.detect_threshold [3982]

0.13.7

===================

datamodels
----------

- Reverted 3680 and 3709. [3717, 3718]

flatfield
---------

- Three new unit tests were added. Two existing files were modified to
split the tests into separate functions. [3704]

0.13.6

===================

associations
------------

- Fixed constraints on WFSC processing. [3710]

datamodels
----------

- Fixed corruption of FITS tables with unsigned int columns. [3680]

0.13.5

===================

associations
------------

- Reverted over-restrictive constraints on WFSC processing. [3691]

- Removed the rule creating associations for NIRSpec LAMP exposures in image modes. [3693]

0.13.4

===================

assign_wcs
----------

- A unique integer ``source_id`` is now assigned to all MOS background slitlets
and NRS Fixed Slits. [3584]

associations
------------

- MIRI MRS dedicated background exposures are now listed as science observations in
a new association. [3542]

- Generate will no longer merge Level2 associations by default [3631]

- Prevent inclusion of data files with exp_type="NIS_EXTCAL" in the association files [3611]

- Implemented Level 2 re-sequencing to prevent overwriting of associations [3674]

- Implemented Level 2 background exposure reprocessing [3675]

combine_1d
----------

The input DQ column is temporarily replaced by a zero-filled array of
the right data type. [3666]

datamodels
----------

- Changed PATTSIZE keyword data type from float to string. [3606]

- Added enumeration of allowed values of ``FXD_SLIT`` to the core schema. [3584]

- Changed ``WHT_TYPE`` keyword to ``RESWHT``. [3653]

- Add missing pattern/enum values to keyword_pband, keyword_pfilter, keyword_channel [3653]

- New keywords [3653]
- ``DSETSTRT``
- ``NUMDSETS``
- ``DITHDIRC``
- ``DITHOPFR``
- ``DITHPNTS``
- ``MRSPRCHN``
- ``NDITHPTS``
- ``DWTSCL``
- ``DOUTUN``
- ``RESBITS``
- ``DFVAL``
- ``DPIXFR``
- ``DKERN``
- ``SCIEXT``
- ``CONEXT``
- ``WHTEXT``

extract_1d
----------

- Checks for input from a SourceModelContainer. [3649]

exp_to_source
-------------

- Changed `exp_to_source`` to use ``source_id`` to group exposures. [3584]

- Removed the enum list for the SUBPXPAT keyword to allow validation of any value. [3616]

extract_1d
----------

- Checks for input from a SourceModelContainer. [3649]

extract_2d
----------

- Nircam ``TSGRISM`` extraction uses now ``wcsinfo.siaf_x(y)ref_sci`` as the source position
on the detector. [3646]

- For grism data, a wavelength array is computed and saved, and the variance
arrays are extracted and copied to output. [3664]

lib
---

- ``set_telescope_pointing`` now retrieves CRPIX1/2 from the SIAF for Nircam TSGRISM
observations and saves the values as ``meta.wcsinfo.siaf_x(y)ref_sci``. These are used
by ``extract_2d`` as the source position on the detector. [3646]

outlier_detection
-----------------

- Changed default value of good_pixel from 4 to 6 [3638]

- Don't use NaNs or masked values in weight image for blotting. [3651]

- When calling cube_build for IFU data fixed selecting correct channels (MIRI) or
correct grating (NIRSPEC) [4301]

pipeline
--------

- ``calwebb_spec2`` was changed to allow processing of exposures
with ``EXP_TYPE=NRS_LAMP.`` [3603]

- ``calwebb_tso3`` was changed to allow processing of exposures
with ``EXP_TYPE=MIR_IMAGE.`` [3633]

- ``calwebb_tso3`` was changed to allow tso photometry processing of exposures
with (``EXP_TYPE=MIR_IMAGE`` and tsovisit = True) or with (``EXP_TYPE=MIR_IMAGE``) [3650]

- Changed the default value of good_pixel from 4 to 6 for all outlier
detection steps and both resample steps [3638]

resample
--------

- Changed default value of good_pixel from 4 to 6 [3638]

wfs_combine
-----------

- Allow handling of non-science members in input associations [3947]

Page 14 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.