Skip to content

Commit

Permalink
expand resample_group docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Oct 1, 2024
1 parent 130d42d commit cc89fa6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion romancal/resample/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,18 @@ def do_drizzle(self):
return self.resample_many_to_one()

def resample_group(self, input_models, indices):
"""Apply resample_many_to_many for one group
"""
Resample models at the provided indices.
This is used by outlier detection and will not blend metadata
and will not resample variance, error or exposure time.
Parameters
----------
input_models : ModelLibrary
indices : list
List of model indices to include in this resampling
"""
output_model = self.blank_output.copy()
output_model.meta["resample"] = maker_utils.mk_resample()
Expand Down

0 comments on commit cc89fa6

Please sign in to comment.