Skip to content

Commit

Permalink
Merge branch 'master' into jp_2071_sat
Browse files Browse the repository at this point in the history
  • Loading branch information
hbushouse authored Mar 8, 2022
2 parents dbc18b0 + faf115a commit 0d3c9f1
Show file tree
Hide file tree
Showing 46 changed files with 1,900 additions and 1,715 deletions.
38 changes: 35 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ associations

- Add fgsid option to set_telescope_pointing [#6717]

- Formalize the mkpool utility [#6746]

align_refs
----------

- Fixed behavior generating many unnecessary and slow logging warnings on
MIRI coronagraphy data, due to large contiguous regions of NON_SCIENCE
pixels [#6722]


cube_build
----------

Expand All @@ -30,7 +32,16 @@ cube_build
cube_skymatch
-------------

- Enabled support for mnemonic DQ codes in the ``cube_skymatch`` step. [#6733]
- Enabled support for mnemonic DQ codes in the ``cube_skymatch`` step.
[#6733, #6736]

datamodels
----------

- Added the new keyword "BKGMETH" for use in the ``skymatch`` step.
[#6736]

- Updated reset model to include NINTS, NGROUPS keywords and the subarray.schema [#6749]

extract_1d
----------
Expand All @@ -41,6 +52,9 @@ extract_1d
- Check for non-zero array size before computing sigma-clipped
statistics in IFU mode [#6728]

- Add separate behavior for 2D vs (3D data with only one image)
by passing appropriate integ value [#6745]

ramp_fitting
------------

Expand All @@ -51,12 +65,30 @@ ramp_fitting
- Adding feature to turn off calculations of ramps with good 0th group,
but all other groups are saturated. [#6737]

reset
-----

- Read NINTS and NGROUPS from model.meta for reset reference file and data instead of using the
shape of the data to define these values [#6749]

set_telescope_pointing
----------------------

- Update COARSE handling of FGS, psyiaf importing, model opening, and removal of stale code. [#6735]

- Set CRVAL* from GS_* for guider exposures. [#6751]

skymatch
--------

- Updated the step docs to clarify the details of the various global,
match, and global+match methods. [#6726]

- Enabled support for mnemonic DQ codes in the ``skymatch`` step. Also
changed default value for ``dqbits`` from 0 (exclude ALL flagged in DQ
pixels) to ``'~DO_NOT_USE+NON_SCIENCE'``. [#6733]
pixels) to ``'~DO_NOT_USE+NON_SCIENCE'``. [#6733, #6736]

- Updated to populate the "BKGMETH" keyword in output files. [#6736]

srctype
-------
Expand Down
20 changes: 20 additions & 0 deletions docs/jwst/associations/asn_make_pool.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. _asn-make-pool:

asn_make_pool
=============

Association pool creation from a list of FITS files can be done
either using the command line tool ``asn_make_pool`` or through the Python API
:py:func:`~jwst.associations.mkpool.mkpool`.

Command Line
------------

.. code-block:: shell
asn_make_pool --help
API
---

.. automodapi:: jwst.associations.mkpool
3 changes: 3 additions & 0 deletions docs/jwst/associations/commands.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _association-commands:

Association Commands
====================

Expand All @@ -7,3 +9,4 @@ Association Commands
asn_generate.rst
asn_from_list.rst
asn_gather.rst
asn_make_pool.rst
21 changes: 8 additions & 13 deletions docs/jwst/associations/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ information from a single proposal is captured in a single file known as the
Usage
=====

Users should not need to run the generator. Instead, it is expected
that one edits an already existing association that accompanies the
user's JWST data. Or, if need be, an association can be created based
on the existing :ref:`Stage 2 <asn-level2-example>` or
:ref:`Stage 3 <asn-level3-example>` examples. If, however, the user *does* need
to run the generator, the :ref:`asn-utilities` and :ref:`Association Generator <design-generator>` documentation will be helpful.
Users should not need to run the generator. Instead, it is expected that one
edits an already existing association that accompanies the user's JWST data. Or,
if need be, an association can be created based on the existing :ref:`Stage 2
<asn-level2-example>` or :ref:`Stage 3 <asn-level3-example>` examples. If,
however, the user *does* need to run the generator, :ref:`Association Generator
<design-generator>` documentation will be helpful.

Once an association is in-hand, one can pass it as input to a pipeline
routine. For example::
Expand Down Expand Up @@ -126,13 +126,8 @@ as their respective DataModels.
from jwst.datamodels import open as dm_open
container_model = dm_open('jw12345-o001_20210311t170002_image3_001_asn.json')
.. _asn-utilities:

Utilities
=========

Other useful utilities for creating and manipulating associations:

- :ref:`asn-from-list`
- :ref:`asn-generate`
- *many other TBD*
There are a number of utilities to create user-specific associations that are
documented under :ref:`Association Commands<association-commands>`.
9 changes: 6 additions & 3 deletions docs/jwst/resample/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ Use the ``resample_spec`` step for spectroscopic data. The dispersion
direction is needed for this case, and this is obtained from the
DISPAXIS keyword.

A full description of the drizzling algorithm, and parameters for
drizzling, can be found in the
`DrizzlePac Handbook <http://drizzlepac.stsci.edu>`_.
A full description of the drizzling algorithm can be found in
`Fruchter and Hook, PASP 2002 <https://doi.org/10.1086/338393>`_.
A description of the inverse variance map method can be found in
`Casertano et al., AJ 2000 <https://doi.org/10.1086/316851>`_, see Appendix A2.
A description of the drizzle parameters and other useful drizzle-related
resources can be found at `DrizzlePac Handbook <http://drizzlepac.stsci.edu>`_.
207 changes: 0 additions & 207 deletions docs/jwst/skymatch/README.rst

This file was deleted.

Loading

0 comments on commit 0d3c9f1

Please sign in to comment.