PANIC Pipeline Script Tree

This is the script tree for the PANIC pipeline. Click on the task names to see a brief description of their use.
Tasks between brackets () are built in IRAF. Those between square brackets [] are not implemented or simply commented out. Unix commands used are indicated with "!".
Calls to p_store, pclear, keypar, parkey, prename, and trivial IRAF tasks like imcopy, imrename or display are not included.

p_chk_headers +----> (hselect)

p_fix_headers +----> (hedit)

p_mfid +----> p_fid  +----> p_loops_combine +----> p_loopavg_sep  +----> (imcombine)
|      |	     |						  +----> (hedit)
|      |	     |						  +----> [p_fix_cr]
|      |	     +----> (imcombine)
|      |	     +----> (imarith)
|      |	     +----> (imexamine)
|      |	     +----> !egrep
|      |
|      +----> p_fid_c  +----> (imarith)
|		       +----> (imexamine)
|		       +----> !egrep
|
or
|
p_fid (see above)

p_1go +
      |
   (flag = n)
      |
      +----> p_linearize +----> p_lincor_sep +----> (imarith)
      |					     +----> (imcalc)
      |					     +----> (chpixtype)
      |
      +----> p_defaults
      |
      |
      +----> p_loops_combine +----> p_loopavg_sep +----> (imcombine)
      |						  +----> (hedit)
      |						  +----> [p_fix_cr]
      |
      +----> p_dark
      |
      |
      +----> p_subdk +----> (imarith)
      |		     +----> (hedit)
      |
      +----+ p_dflat +----> p_norm     +----> (imarith)
	   |	     +----> p_edges    +----> (imreplace)
	   |	     +----> (imarith)
	   |	     +----> (imreplace)
	   |
           or
	   |
           | p_tflat +----> (imcombine)
	   |	     +----> p_norm     +----> (imarith)
	   |	     +----> p_edges    +----> (imreplace)
	   |	     +----> (imreplace)
      +----+
      |
      +----> p_flatten +----> (imarith)
      |		       +----> (hedit)
      |		       +----> (imreplace)
      |		       +----> p_edges  +----> (imreplace)
      |
   (flag = u)
      |
      +----> p_sky1 +----> (imarith)
      |		    |
      |		    +----> p_offset_level +----> (imarith)
      |		    |
      |		    +----> p_zero_edges   +----> (imreplace)
      |
      |
      +----> p_dither +----> (center)
      |		      +----> (imexamine)
      |		      +----> (tvmark)
      |		      +----> !egrep
      |		      +----> !awk
      |		      +----> PANIC_reset
      |
      |
      +----> p_stk1  +----> p_avecomb +----> (imcombine)
      |
      |
      +----> p_objmask +----> !sex
      |		       +----> !egrep
      |		       +----> !awk
      |		       +----> (tvmark)
      |		       +----> (imreplace)
      |		       +----> (imedit)
      |		       +----> (imarith)
      |
      |
      +----> p_skysub  +----> (imshift)
      |		       +----> (imarith)
      |		       +----> (imreplace)
      |		       +----> p_edges      +----> (imreplace)
      |		       +----> (head)
      |		       +----> (tail)
      |		       +----> p_offset_level +----> (imarith)
      |		       +----> p_zero_edges   +----> (imreplace)
      |
      |
      +----> p_stack  +----> (imcombine)
      |		      +----> (imexamine)
      |		      +----> !sex
      |		      +----> !egrep
      |		      +----> !awk   
      |		      +----> !paste   
      |		      +----> (tvmark)
      |		      +----> (imcentroid)
      |		      +----> (hedit)
      |
      +----> p_hchen  +----> !stack_panic
      |
   (flag = c)
      |
      +----> mk_crdlist
      |
      |
      +----> p_sky1  (see above)
      |
      |
      +----> p_dither   (see above)
      |
      |
      +----> p_stk1  (see above)
      |
      |
      +----> p_objmask  (see above)
      |
      |
      +----> p_skysub  (see above)
      |
      |
      +----> p_sky3  +----> (imarith)
      |		     +----> p_offset_level +----> (imarith)
      |		     +----> p_zero_edges   +----> (imreplace)
      |
      |
      +----> p_dither    (see above)
      |
      |
      +----> p_stack   (see above)
      |
      |
      +----> p_hchen   (see above)
      |
   (flag = s)
      |
      +----> p_sky2  +----> (imarith)
      |		     +----> p_offset_level +----> (imarith)
      |		     +----> p_zero_edges   +----> (imreplace) 
      |		     +----> p_movie  
      |
      +----> p_dither    (see above)
      |
      |
      +----> p_stk1    (see above)
      |
      |
      +----> p_std  +----> (imexamine)
      |		    +----> !awk
      |		    +----> (hedit)
      |		    +----> p_tst    +----> p_get_std_mag
      |				    +----> (tvmark)
      |				    +----> (phot)
      |				    +----> (tail)
      |				    +----> !awk
      +----> p_sort


p_2go +----> p_engr

gfolatelli@lco.cl