Index: trunk/ppSim/src/ppSimInsertStars.c
===================================================================
--- trunk/ppSim/src/ppSimInsertStars.c	(revision 34261)
+++ trunk/ppSim/src/ppSimInsertStars.c	(revision 35770)
@@ -125,5 +125,5 @@
 	// XXX set the mag & err values (should this be done in pmSourceFromModel?)
 	// XXX i should be applying the gain and the correct effective area
-	psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, 20.0, model->type);
+	psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, model->type);
 	float Area = 2.0 * M_PI * axes.major * axes.minor;
 
Index: trunk/ppSim/src/ppSimSetPSF.c
===================================================================
--- trunk/ppSim/src/ppSimSetPSF.c	(revision 34261)
+++ trunk/ppSim/src/ppSimSetPSF.c	(revision 35770)
@@ -118,4 +118,7 @@
 
 	pol = psEllipseAxesToPol (axes);
+	psEllipseAxes testaxes = psEllipsePolToAxes (pol, 0.1);
+	fprintf (stderr, "psf in axes: %f x %f @ %f\n", axes.major, axes.minor, axes.theta*PS_DEG_RAD);
+	fprintf (stderr, "psf ot axes: %f x %f @ %f\n", testaxes.major, testaxes.minor, testaxes.theta*PS_DEG_RAD);
     
 	param = psf->params->data[PM_PAR_E0];
