Commit summary from repository starlink
------------------------------------
(Tim Jenness) smurf: Do not let a threaded open return a mapped NDF
100.0% applications/smurf/libsmf/
(Tim Jenness) smurf: "index" was already defined. count is now size_t
100.0% applications/smurf/libsmf/
(Tim Jenness) smurf: Move some GRP/NDG calls earlier in loop to avoid thread issue
100.0% applications/smurf/libsmf/
(Tim Jenness) smurf: Add null pointer check to smf_check_flat
100.0% applications/smurf/libsmf/
(Ed Chapin) smurf: first working version of TMP generic template fitting model
4.2% applications/smurf/examples/
95.3% applications/smurf/libsmf/
(Ed Chapin) smurf: another typo in SC/19
100.0% applications/smurf/docs/sc19/
(David Berry) smurf: Guard against errors causing segvios in sc2ast.c
100.0% applications/smurf/sc2da/
(Tim Jenness) smurf: Do not try to get a scale size frequency when the telescope is not moving
100.0% applications/smurf/libsmf/
Commits from repository starlink
-----------------------------
commit 4dc0fc467c8031b9347b58be6e935c4a5e12782d
Author: Tim Jenness <[log in to unmask]>
Date: Thu Apr 21 14:55:18 2011 -1000
smurf: Do not let a threaded open return a mapped NDF
If smf_open_file has mmapped the data using NDF then smf_close_file
will not longer be thread-safe. In thread open we now do a deepcopy
to ensure that we can call smf_close_file in a thread.
applications/smurf/libsmf/smf_open_file.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
commit 82affbad7562097d0316f2786358aeb2631e7686
Author: Tim Jenness <[log in to unmask]>
Date: Thu Apr 21 14:54:37 2011 -1000
smurf: "index" was already defined. count is now size_t
"index" was being redefined as an int in some of the FTS code.
applications/smurf/libsmf/smf_open_file.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 3594f864aa3f0f13debc0b5064c365cf952957cf
Author: Tim Jenness <[log in to unmask]>
Date: Thu Apr 21 14:52:07 2011 -1000
smurf: Move some GRP/NDG calls earlier in loop to avoid thread issue
We open a new file inside a thread and then call some NDG/GRP
routines which might possible clash in the Fortran layer. This only
happens for the first time in the loop so move it before we
start the threaded open.
applications/smurf/libsmf/smf_concat_smfGroup.c | 41 ++++++++++++---------
1 files changed, 23 insertions(+), 18 deletions(-)
commit 5ba0f7cf7ea70e06cb12157333dd86e0211d7811
Author: Tim Jenness <[log in to unmask]>
Date: Thu Apr 21 14:50:59 2011 -1000
smurf: Add null pointer check to smf_check_flat
applications/smurf/libsmf/smf_check_flat.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
commit 17cfe46e4f7eae6bc4fdc74601a326a36abdabd5
Author: Ed Chapin <[log in to unmask]>
Date: Thu Apr 21 15:36:04 2011 -0700
smurf: first working version of TMP generic template fitting model
This model has been set up so that it is relatively easy to fit
templates based on things like the JCMTState time-series to
each bolometers. The model container is the same dimensions
as GAI (3 planes: gain, offset, correlation coefficient), although
currently I just hard-wire it to remove the mean from each template,
and only a gain is fit. No multi-threading yet but it's pretty
fast. Some tests on az scans in the dark suggest that it works
very well.
applications/smurf/defaults/smurf_makemap.def | 4 +
applications/smurf/examples/dimmconfig.lis | 11 +-
applications/smurf/libsmf/Makefile.am | 1 +
applications/smurf/libsmf/smf.h.source | 4 +
applications/smurf/libsmf/smf_calcmodel_tmp.c | 283 +++++++++++++++++++++
applications/smurf/libsmf/smf_checkmem_dimm.c | 6 +
applications/smurf/libsmf/smf_model_create.c | 39 +++
applications/smurf/libsmf/smf_model_createHdr.c | 5 +
applications/smurf/libsmf/smf_model_getname.c | 4 +
applications/smurf/libsmf/smf_model_getptr.c | 4 +
applications/smurf/libsmf/smf_model_gettype.c | 6 +-
applications/smurf/libsmf/smf_typ.h | 3 +-
12 files changed, 367 insertions(+), 3 deletions(-)
commit 7f2508c51601fcdea9eb426063de2b6c67acde58
Author: Ed Chapin <[log in to unmask]>
Date: Thu Apr 21 12:44:34 2011 -0700
smurf: another typo in SC/19
applications/smurf/docs/sc19/sc19.tex | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 1f85a84adb75daf5a539d1e70be2737c32863f64
Author: David Berry <[log in to unmask]>
Date: Thu Apr 21 13:41:50 2011 +0100
smurf: Guard against errors causing segvios in sc2ast.c
Need to check strings returned by astGetC are not NULL before using them.
applications/smurf/sc2da/sc2ast.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
commit 5a0cdac58804901f45e539f8fc5e4a94668bb396
Author: Tim Jenness <[log in to unmask]>
Date: Wed Apr 20 16:28:47 2011 -1000
smurf: Do not try to get a scale size frequency when the telescope is not moving
applications/smurf/libsmf/smf_err.msg | 1 +
applications/smurf/libsmf/smf_get_padding.c | 14 +++++++++++---
applications/smurf/libsmf/smf_scale2freq.c | 10 +++++++---
3 files changed, 19 insertions(+), 6 deletions(-)
|