; Convert : converts a raw scan file to a spider file. ; Converts scan file values to densities. ; Expects the raw file to have the extension *.tif ; For ZI files only! ; X33 = overview number, where ; 1 = full sized image ; 2 = 1/2 size ; 3 = 1/4 size X33 = 1 ; overview number ; ----------- Input files -------------- FR L ../Micrographs/mic{****x11} ; input ***.tif files FR L ../filenums ; file numbers FR L ../params ; parameter file ; ----------- Output files -------------- FR L ../Micrographs/mic{****x11} ; output files in Spider format ; -------------------- END BATCH HEADER ---------------------------- UD N,x20 DO LB1 x12 = 1,x20 UD x12,x11 ; x11 is now the file number @convert_p1[x11,x33] ; parameter file ; input (reads mic***.tif) ; output (writes mic***.spi) LB1 EN D