Index: /branches/eam_branches/ipp-pstamp-20260421/psphot/src/psphotModelBackground.c
===================================================================
--- /branches/eam_branches/ipp-pstamp-20260421/psphot/src/psphotModelBackground.c	(revision 43121)
+++ /branches/eam_branches/ipp-pstamp-20260421/psphot/src/psphotModelBackground.c	(revision 43122)
@@ -594,2 +594,16 @@
     }
 # endif
+
+void psphotSaveVector (char *filename, psVector *values) {
+
+  FILE *f = fopen (filename, "w");
+  if (!f) {
+    fprintf (stderr, "cannot open file %s\n", filename);
+    return;
+  }
+
+  int fd = fileno (f);
+  p_psVectorPrint (fd, values, "values");
+  fclose (f);
+  return;
+}
