Skip to content

Commit

Permalink
Update docs and docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
mairanteodoro committed Dec 11, 2024
1 parent 956e66d commit fb33951
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/roman/resample/arguments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ image.
not exist, the variance is set to 1 for all pixels (equal weighting).
If `weight_type=exptime`, the scaling value will be set equal to the
exposure time found in the image header.
If `weight_type=ivsky`, the scaling value will be determined per-pixel
using the inverse of the sky variance (VAR_SKY) array calculated in the
resample step for each input image. If the VAR_SKY array does
not exist, the variance is set to 1 for all pixels (equal weighting).

``--single`` (bool, default=False)
If set to `True`, resample each input image into a separate output. If
Expand Down
2 changes: 1 addition & 1 deletion romancal/resample/resample_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def build_driz_weight(
model : object
The input model.
weight_type : str, optional
The type of weight to use. Allowed values are 'ivm' or 'exptime'.
The type of weight to use. Allowed values are 'ivm', 'exptime', or 'ivsky'.
Defaults to None.
good_bits : str, optional
The good bits to use for building the mask. Defaults to None.
Expand Down

0 comments on commit fb33951

Please sign in to comment.