Commit summary from repository starlink
------------------------------------
(Tim Jenness) smurf: Make smf_check_quality 3 times faster
100.0% applications/smurf/libsmf/
(Tim Jenness) smurf: Fix minor type conversion of inadverten cast of 0 to float
100.0% applications/smurf/libsmf/
(Tim Jenness) smurf: Handle common quality states with special code
100.0% applications/smurf/libsmf/
(Tim Jenness) smurf: Initialise AST model with calloc rather than memset
100.0% applications/smurf/libsmf/
(David Berry) smurf: Ensure gap filling and data padding occurs immediately before filtering or FFTing.
100.0% applications/smurf/libsmf/
(Ed Chapin) smurf: updates to blank field data reduction
100.0% applications/smurf/examples/
(David Berry) ast: Use calloc instead of malloc+memset
100.0% libraries/ast/
Commits from repository starlink
-----------------------------
commit f161da41a8140e4072020dbaf3196bf5e23a7508
Author: Tim Jenness <[log in to unmask]>
Date: Fri Oct 8 15:57:57 2010 -1000
smurf: Make smf_check_quality 3 times faster
Do this by
1. Using one loop instead of two so not using striding
for that. Only unpack striding when reporting the
position of a bad quality sample.
2. Chain the sanity checks. Failing one test means that the
others can be skipped.
applications/smurf/libsmf/smf_check_quality.c | 134 ++++++++++++++++-------
1 files changed, 93 insertions(+), 41 deletions(-)
commit 0c65841047224262c0ecdfc77df872c849256708
Author: Tim Jenness <[log in to unmask]>
Date: Fri Oct 8 15:56:57 2010 -1000
smurf: Fix minor type conversion of inadverten cast of 0 to float
applications/smurf/libsmf/smf_tophat1.cgen | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 400285ea932c499a65932bab2b7390190ff885cf
Author: Tim Jenness <[log in to unmask]>
Date: Fri Oct 8 11:16:11 2010 -1000
smurf: Handle common quality states with special code
When counting quality bits we know that if the quality is 0 then
no bits will be set. We also know that BADDA+BADBOL is a very
common state so we check that quickly before doing the loop
over each bit.
Can make smf_qualstats 4 times faster depending on how many
quality bits are set.
applications/smurf/libsmf/smf_qualstats.c | 34 +++++++++++++++++++++++---
1 files changed, 30 insertions(+), 4 deletions(-)
commit 6d613e1cac21ebab5e6d0fe61a8adde428fc8443
Author: Tim Jenness <[log in to unmask]>
Date: Fri Oct 8 09:39:16 2010 -1000
smurf: Initialise AST model with calloc rather than memset
calloc can be instantaneous when using mmap for large memory
allocations whereas memset has to visit every single byte
explicitly and is much slower.
applications/smurf/libsmf/smf_model_create.c | 49 ++++++++++++++++++++----
1 files changed, 41 insertions(+), 8 deletions(-)
commit 9a04eb6b9f4e858065f8c61104d5772d89e1d53b
Author: David Berry <[log in to unmask]>
Date: Fri Oct 8 18:26:08 2010 +0100
smurf: Ensure gap filling and data padding occurs immediately before filtering or FFTing.
applications/smurf/libsmf/smf_calcmodel_noi.c | 19 +++++++++++-----
applications/smurf/libsmf/smf_clean_smfArray.c | 25 ++++++++++++---------
applications/smurf/libsmf/smf_mask_noisy.c | 7 ++++++
applications/smurf/libsmf/smf_model_create.c | 8 ++++++-
4 files changed, 41 insertions(+), 18 deletions(-)
commit 0d767192157582f60a4c1273f6f004ddccd84889
Author: Ed Chapin <[log in to unmask]>
Date: Fri Oct 8 09:40:46 2010 -0700
smurf: updates to blank field data reduction
Remove GAI from the models because it fails miserably in the
high-passed 450um data. However, the maps look fine, and I
can see from the flagmaps that the map-based despiking is getting
rid of the remaining problematic data that presumably would
be removed by the common-mode rejection.
Also use a slightly weaker high-pass filter. At 850um the old
value of 150 was seriously attenuating point-sources (like
25%). Going to 200 makes it more like 15% at 850 and 5% at
450.
I've turned on zeropad because I still get terrible ringing on
a test 450um data set if I don't (s4a20100218_00063).
Slightly less zero-masking, and now set iterations to -5 since
masking works properly if it converges faster.
.../smurf/examples/dimmconfig_blank_field.lis | 22 +++++++----------
1 files changed, 9 insertions(+), 13 deletions(-)
commit b52150f7894e2a7401c50491160a7d624990ccd7
Author: David Berry <[log in to unmask]>
Date: Fri Oct 8 13:27:05 2010 +0100
ast: Use calloc instead of malloc+memset
libraries/ast/memory.c | 50 ++++++++++++++++++++++++++++++++++------------
libraries/ast/memory.h | 8 +++++-
2 files changed, 43 insertions(+), 15 deletions(-)
|