Branch: refs/heads/master
Home: https://github.com/Starlink/starlink
Commit: 427b2505bd236c8a2d6bb3bb1712672cb38893db
https://github.com/Starlink/starlink/commit/427b2505bd236c8a2d6bb3bb1712672cb38893db
Author: Tim Jenness <[log in to unmask]>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M applications/smurf/libsmf/smf_flat_fastflat.c
Log Message:
-----------
smurf: Handle case where we have a short flat ramp
If the ramp is truncated it is possible to only get 3 measurements
and this would fail in smf_stats1I. We now trap this situation
and calculate a simple mean and a grossly inaccurate standard
deviation so that we can have data for the fit.
Also simplified the counting to check for bad values as we extract
the heater data.
|