Index: branches/pap/psModules/src/camera/pmReadoutFake.h
===================================================================
--- branches/pap/psModules/src/camera/pmReadoutFake.h	(revision 23948)
+++ branches/pap/psModules/src/camera/pmReadoutFake.h	(revision 25028)
@@ -12,15 +12,32 @@
 #include <pmPSF.h>
 
+/// Generate a fake readout from vectors of position and magnitude
+bool pmReadoutFakeFromVectors(
+    pmReadout *readout,                   ///< Output readout, or NULL
+    int numCols, int numRows,             ///< Dimension of image
+    const psVector *x, const psVector *y, ///< Coordinates of sources
+    const psVector *mag,                  ///< Magnitudes of sources
+    const psVector *xOffset,              ///< x offsets for sources (source -> img), or NULL
+    const psVector *yOffset,              ///< y offsets for sources (source -> img), or NULL
+    const pmPSF *psf,                     ///< PSF for sources
+    float minFlux,                        ///< Minimum flux to bother about; for setting source radius
+    int radius,                           ///< Fixed radius for sources
+    bool circularise,                     ///< Circularise PSF model?
+    bool normalise                        ///< Normalise the peak value?
+    );
+
+
 /// Generate a fake readout from an array of sources
-bool pmReadoutFakeFromSources(pmReadout *readout, ///< Output readout, or NULL
-                              int numCols, int numRows, ///< Dimension of image
-                              const psArray *sources, ///< Array of pmSource
-                              const psVector *xOffset, ///< x offsets for sources (source -> img), or NULL
-                              const psVector *yOffset, ///< y offsets for sources (source -> img), or NULL
-                              const pmPSF *psf, ///< PSF for sources
-                              float minFlux, ///< Minimum flux to bother about; for setting source radius
-                              int radius, ///< Fixed radius for sources
-                              bool circularise, ///< Circularise PSF model?
-                              bool normalise ///< Normalise the peak value?
+bool pmReadoutFakeFromSources(
+    pmReadout *readout,                 ///< Output readout, or NULL
+    int numCols, int numRows,           ///< Dimension of image
+    const psArray *sources,             ///< Array of pmSource
+    const psVector *xOffset,            ///< x offsets for sources (source -> img), or NULL
+    const psVector *yOffset,            ///< y offsets for sources (source -> img), or NULL
+    const pmPSF *psf,                   ///< PSF for sources
+    float minFlux,                      ///< Minimum flux to bother about; for setting source radius
+    int radius,                         ///< Fixed radius for sources
+    bool circularise,                   ///< Circularise PSF model?
+    bool normalise                      ///< Normalise the peak value?
     );
 
