Index: trunk/ippconfig/cfh12k/psastro.config
===================================================================
--- trunk/ippconfig/cfh12k/psastro.config	(revision 15549)
+++ trunk/ippconfig/cfh12k/psastro.config	(revision 15632)
@@ -17,18 +17,9 @@
 PSASTRO.TWEAK.NSIGMA    F32      3
 
-# pmAstromRadiusMatch
-# use plate-scale to make this in pixels?
-PSASTRO.MATCH.RADIUS   F32    8
-
-# pmAstromMatchFit
-PSASTRO.CHIP.ORDER     S32      1  # fit order
-PSASTRO.CHIP.NITER     S32      3  # fit clipping iterations
-PSASTRO.CHIP.NSIGMA    F32      3  # fit clipping sigmas
+PSASTRO.MAX.NRAW       S32      500   # max stars accepted for fitting (0 for all)
+PSASTRO.MAX.NREF       S32      500   # max stars accepted for fitting (0 for all)
 
 PSASTRO.MAX.ERROR      F32      10.0 # max error in pixels
 PSASTRO.MIN.NSTAR      S32      10   # min fitted stars in solution
-
-PSASTRO.MAX.NRAW       S32      500   # max stars accepted for fitting (0 for all)
-PSASTRO.MAX.NREF       S32      500   # max stars accepted for fitting (0 for all)
 
 PSASTRO.MOSAIC.MAX.ERROR.N0 F32    0.90 # max allow error for valid solution (arcsec)
@@ -38,7 +29,5 @@
 
 PSASTRO.MOSAIC.RADIUS.N0    F32    8.0
-# this one is *worse* because of the residual, unfitted distortion
-# PSASTRO.MOSAIC.RADIUS.N1    F32    16 
-PSASTRO.MOSAIC.RADIUS.N1    F32    0.0 #ski re-matching at this stage: poor distortion term
+PSASTRO.MOSAIC.RADIUS.N1    F32    0.0 # do not refine the match
 PSASTRO.MOSAIC.RADIUS.N2    F32    0.0
 
@@ -51,3 +40,18 @@
 PSASTRO.MOSAIC.GRADIENT.NY    S32     4   # number of y-dir cells per chip
 
-DVO.CATDIR STR /data/alala.0/ipp/ippRefs/catdir.2mass
+# use this recipe to set a tight constraint
+PSASTRO.FINE METADATA
+  PSASTRO.MOSAIC.MAX.ERROR.N0 F32    0.50 # max allow error for valid solution (arcsec)
+  PSASTRO.MOSAIC.MAX.ERROR.N1 F32    0.40 # max allow error for valid solution (arcsec)
+  PSASTRO.MOSAIC.MAX.ERROR.N2 F32    0.20 # max allow error for valid solution (arcsec)
+  PSASTRO.MOSAIC.MAX.ERROR.N3 F32    0.10 # max allow error for valid solution (arcsec)
+
+  PSASTRO.MOSAIC.RADIUS.N0    F32    3
+  PSASTRO.MOSAIC.RADIUS.N1    F32    2
+  PSASTRO.MOSAIC.RADIUS.N2    F32    1
+
+  PSASTRO.MOSAIC.CHIP.ORDER.N0  S32      0 # fit order (-1 means use default)
+  PSASTRO.MOSAIC.CHIP.ORDER.N1  S32      0 # fit order (-1 means use default)
+  PSASTRO.MOSAIC.CHIP.ORDER.N2  S32      1 # fit order (-1 means use default)
+  PSASTRO.MOSAIC.CHIP.ORDER.N3  S32      1 # fit order (-1 means use default)
+END
