Index: trunk/psphot/src/psphotTestArguments.c
===================================================================
--- trunk/psphot/src/psphotTestArguments.c	(revision 5672)
+++ trunk/psphot/src/psphotTestArguments.c	(revision 5980)
@@ -2,10 +2,5 @@
 static int usage ();
 
-psMetadata *psphotTestArguments (int *argc, char **argv) {
-
-  int N;
-  unsigned int Nfail;
-  int mode = PS_DATA_STRING | PS_META_REPLACE;
-  psF32 UseCoords_X, UseCoords_Y;
+void psphotTestArguments (int *argc, char **argv) {
 
   // basic pslib options
@@ -13,58 +8,12 @@
   psArgumentVerbosity (argc, argv);
 
-  // identify options in args list - these go on config 
-  bool UseCoords = false;
-  if ((N = psArgumentGet (*argc, argv, "-coords"))) {
-    UseCoords = true;
-    psArgumentRemove (N, argc, argv);
-    UseCoords_X = atof (argv[N]);
-    psArgumentRemove (N, argc, argv);
-    UseCoords_Y = atof (argv[N]);
-    psArgumentRemove (N, argc, argv);
-  }
-
-  float threshold = -1;
-  if ((N = psArgumentGet (*argc, argv, "-threshold"))) {
-    psArgumentRemove (N, argc, argv);
-    threshold = atof (argv[N]);
-    psArgumentRemove (N, argc, argv);
-  }
-
-  float fraction = 0.5;
-  if ((N = psArgumentGet (*argc, argv, "-frac"))) {
-    psArgumentRemove (N, argc, argv);
-    fraction = atof (argv[N]);
-    psArgumentRemove (N, argc, argv);
-  }
-
   if (*argc != 3) usage ();
 
-  // load config information
-  psMetadata *config = psMetadataAlloc ();
-  psMetadataAdd (config, PS_LIST_HEAD, "PSF_MODEL", PS_DATA_METADATA_MULTI, "folder for psf model entries", NULL);
-  config = psMetadataConfigParse (config, &Nfail, argv[2], FALSE);
-
-  // identify input image
-  psMetadataAdd (config, PS_LIST_HEAD, "IMAGE", mode, "", argv[1]);
-
-  mode = PS_DATA_F32 | PS_META_REPLACE;
-  psMetadataAdd (config, PS_LIST_HEAD, "TEST_THRESHOLD", mode, "", threshold);
-  psMetadataAdd (config, PS_LIST_HEAD, "TEST_FRACTION",  mode, "", fraction);
-
-  if (UseCoords) {
-    psMetadataAdd (config, PS_LIST_HEAD, "TEST_FIT_X", mode, "", UseCoords_X);
-    psMetadataAdd (config, PS_LIST_HEAD, "TEST_FIT_Y", mode, "", UseCoords_Y);
-  }
-
-  return (config);
+  return;
 }
 
 static int usage () {
 
-    fprintf (stderr, "USAGE: psphotModelTest (image.fits) (config)\n");
-    fprintf (stderr, "options: \n");
-    fprintf (stderr, "  -coords x y   : specify object center\n");
-    fprintf (stderr, "  -threshold (threshold) : (defaults to FRAC of peak\n");
-    fprintf (stderr, "  -frac (FRAC) : specify how to determine threshold\n");
+    fprintf (stderr, "USAGE: psphotModelTest (apresid.dat) (power)\n");
     exit (2);
 }
