Index: trunk/psphot/src/psphot.h
===================================================================
--- trunk/psphot/src/psphot.h	(revision 20938)
+++ trunk/psphot/src/psphot.h	(revision 21108)
@@ -213,5 +213,5 @@
 bool psphotKapaClose ();
 bool psphotImageBackgroundCellHistogram (psVector *values, float mean, float sigma, int ix, int iy);
-bool psphotDiagnosticPlots (pmConfig *config, char *name, ...);
+bool psphotDiagnosticPlots (const pmConfig *config, const char *name, ...);
 
 bool psphotMakeFluxScale (psImage *image, psMetadata *recipe, pmPSF *psf);
@@ -222,3 +222,11 @@
 int psphotSupplementStars (psArray *stars, psArray *sources, psImageBinning *binning, int ix, int iy);
 
+
+// Create a background model for a readout
+// Essentially identical to psphotModelBackground, but with a more convenient API for outsiders.
+psImage *psphotBackgroundModel(pmReadout *ro, // Readout for which to generate background model
+                               const pmConfig *config // Configuration
+    );
+
+
 #endif
