Commit summary from repository starlink
------------------------------------
(Tim Jenness) smurf: Do not apply heater efficiencies if we are using older flats
16.3% applications/smurf/libsc2sim/
58.1% applications/smurf/libsmf/
3.3% applications/smurf/libsmurf/
22.1% applications/smurf/sc2da/
(Ed Chapin) smurf: fix broken maxlen multiple subarrays and/or down-sampling
70.2% applications/smurf/libsmf/
29.7% applications/smurf/libsmurf/
(Tim Jenness) ndf: Fix line breaking of long parameters in history
100.0% libraries/ndf/
(Ed Chapin) smurf: need to include strings.h
100.0% applications/smurf/libsmf/
Commits from repository starlink
-----------------------------
commit d545ca9367991b98d3c87c13f762dc569718010f
Author: Tim Jenness <[log in to unmask]>
Date: Thu Sep 8 13:58:41 2011 -1000
smurf: Do not apply heater efficiencies if we are using older flats
All new flatfield calculations store the reference resistor value
in the flatfield extension of data files and in the new refres
field of smfDA. Older flatfields will not have that value in
smfDA so the system assumes they do not need to have the
heater efficiency applied (it usually means they were calculated
by modifying the heater resistance directly).
This has required changes to the sc2store API to read and write
refres so quite a few fles have been tweaked with this patch.
applications/smurf/libsc2sim/sc2sim.h | 2 +
applications/smurf/libsc2sim/sc2sim_heatrun.c | 7 ++--
applications/smurf/libsc2sim/sc2sim_ndfwrdata.c | 7 +++-
applications/smurf/libsc2sim/sc2sim_ndfwrheat.c | 7 +++-
applications/smurf/libsc2sim/sc2sim_simulate.c | 5 ++-
applications/smurf/libsmf/smf.h.source | 10 ++++--
applications/smurf/libsmf/smf_check_smfDA.c | 1 +
applications/smurf/libsmf/smf_construct_smfDA.c | 13 +++++--
applications/smurf/libsmf/smf_create_smfDA.c | 1 +
applications/smurf/libsmf/smf_deepcopy_smfDA.c | 4 ++-
applications/smurf/libsmf/smf_dump_smfData.c | 6 ++++
applications/smurf/libsmf/smf_flat_assign.c | 17 ++++++++--
applications/smurf/libsmf/smf_flat_calcflat.c | 5 ++-
applications/smurf/libsmf/smf_flat_fastflat.c | 3 +-
applications/smurf/libsmf/smf_flat_mergedata.c | 3 +-
applications/smurf/libsmf/smf_flat_override.c | 2 +-
applications/smurf/libsmf/smf_flat_write.c | 12 +++++--
applications/smurf/libsmf/smf_flatten.c | 33 ++++++++++++++------
applications/smurf/libsmf/smf_open_file.c | 6 +++-
applications/smurf/libsmf/smf_typ.h | 1 +
applications/smurf/libsmurf/smurf_copyflat.c | 4 +-
applications/smurf/libsmurf/smurf_rawpress.c | 1 +
applications/smurf/sc2da/sc2store.c | 34 ++++++++++++++++++--
applications/smurf/sc2da/sc2store_pro.h | 6 ++++
24 files changed, 142 insertions(+), 48 deletions(-)
commit 793ecfe30b8aec995b7498218e75c0020fa3a32f
Author: Ed Chapin <[log in to unmask]>
Date: Thu Sep 8 13:00:37 2011 -0700
smurf: fix broken maxlen multiple subarrays and/or down-sampling
The "maxlen" parameter allows you to specify a maximum length
in time that you want to concatenate. This feature was broken
in two ways: (1) it was calculated before down-sampled steptime
was estimated, so it would give the wrong value if downsampling
was turned on, (2) it was being calculated multiple times, and
getting different answers, giving odd results primarily when
multiple subarrays were used. smf_grp_related has been patched
to have sensible behaviour.
applications/smurf/libsmf/smf.h.source | 7 ++--
applications/smurf/libsmf/smf_grp_related.c | 45 ++++++++++++++++++-----
applications/smurf/libsmf/smf_iteratemap.c | 17 ++-------
applications/smurf/libsmurf/smurf_sc2clean.c | 15 +-------
applications/smurf/libsmurf/smurf_sc2concat.c | 15 +-------
5 files changed, 48 insertions(+), 51 deletions(-)
commit 981caeab4462cb5c4b80f67a82ac171e03da44f2
Author: Tim Jenness <[log in to unmask]>
Date: Thu Sep 8 07:37:21 2011 -1000
ndf: Fix line breaking of long parameters in history
At line breaks INDENT (3) characters were being excised from long
parameters because the buffer offset was not correcting for the
INDENT.
libraries/ndf/ndf1_hwenv_a.f | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
commit 604937f97e9875e4c1b9fdacd654d70eda88c81a
Author: Ed Chapin <[log in to unmask]>
Date: Thu Sep 8 10:33:24 2011 -0700
smurf: need to include strings.h
applications/smurf/libsmf/smf_flat_params.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
|