- Update act_id format to allow base 36 values in product name [#4282]
- Check output pixel numbers for NaN [#4409]
- Force data model type setting on save [#4318]
- Deprecate MIRIRampModel [#4328]
- Make memmap=False be the default in datamodels [#4445]
- Updated to work with the current output from photom [#4369]
- Updated to fill the asn table and asn pool names. [#4240]
- Added FGS_IMAGE to the exposure types to apply resampling in calwebb_image2.py [#4421]
- Make the naming and writing out of the resampled results to an i2d file in Image2Pipeline consistent between config and class invocations [#4333]
- Improved code to be more resilient to the case when none of the
image groups has valid sources that can be used for image alignment.
Now the code will gracefully skip the
tweakreg
step altogether in such situations. [#4299]
- Use float64 data types internally in
wfs_combine
so as not to cause an error inscipy.signal.convolve
. [#4432]
- Refactor target acquistion handling [#4254]
- Removed the emission step, documentation, and tests from the jwst package. [#4253]
- Fixed a bug so that the reference table column "PHOTMJ" is used for NIRSpec IFU exposures. [#4263]
- The pixel area is now gotten from the photom reference file. [#4270]
- Fixed bug which produces NaN results when only some input has NaN [#4256]
- Updated level 3 rules so that target acquisitions in the pool files are listed as exp_type = 'target_acquisition', not as science exposures. [#4223]
- Updated the list of allowed NIRCam CORONMSK values in model schemas. [#4234]
- Updated handling of error arrays for FGS Guider data, which has not been run through ramp fitting [#4309]
- Updated the EngDB web service url in
engdb_tools
. [#4187]
- Updated unit tests to use proper names for the MIRI LRS fixedslit subarray. [#4205]
- Updated
calwebb_spec3
to allow for processing of non-TSO NIRISS SOSS exposures. [#4194]
- Updated unit tests for new name of MIRI LRS slitless subarray ('SUBPRISM' -> 'SLITLESSPRISM'). [#4205]
- 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]
- Only allow science members in step parameter reference call [#4236]
- get_pars returns all available parameters for a step and all sub-steps [#4215]
- Added a
set_telescope_pointing
test for a NIRCam TSGRISM exposure. [#4187]
- Updated all transforms to be consistent with astropy v 4.0.
Transform classes define now two class variables -
n_inputs
and n_outputs`. The variablesinputs
andoutputs
are now instance variables (previously they were class variables). [#4216]
- Remove references to deprecated collections.* ABCs that will be removed in Python 3.8. [#3732]
- Remove
jwpsf
module. [#3791] - Update dependencies
python>=3.6
andnumpy>=1.16
. [#4134]
- Unit tests were added for the ami_analyze pipeline. [#4176]
- 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]
- 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]
- Unit tests were added. [#3930]
- Fixed the number of inputs to the spectral WCS - one expetced, two were passed. [#3827]
- Update to exclude target_acquisitions from processing in the calwebb_tso3 pipeline [#3759]
- 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]
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
andsiaf_yref_sci
to FITS keywordsXREF_SCI
andYREF_SCI
forNRC_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
, andNisImgPhotomModel
. [#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 theasdf.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 isasdf/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
, andNisImgApcorrModel
. [#4168]Removed old photom reference file data models. [#4173]
Add support for streaming reference files directly from S3. [#4170]
- Updated the documentation and added some logging to the step. [#3803]
- Close input files after creating the new outputs. [#3828]
- 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 aCubeModel
. [#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]
- 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]
- 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]
- Updated to apply gain factor to variance arrays. [#3794]
- Updates to documentation and log messages. [#3738]
Function is_irs2 has been removed from x_irs2.py. The version of this funtion that is now in lib/pipe_utils.py is used instead. [#4054]
- 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]
- Updated the documentation to include more details. [#3776]
- 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]
- Call is_irs2 from lib/pipe_utils.py instead of using PATTTYPE keyword to check for IRS2 readout mode. [#4054]
- This step uses keyword DISPAXIS and also copies it to output. [#3799]
Function is_irs2 has been removed from x_irs2.py. The version of this funtion that is now in lib/pipe_utils.py is used instead. [#4054]
- Fix
Step.print_configspec()
method. Add test. [#3768] - Integrate retrieval of Step parameters from CRDS. [#4090]
- Change properties
Step.pars
andStep.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
inStep.record_step_status()
ifsuccess == False
. [#4165]
- Some tests in general/nirspec/ were marked as "expected to fail" because the new reference files are not being selected. [#4180]
- Unit tests were added to tso_photometry. [#3909]
- Fixed a bug in a
try-except
block in thetweakreg
step. [#4133] - removed original
jwst.tweakreg
alignment code and changed step's code to call similar functionality fromtweakwcs
package. [#3689] - Fix deprecated call to photutils.detect_threshold [#3982]
- Reverted #3680 and #3709. [#3717, #3718]
- Three new unit tests were added. Two existing files were modified to split the tests into separate functions. [#3704]
- Fixed constraints on WFSC processing. [#3710]
- Fixed corruption of FITS tables with unsigned int columns. [#3680]
- Reverted over-restrictive constraints on WFSC processing. [#3691]
- Removed the rule creating associations for NIRSpec LAMP exposures in image modes. [#3693]
- A unique integer
source_id
is now assigned to all MOS background slitlets and NRS Fixed Slits. [#3584]
- 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]
The input DQ column is temporarily replaced by a zero-filled array of the right data type. [#3666]
- 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 toRESWHT
. [#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
- Checks for input from a SourceModelContainer. [#3649]
- 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]
- Checks for input from a SourceModelContainer. [#3649]
- Nircam
TSGRISM
extraction uses nowwcsinfo.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]
set_telescope_pointing
now retrieves CRPIX1/2 from the SIAF for Nircam TSGRISM observations and saves the values asmeta.wcsinfo.siaf_x(y)ref_sci
. These are used byextract_2d
as the source position on the detector. [#3646]
- 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]
calwebb_spec2
was changed to allow processing of exposures withEXP_TYPE=NRS_LAMP.
[#3603]calwebb_tso3
was changed to allow processing of exposures withEXP_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]
- Changed default value of good_pixel from 4 to 6 [#3638]
- Allow handling of non-science members in input associations [#3947]
- Fixed indentation bug in ami_analyze, so now all results are sufficiently close to the results of the stand-alone prototype. Other modifications include minor tweaks to more closely match those in the prototype code: changed some of initial values of the estimation parameters, and the filtering routine arguments. [#3487]
- Updated ami_analyze.cfg to use default value of zero for rotation. [#3520]
ami_analyze
now emits a RuntimeError if the input is _calints or if a throughput reference file cannot be found. [#3567]- Remove change to filtering routine arguments of #3487. [#3612]
- Fix a one pixel off problem with the NIRSpec NRS2 WCS transforms. [#3473]
- Raise a
ValueError
if the FWCPOS keyword isn't found in input NIRISS WFSS images. [#3574]
- Added the fxd_slit keyword as the third optical component [#3607]
- Orders the elements in Level3 naming in alphabetical order [#3614]
- Ensured that higher-order candidates only exist for Level2 associations [#3629]
- Improve member checking and removed duplicate product names [#3647]
- Unit tests were added to combine_1d. [#3490]
- Datamodels schemas should now be referenced with
http://stsci.edu/schemas/jwst_datamodel/image.schema
instead ofhttp://jwst.stsci.edu/schemas/image.schema.yaml
. The datamodelsBaseExtension
is renamed internally toDataModelExtension
. [#3437] - Added the new column "relresperror" to the "MiriImgPhotomModel" data model schema. [#3512]
- Added all
SlitModel
data arrays toMultiExposureModel
, so that all input arrays appear in the output ofexp_to_source
. [#3572]
- An indexing bug was fixed. [#3497]
- Pixels with wavelength = NaN are no longer used. [#3539]
- Remove flatfield step parameter flat_suffix. Add boolean step parameter save_interpolated_flat. Refactor flatfield internals. [#3493]
- Propagate uncertainty from FFLAT, SFLAT and DFLAT flat fields into science ERR array and VAR_FLAT array for NIRSpec spectroscopic modes. [#3538]
- Add multiprocessing capability to JumpStep [#3440]
- Replaced a white space in the names of grism objects with an underscore. [#3517]
- Update WFSS slit names to use simple integer value, and add accompanying unit test for NIRCAM grism extract_2d [#3632].
- Fix bug in master_background where the flux from the input x1d files was being combined instead of the background columns. [#3468]
- Use the surf_bright column instead of flux in master_background. [#3476]
- Allow blendmodels to ignore attributes in asdf tree not in schema [#3480]
- Add new rules for dates and times [#3554]
- Updated to zero-out pixels outside the wavelength range of flux calibration and set DQ=DO_NOT_USE. [#3475, #3489]
calwebb_spec3
was changed to allow processing of WFSS modes. [#3517]calwebb_image2
was changed to prevent 3D data from being sent toresample
. [#3544]calwebb_spec2
was changed to check for an error inassign_wcs
processing before executing thebackground
step. [#3574]
- Fixed a bug where pixeldq arrays were being transformed from DMS to detector coordinates for every group instead of just once
- Improved reliability when matching sky in images with very close sky footprints. [#3557]
- Capability to define reference overrides using a
DataModel
instead of a file path was added. [#3514]
- Mask and do not use NON-SCIENCE regions in tweakreg source detection. [#3461]
- The MIRI LRS WCS was updated to include an nverse transform. [#3106, #3360]
- The MIRI LRS spectral distortion is implemented now using a spline model. [#3106]
- Both
dither_point_index
andmetadata_id
are used now to match rows into the MSA meta file. [#3448] MissingMSAFileError
was renamed toMSAFileError
[#3448]- Added two parameters to
assign_wcs
,slit_y_low
andslit_y_high
, to allow changing the lower and upper limit of a Nirspec slit in the instrument model. [#2819]
- Verify the exposures to be used as background have the same NIRSpec GWA tilt values as the science exposures. If the background and science exposures do not have matching GWA tilt values, then skip the background subtraction step in calspec2. [#3252]
- Updated to apply the correction to the science data arrays, in addition to attaching as an extension. [#3319]
- Updated to apply the square of the correction to VAR_FLAT [#3427]
- Add the
master_background
subtraction step to the pipeline. [#3296]
- Fix call to wcs.invert, and don't weight flux by sensitivity if the net column is all zeros. [#3274]
- Modified to use the same columns as now written by extract_1d. The background parameter has been removed, since dividing by npixels is now done in extract_1d. [#3412]
- Fix
url_mapper
for fits-schema to allow URLs with of the format http://stsci.edu/schemas/fits-schema/ to map to the correct location in thejwst
package. [#3239] - Change
ModelContainer
to load and instantiate datamodels from an association on init. This reverts #1027. [#3264] - Keyword updates to data model schemas, including OBSFOLDR, MIRNGRPS, MIRNFRMS, and new PATTTYPE values. [#3266]
- Keyword updates to remove GS_STATE and change GUIDESTA to string type. [#3314]
- Added BUNIT keyword to gain and readnoise reference file schemas. [#3322]
- Update
dq_def.schema
,group.schema
andint_times.schema
to comply with ASDF standard. Remove unusedextract1d.schema
. [#3386] - Update schemas to add new READPATT and BAND allowed values. [#3463]
- This step can now use a reference image for IFU data. The reference image (for IFU) may be either 2-D or 3-D. When using a reference image for non-IFU data, background smoothing is now done after scaling the background count rate. [#3258]
- Unit tests were added for IFU data. [#3285]
- The target coordinates are used (for some modes) to determine the extraction location, i.e. correcting for nod/dither offset. For IFU, the areas of the source aperture and background annulus are computed differently. [#3362
- For IFU data for an extended source, the extraction parameters are assigned values so that the entire image will be extracted, with no background subtraction. For non-IFU data, a try/except block was added to check for a WCS that does not have an inverse. Some code (but not all) for the now-obsolete RELSENS extension has been deleted. [#3390]
- This now writes columns SURF_BRIGHT and SB_ERROR instead of NET and NERROR. The BACKGROUND column is divided by NPIXELS, so the units will be surface brightness. This step no longer looks for a RELSENS extension. [#3412]
- The keywords that describe the units for the FLUX and ERROR columns have been corrected; the units are now specified as "Jy". [#3447]
- An attribute
dither_point
was added to each slit in aMultiSlitModel
for MOS observations. [#3448]
- Propagate uncertainty from flat field into science ERR array and new VAR_FLAT array which holds the variance due to the flat field. [#3384]
- Modified the unit tests for
expand_to_2d
. [#3242] - Modified
MasterBackgroundStep
to be skipped ifBackgroundStep
was already run on the data. A newforce_subtract
parameter is added to override this logic. [#3263] MasterBackgroundStep
now can handle BACKGROUND association members that come from nodded exposures of the source. [#3311]- Updated the DQFlags of the background subtracted data to be DO_NOT_USE for the pixels that have wavelenghts outside the master background [#3326]
- Modified
expand_to_2d
to loop over pixels for WFSS data. [#3408]
- Fixed a bug that was causing the step to crash when calling the
cube_build
step for MIRI MRS data. [#3296]
- Updated to apply the correction to the science data and err arrays. [#3323]
- Updated to apply the square of the correction to VAR_FLAT [#3427]
- Updated to apply the flux calibration to the science data and err arrays. [#3359]
- Updated to compute a wavelength array for NIRISS SOSS exposures using spectral order 1. [#3387]
- Updated to apply the square of the correction to VAR_FLAT [#3427]
- Improved error messages when problems are encountered in extracting subarrays from reference files. [#3268]
- Fixed an issue with the spatial component of the WCS where the inverse
transform gave different results for negative
RA
and360 + RA
. [#3404]
- Fix
populate_model_from_siaf
to convert SIAF pixel scale from arcsec to degress for CDELTn keywords. [#3248] - Updates to prevent crashes when SIAF values needed for crpix or cdelt keywords are missing. [#3316]
- Convert FSM correction values from arcsec to radians. [#3367]
- Updated logic for background targets and nodded exposures. [#3310]
- A field
dither_point
was added to theSlit
structure. [#3448]
- Bug fix: Improved 2D Histogram (pre-match shift) algorithm in Python. [#3281]
- Fixed a bug in handling situations when no useable sources are detected in any of the input images. [#3286]
- Enhanced source catalog extraction algorithm to filter out sources outside the WCS domain of definition (when available). [#3292]
- Changed the type of exception raised when input has incorrect type. [#3297]
- Added parameter
background
; for background data, scale the flux, error, and net by 1 / NPIXELS, and include NPIXELS in the weight; changed the default forexptime_key
to "exposure_time". [#3180] - There is now a direct interface for calling the step. This function,
combine_1d_spectra
, may be passed either a ModelContainer or a MultiSpecModel object. Previously this function expected the name of an association file. [#3220]
- Add back BaseExtension class so url-to-schema mapping works again [#3227]
- If flux conversion is done, the FLUX is now set to zero (instead of copying the NET) if the wavelength of a pixel is outside the range of the RELSENS array. [#3190]
- Added a parameter
subtract_background
toextract_1d
indicating whether the local background should be subtracted. If None, the value in the extract_1d reference file is used. [#3157, #3186] extract_1d
can be run by callingextract.do_extract1d
and passing a dictionary of reference file information. [#3202]ref_dict
was None inrun_extract1d
, and a check for that was missing. [#3233]
- Added unit tests for expand_to_2d. Support CombinedSpecModel data for the 1-D user-supplied background spectrum. [#3188]
- Raise an exception when unable to compute converted times. [#3197]
- Added population of CDELTn keywords based on SIAF values and fixed bug in calculation of S_REGION corners. [#3184]
- Removed
transform_bbox_from_datamodels
in favor oftransform_bbox_from_shape
which now works by using last two dimensions in theshape
. [#3040] - Added velocity correction model to the WFSS and TSGRISM wcs pipelines. [#2801]
- Refactored how the pipeline handles subarrays in the WCS. Fixed a bug where the bounding box was overwritten in full frame mode. [#2980]
- Rename several functions dealing with calculating bounding boxes for clarity. [#3014]
- The bounding box of the MIRI LRS WCS is now in "image" coordinates, not full frame. [#3063]
- FITS WCS keywords are written out only if the observation is one of the IMAGING_MODES. [#3066]
- Updated docstrings and written documentation. [#2856, #2862]
- Fixed NIRISS WFSS catalog naming and implement NIRCam WFSS [#3515]
- Fixed treating non-science as TSO [#3601]
- Updated the stack_refs routine to update the output data model with metadata from the first input model. [#3111]
- Added dq flagging [#3804]
- Updated SourceContainer to wrap each exposure of a MultiExposure in a SlitModel, allowing pipeline code to simply treat each as DataModel. [#3438]
- Updated to recognize NRC_TSGRISM as WFSS data. SlitDataModel schema now specifies that the wavelength attribute should be 2-D, with a default value of 0. [#2911]
- Reverse order of RELSENS wavelength and response if the wavelengths are not increasing. [#3005]
- Add a test for constant wavelengths (or constant slope). [#3032]
- Fix issue regarding mixing of the syntax for Boolean arrays and for integer index arrays. [#3045]
- Changed the names of time-related keywords for extracted spectra. [#3058]
- A new NPIXELS column has been added to the output table. [#3108]
- Moved the update of meta information to the MultiSlitModel instead of the SlitModels that compose it. [#2988]
- Updated to not extrapolate for wavelengths that are out of bounds, either due to the WCS, or the wavelengths for a flat-field image cube, or the wavelengths for the fast-variation component. [#2775]
- Updated the docstrings [#2822]
- Updated twopoint_difference.py to not use groups with groupdq set to DO_NOT_USE [#3495]
set_telescope_pointing
now populates WCS keywords from the SIAF file. [#3066]
- Implement the basic step scaffolding for MasterBackgroundStep. [#3090]
- Record user-supplied master background in MSTRBKGD keyword [#3101]
- Add step documentation for master background subtraction [#3102]
- Make master background step actually work [#3110]
- Ramp-fitting returning zero for all background pixels; Issue #2848, JP-453.
- MIRI ramps with jumps flagged at group 2 result in slopes of 0 in the rate image; Issue #2233,
- Processing pixels in ramp fitting in which all groups are saturated; Issue #2885.
- Ramp Fit fails when only two groups are in a segment after cosmic ray hits.; Issue #2832, JP-450.
- Fixed a bug in which the keywords from the input were not included in the OPT output header.
- Simplified and clarified classification of segment types based on DQ flags.
- Added handling of ramps ending in 2 saturated groups.
- Fix units for Read Noise Variance in ramp_fit (PR #2767). This may needed to revised based on Mike Regan's comment when he closed this PR.
- Added check to handle integration-specific variances for too short segments.
- More robust handling of ramps flagged as DO_NOT_USE (PR #3016)
- Added a description of processing for IRS2 readout mode data. [#2889]
- Fixed a mistake in the time to read one pixel. [#2923]
- Add Step.record_step_status() method for use by this step (and any other pipeline or pipeline step) [#3110]
- Updated the docstrings [#3020]
- The LRSWavelength model was removed as obsolete. Instead a spline is used for the wavelength solution. [#3106]
- Use a more numerically stable
numpy.linalg.inv
instead of own matrix inversion. [#3033] - Bug fix: Use integer division in Python 3. [#3072]
set_telescope_pointing.py
: Update method of choosing pointing parameters. [#2900, #3008, #3022]set_telescope_pointing.py
: Allow undefined SIAF. [#3002, #3006]
- Updated rules based on actual OTB phasing data. [#2831]
- Renamed the configuration from wfs_combine to calwebb_wfs-image3. [#2831]
The 0.12.0 release is highlighted by the completion of updates for level-2b WFSS processing, support for non-linear wavelength sampling in IFU cubes, and several Associations updates to support WFS&C observations and background nodding. This release had 53 issues closed and a number of pull requests to improve PEP8 compliance, improve performance, enhance the testing, and remove all python2 dependencies. The release also included updated documentation of CRDS reference files.
- The bounding box for NIRSpec WCS objects was modified to include the edges of the pixels. [#2491]
- Updated assign_wcs to compute the sky footprint of MIRI MRS and NIRSpec IFU observations. [#2474]
- Fixed minor bug in catalog.utl.get_object_info [#2550]
- Fixed bug in bounding_box_from_shape function [#2558]
- Make GrismObject.partial_order a lookup dict on order and fix partial_order logic [#2643]
- Added unit tests for grism modes [#2649]
- Augmented the logic for choosing a Nirspec WCS mode to include a check for the value
of
GRATING
. IfGRATING=MIRROR
imaging mode is chosen reegardless ofEXP_TYPE
. [#2761] - Added new NIRSpec target acq exposure types NRS_WATA and NRS_MSATA to be assigned an imaging WCS. Removed NRS_BOTA. [#2781]
- Updated Level2 product naming to use pipeline's remove_suffix. [#2481]
- Added rule Asn_Lv2NRSIFUNod to handle nod backgrounds for NIRSpec IFU [#2532]
- Changed deprecated logger.warn to logger.warning. [#2519]
- Made NIRISS WFSS Level2 associations exclusive. [#2555]
- Added new rule Asn_Lv2WFSC and new association type wfs-image2, including a new configuration file "calwebb_wfs-image2.cfg" [#2599]
- Added new rule Asn_Lv2MIRLRSFixedSlitNod to handle LRS Fixed-slit nodding. [#2663]
- Updated MIRI Dark and Flat exposure keywords. [#2698, #2710]
- Updated coronagraphy associations to be integrations-based. [#2773]
- Updated NIRSpec Lamp calibrations to be grating-specific. [#2780]
- Added new NIRSpec target acq exposure types NRS_WATA and NRS_MSATA. [#2780]
- Added support for creating IFU Cubes with non-linear wavelength sampling, including use of FITS WCS "WAVE-TAB" standard. [#2598]
- Correctly writing TDIM2 to WCS-TABLE extension [#2719]
- Fixed error when making IFUCubes with weighting='miripsf' [#2719]
- Initialize arrays and tables from function args in model_base [#2502]
- Updated guidestar centroid table column data type [#2526]
- Updated BAND keyword allowed values to include cross-dichroic combinations [#2530]
- Truncate long schema validation error messages to 2000 characters [#2657]
- Various keyword changes, including new EXP_ONLY keyword [#2414]
- Added validate_required_fields to datamodels base, so that "fits_required" is checked when writing a model to a file [#2589]
- Added new keywords PWFSEET, NWFSEST, DATE-BEG and made updates to conform to FITS convention for units included in keyword comments [#2595]
- Updated allowed SUBARRAY names for FGS and NIRCam [#2667]
- Fixed bug in default value when schema contains combiner [#2668]
- Updates for python 2 to 3 conversion [#2678]
- Updated EXP_TYPE allowed values to include "MIR_DARKALL", "MIR_DARKIMG", "MIR_DARKMRS", "MIR_FLATALL", "MIR_FLATIMAGE-EXT", and "MIR_FLATMRS-EXT" [#2709]
- Updated the MiriResolutionModel schema to have column names match the actual reference files [#2757]
- Updated EXP_TYPE allowed values to remove NRS_BOTA and replace with NRS_MSATA and NRS_WATA [#2772]
- Clarifications of input and output file naming. [#2727]
- Added ValueError check when loading the input into a data model [#2543]
- Added or modified docstrings [#2769]
- WFSS modes updated to only extract specific orders, including delivery of updated wavelengthrange reference file [#1801]
- Fixed NIRSpec cutout size bug related to FITS 1-indexing [#2541]
- Added bounding box to WFSS output SlitModel [#2643]
- Added unit tests for grism modes [#2649]
- Bounding box sizes in extracted WFSS exposures now correctly cover entire extraction [#2799]
- NIRSpec data now automatically sanitizes the GWA_TILT keyword. [#2494]
- Modified the code to find the dispersion direction. [#2492]
- Changed the handling of zero wavelengths for NIRSpec data. [#2659]
- Updated step docs, as well as gain and readnoise reference file docs [#2689]
- Updated reffiles_utils to no longer issue warnings about mismatch in data array size params for NIRSpec IRS2 readouts. [#2664]
- Updated reffiles_utils to regard IRS2 science exposures as a match with normal sized reference files. [#2755]
- Added new Image2Pipeline configuration calwebb_wfs-image2.cfg for WFS&C processing [#2599]
- Renamed calwebb_tso_image2, calwebb_tso_spec2, and calwebb_nrslamp_spec2 configuration files to calwebb_tso-image2.cfg, calwebb_tso-spec2.cfg, and calwebb_nrslamp-spec2.cfg [#2639]
- Updated the order of MIRI steps in calwebb_detector1 and calwebb_dark. [#2669]
- Updated Image2Pipeline and Spec2Pipeline to properly return "cal" results. [#2676]
- Improved memory management; Corrected handling of groups in which all pixels have insufficient data for a first difference; Corrected handling of ramps whose initial group is saturated; Corrected handling of ramps whose single good segment is a single group. [#2464]
- Updated gain and readnoise reference file docs [#2689]
- Fixed bug so that an integration-specific (_rateints) product is only created when NINTS>1; Skip MIRI first and/or last groups when flagged as DO_NOT_USE. [#2760]
- Fixed bug in which the number of segments returned exceeds the number of groups, which had occurred for a MIRI dataset in which the first or last group was flagged as DO_NOT_USE and also flagged as a jump. [#2834]
- Made finding the dispersion axis more robust [#2644]
- Updated step docs, as well as saturation reference file docs [#2689]
- Made skymatch to not fail in 'match' mode when images do not overlap [#2803]
- Fixed bug in logging configuration for set_telescope_pointing.py. [#2521]
- NIRISS models updated to allow for negative filter wheel rotations [#1801]
- Made partial_order attribute of GrismObject as lookup dict on order [#2643]
- Modified default configuration settings: increased "kernel_fwhm" from 2.0 to 2.5, increased "snr_threshold" from 3 to 10, and changed "enforce_user_order" from True to False. [#2510]
- Updated tweakreg to use
wcs.available_frames
to get the names of the frames in a WCS pipeline. [#2590, #2594, #2629] - Made the code more robust with images without sources [#2796]
- Made the logic for computations of footprints more reliable for the case of 1 or 2 sources in a catalog. [#2797]
- Added two new parameters:
brightest
to keep the topbrightest
(based on the flux) objects in the object catalog after all other filtering has been applied andpeakmax
to exclude sources with peak pixel values larger or equal topeakmax
.brightest
can be used to eliminate false detections andpeakmax
can be used to filter out saturated sources (instrument-specific value).[#2706]
The 0.11.0 release is highlighted by the inclusion of steps for resampling spectral images and time series grism observations. In addition, this release had 39 issues closed and a number of pull requests to improve PEP8 compliance, improve performance, and enhance the testing. The release also included updated documentation for acessing CRDS when running the JWST pipeline and updates to the reference file documentation.
- Fixed a bug in
get_msa_open_slits
which prevented the code from finding the msa metafile. [#2322] - Fixed a bug in computing the slit_y locations for Nirspec MSA slitlets with more than one shutter. [#2325]
- Added a wavelength correction for the effective velocity of JWST relative to the barycenter. [#2359, #2406]
- Updated NRC_TSGRISM to assign source location to set pixel [#2286]
- Fixed bug in assign_wcs for ordering of slits for NIRSPEC MSA data [#2366]
- Implemented support for reading and writing WCS information in the WAVE-TAB format [#2350]
- Fixed bug in the ording of cube footprint [#2371]
- Implemented Rule for Level 2 Nirspec Fixed Slit background. [#2307]
- Included Handling of both numeric and named slits for Level3 products. [#2330]
- Removed MIR_LRS-SLITLESS and NIS_SOSS from the permanent TSO list. [#2330]
- Implemented new Level2a rule Asn_Lv2NRSLAMP. [#2177]
- Allowed "N/A" as a valid, but False, value in association pools. [#2334]
- Implemented new association types tso_image2 and tso_spec2. [#2431]
- Synced code version with jwst package version. [#2458]
- Implemented source naming for NIRISS WFSS Level3 associations [#2443]
- Fixed a bug in
bar_shadow.py
interpolate() that caused array index to be nan [#2384]
- Removed spaxel.py and replace class with set of arrays [#2472]
- reworked in mapping of the detector pixel to the sky spaxel so that consistent code can be used for both MIRI and NIRSPEC data [#2472]
- Removed some loops in cube_cloud.py for finding which pixels fall in roi of spaxels [#2472]
- In a test with MIRI data there was a 13% improvement in the speed of making IFUcubes. In the NIRSPEC case there was a 40% improvment in the speed of creating IFUCubes.
- Fixed bug in cube_build.blot_images that was failing for NIRSPEC IFU images with the slide position defined in the WCS [#2345]
- Updated the construction of cube footprint [#2371, #2364, #2327]
- Initialize arrays and tables from function args in model_base [#2351]
- Added a new info method, similar to the method in astropy fits [#2268]
- The
DataModel
__hasattr__
method has been replaced byhasattr
. The former created the attribute when it was accessed. [#2275] - Improved error messaging when loading fits files into data models. [#2298]
- New warning message when opening a file without DATAMODL keyword. [#2248]
- Included the ability to handle 'allOf' when reading in schemas [#2407]
- Removed BaseExtension class, it was not being used [#2430]
- NRC_TSGRISM implemented with set source location and extraction options [#1710, #1235]
- Fixed step calling error for unreferenced attribute [#2463]
- Fixed type specification for optional grism mode inputs [#2467]
- NRC_TSGRISM extract_height honored, bounding box fixed [#2643]
- Unit tests added to the first frame step [#2365]
- Updated pyparsing to v 2.2.0 [#2382]
- Updated fits_generator to ignore files begining with '.' [#2333]
- Unit tests added for lastframe [#2412]
- Added support for correcting NIRISS SOSS mode exposures [#2588]
- Fixed a typo in calspec2 which prevented the srctype step from running. [#2318]
- Enabled resample_spec to run on MIRI fixed slit data in calspec2 [#2424]
- Implemented new Spec2Pipeline configuration for NIRSpec LAMP exposures [#2174]
- Implemented specific exit status for "no science on detector" [#2336]
- Enabled extract_2d for NRC_TSGRISM [#2460]
- Turn off resample in Spec2Pipeline for multi-integration cube data [#2456]
- The memory performance of refpix was improved [#2315]
- Fixed spectral resampling so the 2D output for MIRI LRS and NIRSpec MSA has the correct orientation and a dispersion that matches the input, i.e. non-linear if a prism is in the optical path. [#2348]
- Fixed bug in spectral resampling of MIRI LRS where the interpolation of the dispersion was failing. [#2422]
- Added a new script for adding or removing files from an association [#2468]
- Fixed bug to allow not being able to find a default input file name [#2461]
- Removed python2-3 dependency in crds_client [#2593]
- Updated the utc_to_tdb module to compute the radial velocity (m / s) of JWST with respect to the solar-system barycenter, and to assign that value to keyword VELOSYS in the SCI header of the specified FITS file. [#2359]
- Updated tso_photometry step for SUB64P/WLP8 mode #2358
- Fixed the coordinate frames in the output of tweakreg. [#2404]
- Updated TPCorr to work with V2, V3 in arcseconds instead of degrees [#2342]
The 0.10.0 release is a snapshot release for DMS testing. The release is highlighted by the inclusion of steps for time series observations. This release had 39 closed issues included a number of improvements to the wavelength calibration for NIRSPEC observations.
- Improved the error handling for missing entries in the wavelengthrange reference file [#2213]
- Fix to correctly calculate the wavelength for NIRSPEC Prism observations [#2163]
- process NRS_AUTOFLAT as a MOS observation [#2166]
- fix wavelength units of inverse transform [#2158]
- fix input units to meters when filter=OPAQUE [#2134]
- Implement NIRSpec MSA Background Nod rules #2249
- When reference files are validated, they can either throw a warning or an error if strict validation is set. [#2210]
- Update schema enum lists for keywords FILTER, PUPIL, READPATT, and EXP_TYPE [#2226]
- Enable and improved tests for datamodel schemas using the ASDF schema checker [#2240, #2241]
- Update IRS2 data model and add regredssion tests [#2295]
- An example has been added to the model_blener documentation for how to blend meta information [#2206]
- Added documentation for the msaflagopen step [#2283]
- Update the calwebb_tso1 cfg file to skip the firstframe step and save the corrected ramp product. [#2280]
- Implement TSO-specific Level2 configurations [#2297]
- Corrected handling of ramps whose first differences are all NaNs (such as ramps with all groups saturated) [#2289]
- Refpix has been updated to handle subarray exposures [#2207]
- Fixed update_fits_wcs() to work on DrizProductModels [#2222]
- A major re-factoring of the resampling code to allow for spectroscopic resampling [#2245]
- The performance of the RSCD step was improved by a factor of 20 [#2247]
- Update to the RSCD documentation [#2211]
- A script was written to read the UTC columns (at the start, middle, and end of each integration) from the INT_TIMES table, call the timeconversion module to compute the corresponding times at the solar-system barycenter (TDB), and update the columns in the INT_TIMES table. [#2285]
- Fix the problem in timeconversion that was caused by a recent addition of a new field to the ephemeris by retrieving only the fields needed. [#2296]
- MIRI aperture photometry was added to the TSO photometry [#2215]
- Added a new model for setting parameters for TSO photometry [#2239]
- Add a reference file for use with tso_photometry [#2254, #2264]