@@ -44,11 +44,11 @@ def do_correction(input_model, shutter_refname, wcs_refnames):
4444 Parameters
4545 ----------
4646 input_model : `~stdatamodels.jwst.datamodels.ImageModel`
47- Science data to be corrected. Updated in place.
47+ Science data to be corrected. Updated in- place.
4848 shutter_refname : str
4949 Name of MSAOPER reference file.
5050 wcs_refnames : dict
51- Dictionary of wcs reference file names.
51+ Dictionary of WCS reference file names.
5252
5353 Returns
5454 -------
@@ -78,21 +78,21 @@ def flag(input_datamodel, failed_slitlets, wcs_refnames):
7878 that for the MSA_FAILED_OPEN standard flag. All other science data
7979 arrays are unchanged.
8080
81- The input datamodel is modified in place.
81+ The input datamodel is modified in- place.
8282
8383 Parameters
8484 ----------
85- input_datamodel : DataModel
86- Input science data. Updated in place.
87- failed_slitlets : list of Slit
85+ input_datamodel : `~stdatamodels.jwst.datamodels.JwstDataModel`
86+ Input science data. Updated in- place.
87+ failed_slitlets : list of `~stdatamodels.jwst.transforms. Slit`
8888 Failed open slitlets.
8989 wcs_refnames : dict
9090 Reference file names used to calculate the WCS. Keys are reference
9191 file types; values are file paths.
9292
9393 Returns
9494 -------
95- input_datamodel : DataModel
95+ input_datamodel : `~stdatamodels.jwst.datamodels.JwstDataModel`
9696 Science data with DQ flags modified.
9797 """
9898 # Use the machinery in assign_wcs to create a WCS object for the bad shutters
@@ -142,7 +142,7 @@ def boundingbox_to_indices(data_shape, bounding_box):
142142 """
143143 Translate a bounding box to image indices.
144144
145- Takes a bounding_box (tuple of tuples: ((x1, x2), (y1, y2)) and
145+ Takes a `` bounding_box`` (tuple of tuples: `` ((x1, x2), (y1, y2))`` ) and
146146 a datamodel and calculates the range of indices in the X and Y dimensions
147147 of the overlap between the bounding box and the datamodel's data array.
148148
@@ -151,7 +151,7 @@ def boundingbox_to_indices(data_shape, bounding_box):
151151 data_shape : tuple
152152 The data shape for the input science datamodel.
153153 bounding_box : tuple of tuple
154- Bounding box returned from wcs object.
154+ Bounding box returned from WCS object.
155155
156156 Returns
157157 -------
@@ -176,7 +176,7 @@ def wcs_to_dq(wcs_array, flag):
176176 """
177177 Create a DQ subarray corresponding to a failed open slitlet.
178178
179- The created array has the value `flag` wherever the WCS coordinates
179+ The created array has the value `` flag` ` wherever the WCS coordinates
180180 are valid (non-NaN) and 0 otherwise.
181181
182182 Parameters
@@ -239,7 +239,7 @@ def create_slitlets(shutter_refname):
239239
240240 Returns
241241 -------
242- slitlets : list of Slit
242+ slitlets : list of `~stdatamodels.jwst.transforms. Slit`
243243 A list of slitlets. Each slitlet is a named tuple with elements
244244 ("name", "shutter_id", "dither_position", "xcen", "ycen", "ymin", "ymax",
245245 "quadrant", "source_id", "shutter_state", "source_name", "source_alias",
0 commit comments