Story

A user wants to co-add grism spectra from several different exposures within a visit (same PA) or from different visits (different PAs).

Inputs

Outputs

Computations

Drawbacks

Users need to keep in mind the limitations of co-adding 2D and 1D grism images! In the general case, this procedure cannot be done correctly because the spacial AND the spectral coordinate cannot be simultaneously interpolated on the same grid for each spectrum. You can do just the spacial axis (see emission line maps) or the spectral (and  the co-added spectrum will smooth over the spacial variations) but not both. There are corner cases when a reasonable co-addition can be done: