We examine cosmic-ray rejection methodology on data collected from InSb and
Si: As detectors. The application of an up-the-ramp sampling technique wit
h cosmic-ray identification and mitigation is the focus of this study. This
technique is valuable for space-based observatories which are exposed to h
igh-radiation environments. We validate the up-the-ramp approach on radiati
on-test data sets with InSb and Si: As detectors which were generated for S
IRTF. The up-the-ramp sampling method studied in this paper is over 99.9% e
ffective at removing cosmic rays and preserves the structure and photometri
c quality of the image to well within the measurement error.