Index: trunk/doc/ipptools/pipeline.txt
===================================================================
--- trunk/doc/ipptools/pipeline.txt	(revision 8599)
+++ trunk/doc/ipptools/pipeline.txt	(revision 8618)
@@ -232,2 +232,40 @@
 ~/ipp/helpers/detrend_create_resid.pl 1 0 850540b mc bias bias_mc_1_0.fit o_850540b.mc.fit 850540b
 ~/ipp/helpers/detrend_create_resid.pl 1 0 850541b mc bias bias_mc_1_0.fit o_850541b.mc.fit 850541b
+
+
+### List of exposures that have been residualized:
+
+price@alala:/data/alala/price/megacam>dettool -toresidexp -simple
+1 0 bias 850131b T
+1 0 bias 850132b T
+1 0 bias 850133b T
+1 0 bias 850403b T
+1 0 bias 850539b T
+1 0 bias 850540b T
+1 0 bias 850541b T
+
+### Check exposures:
+
+~/ipp/helpers/detrend_reject_imfile.pl 1 0 850131b bias
+~/ipp/helpers/detrend_reject_imfile.pl 1 0 850132b bias
+~/ipp/helpers/detrend_reject_imfile.pl 1 0 850133b bias
+~/ipp/helpers/detrend_reject_imfile.pl 1 0 850403b bias
+~/ipp/helpers/detrend_reject_imfile.pl 1 0 850539b bias
+~/ipp/helpers/detrend_reject_imfile.pl 1 0 850540b bias
+~/ipp/helpers/detrend_reject_imfile.pl 1 0 850541b bias
+
+### Need to allow ppImage to write a JPEG file from a pre-binned input.
+### Tried setting BIN1.XBIN=1,BIN2.YBIN=1 and BIN1.JPEG=TRUE, but it doesn't seem to work.
+
+
+### Get list of detrend runs to check for bad exposures:
+
+price@alala:/data/alala/price/megacam>dettool -residdetrun -simple
+1 0 bias
+
+### Do the check:
+
+~/ipp/helpers/detrend_reject_exp.pl 1 0 bias
+
+
+### And that's it.
