Index: trunk/ippconfig/gpc2/ghost.model.mdc
===================================================================
--- trunk/ippconfig/gpc2/ghost.model.mdc	(revision 41350)
+++ trunk/ippconfig/gpc2/ghost.model.mdc	(revision 41367)
@@ -1,5 +1,4 @@
 # TdB20200327 ghost model fit for gpc2
 
-# These are the original linear solutions for gpc1
 GHOST.MIRROR.RAD METADATA
   NORDER_X S32 1
@@ -41,5 +40,4 @@
 END
 
-# These are the original linear solutions for gpc1
 GHOST.INNER.MAJOR METADATA
   NORDER_X S32 1
Index: trunk/ippconfig/gpc2/psastro.config
===================================================================
--- trunk/ippconfig/gpc2/psastro.config	(revision 41350)
+++ trunk/ippconfig/gpc2/psastro.config	(revision 41367)
@@ -145,4 +145,5 @@
   PHOTCODE STR g
   GHOST_MAX_MAG                   F32 -16.5
+  GLINT_MAX_MAG                   F32 -23.0
 END
 PHOTCODE.DATA METADATA
@@ -151,4 +152,5 @@
   PHOTCODE STR r
   GHOST_MAX_MAG                   F32 -20.0
+  GLINT_MAX_MAG                   F32 -23.0
 END
 PHOTCODE.DATA METADATA
@@ -157,4 +159,5 @@
   PHOTCODE STR i
   GHOST_MAX_MAG                   F32 -23.5
+  GLINT_MAX_MAG                   F32 -21.0
 END
 PHOTCODE.DATA METADATA
@@ -163,4 +166,5 @@
   PHOTCODE STR z
   GHOST_MAX_MAG                   F32 -25.0
+  GLINT_MAX_MAG                   F32 -23.0
 END
 PHOTCODE.DATA METADATA
@@ -169,4 +173,5 @@
   PHOTCODE STR y
   GHOST_MAX_MAG                   F32 -25.0
+  GLINT_MAX_MAG                   F32 -23.0
 END
 PHOTCODE.DATA METADATA
@@ -175,4 +180,5 @@
   PHOTCODE STR r
   GHOST_MAX_MAG                   F32 -23.5
+  GLINT_MAX_MAG                   F32 -21.0
 END
 
@@ -229,8 +235,10 @@
 GLINT_LENGTH_MAG_SLOPE          F32 1901.0
 GLINT_LENGTH_MAG_ZERO           F32 -16.8
-#TdB20200308: The length of glints also depends on position off the focal plane (perpendicular to pixel FPA)
+#TdB20200308: The length of glints also depends on position off the focal plane (perpendicular to pixel FPA), out to GLINT_LENGTH_POS_CUT
 #glint_length(pos) = GLINT_LENGTH_POS_SLOPE*(GLINT_LENGTH_POS_REF-pos)
 GLINT_LENGTH_POS_SLOPE          F32 0.00019
-GLINT_LENGTH_POS_REF            F32 33821
+GLINT_LENGTH_POS_REF            F32 33821.
+GLINT_LENGTH_POS_CUT            F32 30000.
+GLINT_LENGTH_MIN_FPA            F32 1500.0
 #TdB20200312: The angle that glints have depends on position along the focal plane (parallel to pixel FPA)
 #glint_angle(pos) = GLINT_ANGLE_SLOPE*(GLINT_ANGLE_POS_REF-(pos/1000))
