; Combines alignment files from 'AP SH'
;
; PURPOSE: Combines all alignment files from 'AP SH' into a single file
;
; SOURCE: combine.spi
;
; MASTER COPY: /net/bali/usr1/spider/docs/techs/recon/newprogs/
;
; I/O FILES ARE SET HERE:
;
;  ------------ Input files ---------------------------------------

FR G
[defgrps]../Power_Spectra/order_defgrps ; Defocus group selection doc file

FR G
[apsh]../Alignment/align_01_***         ; Template for 'AP SH' alignment files

; --------------- Output file  -------------------------------------

FR G
[docaligncom]align_01_all  ; Combined alignment file (large)

; -------------- END BATCH HEADER ---------------------------------

DE                            ; Remove existing output doc. file
[docaligncom]

; Put header comment in output doc file
SD / PHI,THE,PSI, MIR-REF#,IMG#,INPLANE , SX,SY,NPROJ, DIFF,CCROT,INPLANE ,SX,SY
[docaligncom]

SD E
[docaligncom]

DOC COMBINE                   ; Combine contents of a series of document files
[apsh]                        ; Template for doc. file series
[defgrps]                     ; Selection doc. file with file numbers
[docaligncom]                 ; Output combined document file

EN D
;